Class AbstractPageObjectDetails<O extends ObjectType,ODM extends ObjectDetailsModels<O>>

java.lang.Object
org.apache.wicket.Component
org.apache.wicket.MarkupContainer
org.apache.wicket.Page
org.apache.wicket.markup.html.WebPage
com.evolveum.midpoint.gui.api.page.PageAdminLTE
com.evolveum.midpoint.gui.api.page.PageBase
com.evolveum.midpoint.gui.impl.page.admin.AbstractPageObjectDetails<O,ODM>
All Implemented Interfaces:
ModelServiceLocator, Serializable, Iterable<org.apache.wicket.Component>, org.apache.wicket.event.IEventSink, org.apache.wicket.event.IEventSource, org.apache.wicket.feedback.IFeedbackContributor, org.apache.wicket.IConverterLocator, org.apache.wicket.IMetadataContext<Serializable,org.apache.wicket.Component>, org.apache.wicket.IQueueRegion, org.apache.wicket.markup.html.IHeaderContributor, org.apache.wicket.page.IManageablePage, org.apache.wicket.request.component.IRequestableComponent, org.apache.wicket.request.component.IRequestablePage, org.apache.wicket.util.IHierarchical<org.apache.wicket.Component>, org.apache.wicket.util.io.IClusterable
Direct Known Subclasses:
PageAssignmentHolderDetails, PageShadow

