Interface DetailView<E>

Type Parameters:
E - type of entity
All Superinterfaces:
ChangeTracker
All Known Implementing Classes:
AdditionalBusinessDayDetailView, AssignmentDetailsPropertiesFragment, BusinessCalendarDetailView, CandidateGroupsEditView, CandidateUsersEditView, CategoryAttributesDetailView, CategoryDetailView, ContentStorageDetailView, DmnDecisionTableDetailView, EmailAttachmentEdit, EntityAttributeEdit, EntityAttributeResourcePolicyModelDetailView, EntityInspectorDetailView, EntityResourcePolicyModelDetailView, ErrorDefinitionEdit, ErrorRefPropertiesFragment, EventListenerEdit, ExecutionListenerEdit, ExtensionPropertyEdit, FieldEdit, FilterConditionDetailView, FormFieldEdit, FormOutcomeEdit, FormParamEdit, FullTextFilterConditionDetailView, GraphQLResourcePolicyModelDetailView, GroupFilterConditionDetailView, HitPolicySelectView, HolidayDetailView, InAppNotificationDetailView, InOutBindingModelEdit, InputDefinitionDetailView, InputEntryDetailView, JobDataDetailView, JobModelDetailView, JpqlFilterConditionDetailView, JpqlParameterEdit, LogicalFilterConditionDetailView, MBeanAttributeDetailView, MBeanInfoDetailView, MenuResourcePolicyModelDetailView, MessageDefinitionEdit, MultiInstanceLoopCharacteristicsPropertiesFragment, OutputDefinitionDetailView, ProcessDefinitionDetailView, ProcessInstanceDetailView, ProcessVariableEdit, PropertyFilterConditionDetailView, QueryParameterDetailView, ReportDetailView, ReportGroupDetailView, ReportParameterDetailView, ReportRegionWizardDetailView, ReportTemplateDetailView, ReportValueFormatDetailView, ResourcePolicyModelDetailView, ResourceRoleModelDetailView, RowLevelPolicyModelDetailView, RowLevelRoleModelDetailView, ScheduledBusinessDayDetailView, ScriptEditor, SignalDefinitionEdit, SpecificResourcePolicyModelDetailView, StandardDetailView, TaskListenerEdit, TenantDetailView, TriggerModelDetailView, UiComponentResourcePolicyModelDetailView, UserGroupDetailView, UserSubstitutionDetailView, VariableInstanceDataDetail, ViewResourcePolicyModelDetailView, WebdavDocumentCollectionDetailView, WebdavShowDocumentVersionsDetailView

public interface DetailView<E> extends ChangeTracker
Interface of views that display an entity instance and can save changes made by the user.
  • Method Details

    • save

      Saves changes.
    • closeWithSave

      OperationResult closeWithSave()
      Saves changes and closes the view.
    • closeWithDiscard

      OperationResult closeWithDiscard()
      Discards changes and closes the view.
    • getEditedEntity

      E getEditedEntity()
      Returns:
      currently edited entity instance
      Throws:
      IllegalStateException - if the edited entity isn't initialized yet, for example in View.InitEvent
    • getEditedEntityOrNull

      @Nullable E getEditedEntityOrNull()
      Returns:
      currently edited entity instance or null if not set
    • setEntityToEdit

      void setEntityToEdit(E entity)
      Sets entity instance to the view.
      Parameters:
      entity - entity to edit
    • getLockStatus

      LockStatus getLockStatus()
      Returns:
      lock status of the currently edited entity instance. Possible variants:
    • isReloadSaved

      boolean isReloadSaved()
      Returns:
      true if edited entity should be reloaded after closeWithSave action, false otherwise
    • setReloadSaved

      void setReloadSaved(boolean reloadSaved)
      Sets whether edited entity should be reloaded after closeWithSave action.
      Parameters:
      reloadSaved - flag indicating whether edited entity should be reloaded after closeWithSave action