public abstract class AbstractPageObjectDetails<O extends ObjectType,ODM extends ObjectDetailsModels<O>> extends PageBase
See Also:
  • Field Details

    • PARAM_PANEL_ID

      public static final String PARAM_PANEL_ID
      See Also:
    • OPERATION_SAVE

      protected static final String OPERATION_SAVE
    • OPERATION_PREVIEW_CHANGES

      protected static final String OPERATION_PREVIEW_CHANGES
    • OPERATION_PREVIEW_CHANGES_WITH_DEV_CONFIG

      protected static final String OPERATION_PREVIEW_CHANGES_WITH_DEV_CONFIG
    • OPERATION_SEND_TO_SUBMIT

      protected static final String OPERATION_SEND_TO_SUBMIT
    • OPERATION_EXECUTE_ARCHETYPE_CHANGES

      protected static final String OPERATION_EXECUTE_ARCHETYPE_CHANGES
    • ID_DETAILS_VIEW

      protected static final String ID_DETAILS_VIEW
      See Also:
  • Constructor Details

    • AbstractPageObjectDetails

      public AbstractPageObjectDetails()
    • AbstractPageObjectDetails

      public AbstractPageObjectDetails(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
    • AbstractPageObjectDetails

      public AbstractPageObjectDetails(PrismObject<O> object)
    • AbstractPageObjectDetails

      protected AbstractPageObjectDetails(org.apache.wicket.request.mapper.parameter.PageParameters params, PrismObject<O> object)
  • Method Details

    • postProcessModel

      protected void postProcessModel(ODM objectDetailsModels)
    • onInitialize

      protected void onInitialize()
      Overrides:
      onInitialize in class PageBase
    • onDetach

      protected void onDetach()
      Overrides:
      onDetach in class org.apache.wicket.Page
    • isAdd

      protected boolean isAdd()
    • reloadObjectDetailsModel

      protected void reloadObjectDetailsModel(PrismObject<O> prismObject)
    • getObjectDetailsModels

      public ODM getObjectDetailsModels()
    • createObjectDetailsModels

      protected ODM createObjectDetailsModels(PrismObject<O> object)
    • createPrismObjectModel

      protected org.apache.wicket.model.LoadableDetachableModel<PrismObject<O>> createPrismObjectModel(PrismObject<O> object)
    • createPrismObjectModel

      protected org.apache.wicket.model.LoadableDetachableModel<List<PrismObject<O>>> createPrismObjectModel(List<PrismObject<UserType>> object)
    • initLayout

      protected void initLayout()
    • createDetailsFragment

      protected DetailsFragment createDetailsFragment()
    • createDetailsView

      protected DetailsFragment createDetailsView()
    • createVerticalSummaryPanel

      protected org.apache.wicket.markup.html.panel.Panel createVerticalSummaryPanel(String id, org.apache.wicket.model.IModel<O> summaryModel)
    • initInlineButtons

      protected void initInlineButtons(MidpointForm<?> form)
    • createInlineButtonsPanel

      protected InlineOperationalButtonsPanel<O> createInlineButtonsPanel(String idButtons, LoadableModel<PrismObjectWrapper<O>> objectWrapperModel)
    • afterDeletePerformed

      protected void afterDeletePerformed(org.apache.wicket.ajax.AjaxRequestTarget target)
    • onBackPerform

      protected void onBackPerform(org.apache.wicket.ajax.AjaxRequestTarget target)
    • supportNewDetailsLook

      protected boolean supportNewDetailsLook()
    • supportGenericRepository

      protected boolean supportGenericRepository()
    • initButtons

      protected void initButtons(MidpointForm form)
    • createButtonsPanel

      protected OperationalButtonsPanel<O> createButtonsPanel(String id, LoadableModel<PrismObjectWrapper<O>> wrapperModel)
    • hasUnsavedChanges

      public boolean hasUnsavedChanges(org.apache.wicket.ajax.AjaxRequestTarget target)
    • hasUnsavedChangesInWizard

      public boolean hasUnsavedChangesInWizard(org.apache.wicket.ajax.AjaxRequestTarget target)
    • savePerformed

      public void savePerformed(org.apache.wicket.ajax.AjaxRequestTarget target)
    • saveOrPreviewPerformed

      public Collection<ObjectDeltaOperation<? extends ObjectType>> saveOrPreviewPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, OperationResult result, boolean previewOnly)
    • saveOrPreviewPerformed

      public final Collection<ObjectDeltaOperation<? extends ObjectType>> saveOrPreviewPerformed(org.apache.wicket.ajax.AjaxRequestTarget target, OperationResult result, boolean previewOnly, com.evolveum.midpoint.task.api.Task task)
    • postProcessResultForWizard

      protected void postProcessResultForWizard(OperationResult result, Collection<ObjectDeltaOperation<? extends ObjectType>> executedDeltas, org.apache.wicket.ajax.AjaxRequestTarget target)
    • postProcessResult

      protected void postProcessResult(OperationResult result, Collection<ObjectDeltaOperation<? extends ObjectType>> executedDeltas, org.apache.wicket.ajax.AjaxRequestTarget target)
    • executeChanges

      protected Collection<ObjectDeltaOperation<? extends ObjectType>> executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, boolean previewOnly, ExecuteChangeOptionsDto options, com.evolveum.midpoint.task.api.Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target)
    • showResultAfterExecuteChanges

      protected void showResultAfterExecuteChanges(ObjectChangeExecutor changeExecutor, OperationResult result)
    • isShowedByWizard

      protected boolean isShowedByWizard()
    • setShowedByWizard

      protected void setShowedByWizard(boolean state)
    • noChangesToExecute

      protected boolean noChangesToExecute(Collection<ObjectDelta<? extends ObjectType>> deltas, ExecuteChangeOptionsDto options)
    • allowRedirectBack

      protected boolean allowRedirectBack()
    • getExecuteChangesOptionsDto

      protected ExecuteChangeOptionsDto getExecuteChangesOptionsDto()
    • reviveModels

      protected void reviveModels() throws SchemaException
      Throws:
      SchemaException
    • getChangeExecutor

      protected ObjectChangeExecutor getChangeExecutor()
    • initStateButtons

      protected void initStateButtons(org.apache.wicket.markup.repeater.RepeatingView stateButtonsView)
    • refresh

      public void refresh(org.apache.wicket.ajax.AjaxRequestTarget target)
    • refresh

      public void refresh(org.apache.wicket.ajax.AjaxRequestTarget target, boolean soft)
    • findDefaultConfiguration

      protected ContainerPanelConfigurationType findDefaultConfiguration()
    • initMainPanel

      protected void initMainPanel(ContainerPanelConfigurationType panelConfig, MidpointForm form)
    • getMainPanelCssClass

      protected String getMainPanelCssClass()
    • getMainPanelCssStyle

      protected String getMainPanelCssStyle()
    • initNavigation

      protected DetailsNavigationPanel initNavigation()
    • replacePanel

      public void replacePanel(ContainerPanelConfigurationType config, org.apache.wicket.ajax.AjaxRequestTarget target)
    • getOperationOptions

      protected Collection<SelectorOptions<GetOperationOptions>> getOperationOptions()
    • isEditObject

      public boolean isEditObject()
    • getObjectOidParameter

      protected String getObjectOidParameter()
    • getModel

      protected LoadableModel<PrismObjectWrapper<O>> getModel()
    • getModelPrismObject

      protected PrismObject<O> getModelPrismObject()
    • getModelObjectType

      protected O getModelObjectType()
    • getModelWrapperObject

      protected PrismObjectWrapper<O> getModelWrapperObject()
    • getPanelConfigurations

      public org.apache.wicket.model.IModel<List<ContainerPanelConfigurationType>> getPanelConfigurations()
    • getType

      public abstract Class<O> getType()
    • createSummaryPanel

      protected abstract org.apache.wicket.markup.html.panel.Panel createSummaryPanel(String id, org.apache.wicket.model.IModel<O> summaryModel)
    • getSummaryPanel

      protected org.apache.wicket.Component getSummaryPanel()
    • getOperationalButtonsPanel

      protected OperationalButtonsPanel getOperationalButtonsPanel()
    • getNavigationPanel

      public DetailsNavigationPanel getNavigationPanel()
    • getDetailsNavigationPanel

      protected org.apache.wicket.Component getDetailsNavigationPanel()
    • getPrismObject

      public PrismObject<O> getPrismObject()
    • getSummaryPanelSpecification

      protected SummaryPanelSpecificationType getSummaryPanelSpecification()
    • hideDetailsNavigationPanel

      public void hideDetailsNavigationPanel(@NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target)
    • showDetailsNavigationPanel

      public void showDetailsNavigationPanel(@NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target)
    • toggleDetailsNavigationPanelVisibility

      public void toggleDetailsNavigationPanelVisibility(@NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target)