Class PageFocusDetails<F extends FocusType,FDM extends FocusDetailsModels<F>>
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<AH,AHDM>
com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.PageAssignmentHolderDetails<F,FDM>
com.evolveum.midpoint.gui.impl.page.admin.focus.PageFocusDetails<F,FDM>
- All Implemented Interfaces:
ModelServiceLocator
,ProgressReportingAwarePage
,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:
PageAbstractRole
,PageUser
public abstract class PageFocusDetails<F extends FocusType,FDM extends FocusDetailsModels<F>>
extends PageAssignmentHolderDetails<F,FDM>
implements ProgressReportingAwarePage
- See Also:
-
Field Summary
Fields inherited from class com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.PageAssignmentHolderDetails
ID_TEMPLATE, ID_TEMPLATE_VIEW
Fields inherited from class com.evolveum.midpoint.gui.impl.page.admin.AbstractPageObjectDetails
ID_DETAILS_VIEW, OPERATION_EXECUTE_ARCHETYPE_CHANGES, OPERATION_PREVIEW_CHANGES, OPERATION_PREVIEW_CHANGES_WITH_DEV_CONFIG, OPERATION_SAVE, OPERATION_SEND_TO_SUBMIT, PARAM_PANEL_ID
Fields inherited from class com.evolveum.midpoint.gui.api.page.PageBase
ID_CONTENT_VISIBLE, ID_FEEDBACK_CONTAINER, PARAMETER_DASHBOARD_TYPE_OID, PARAMETER_DASHBOARD_WIDGET_NAME, PARAMETER_OBJECT_COLLECTION_NAME, PARAMETER_SEARCH_BY_NAME
Fields inherited from class org.apache.wicket.Component
ENABLE, FLAG_INITIALIZED, FLAG_RESERVED1, FLAG_RESERVED2, FLAG_RESERVED3, FLAG_RESERVED4, FLAG_RESERVED5, FLAG_RESERVED8, PARENT_PATH, PATH_SEPARATOR, RENDER, RFLAG_CONTAINER_DEQUEING, RFLAG_CONTAINER_HAS_REMOVALS
-
Constructor Summary
ConstructorDescriptionPageFocusDetails
(PrismObject<F> focus) PageFocusDetails
(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addButtons
(org.apache.wicket.markup.repeater.RepeatingView repeatingView) protected boolean
protected void
collectObjectsForPreview
(Map<PrismObject<F>, ModelContext<? extends ObjectType>> modelContextMap) void
continueEditing
(org.apache.wicket.ajax.AjaxRequestTarget target) protected FocusOperationalButtonsPanel<F>
createButtonsPanel
(String id, LoadableModel<PrismObjectWrapper<F>> wrapperModel) protected FDM
createObjectDetailsModels
(PrismObject<F> object) protected Collection<ObjectDeltaOperation<? extends ObjectType>>
executeChanges
(Collection<ObjectDelta<? extends ObjectType>> deltas, boolean previewOnly, ExecuteChangeOptionsDto options, Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target) protected Collection<CompiledObjectCollectionView>
void
finishProcessing
(org.apache.wicket.ajax.AjaxRequestTarget target, boolean returningFromAsync, String processedObjectOid, Class<? extends ObjectType> processedObjectType, OperationResult result) protected ObjectChangeExecutor
protected ExecuteChangeOptionsDto
protected FocusOperationalButtonsPanel<F>
protected Collection<SelectorOptions<GetOperationOptions>>
protected ProgressPanel
protected Boolean
boolean
protected void
protected void
postProcessResult
(OperationResult result, Collection<ObjectDeltaOperation<? extends ObjectType>> executedDeltas, org.apache.wicket.ajax.AjaxRequestTarget target) void
previewPerformed
(org.apache.wicket.ajax.AjaxRequestTarget target) void
savePerformed
(org.apache.wicket.ajax.AjaxRequestTarget target) void
setReadonlyOverride
(Boolean readonlyOverride) void
setSaveOnConfigure
(boolean saveOnConfigure) startAndGetProgressPanel
(org.apache.wicket.ajax.AjaxRequestTarget target, OperationResult result) Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.PageAssignmentHolderDetails
addAdditionalButtons, afterDeletePerformed, canShowWizard, checkDeltasExitPerformed, createDetailsFragment, createObjectWizardPanelHelper, createPageTitleModel, createTemplateFragment, createTemplatePanel, createWizardFragment, exitFromWizard, getArchetypeReferencesList, getObjectCollectionName, getObjectForResolvingArchetypePolicyDisplayType, getWizardBreadcrumbs, initLayout, isApplicableTemplate, isShowByWizard, showWizard, showWizard, showWizard, showWizard, showWizardWithoutSave
Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.AbstractPageObjectDetails
createDetailsView, createInlineButtonsPanel, createPrismObjectModel, createPrismObjectModel, createSummaryPanel, createVerticalSummaryPanel, findDefaultConfiguration, getDetailsNavigationPanel, getMainPanelCssClass, getMainPanelCssStyle, getModel, getModelObjectType, getModelPrismObject, getModelWrapperObject, getNavigationPanel, getObjectDetailsModels, getObjectOidParameter, getPanelConfigurations, getPrismObject, getSummaryPanel, getSummaryPanelSpecification, getType, hasUnsavedChanges, hasUnsavedChangesInWizard, hideDetailsNavigationPanel, initButtons, initInlineButtons, initMainPanel, initNavigation, initStateButtons, isAdd, isEditObject, isShowedByWizard, navigateAction, noChangesToExecute, onBackPerform, onDetach, onInitialize, postProcessModel, postProcessResultForWizard, refresh, refresh, reloadObjectDetailsModel, replacePanel, reviveModels, saveOrPreviewPerformed, saveOrPreviewPerformed, setShowedByWizard, showDetailsNavigationPanel, showResultAfterExecuteChanges, supportGenericRepository, supportNewDetailsLook, toggleDetailsNavigationPanelVisibility
Methods inherited from class com.evolveum.midpoint.gui.api.page.PageBase
addBreadcrumb, authorize, canRedirectBack, canRedirectBack, clearBreadcrumbs, createBreadcrumb, createHeaderColorStyleModel, createMessagePanel, createPropertyModelExpression, createWebPage, determineDataLanguage, getAsyncWebProcessManager, getBreadcrumbs, getItemsPerPage, getItemsPerPage, getLastBreadcrumb, getLocale, getMainPopup, getMainPopupBodyId, getPreviousBreadcrumb, getRestartResponseException, getTitleContainer, hasSubjectRoleRelation, hideMainPopup, initContainerValuePanel, isContentVisible, isLogoLinkEnabled, isSideMenuVisible, loadFocusSelf, navigateToNext, navigateToNext, navigateToNext, onBeforeRender, pageParametersToBeRemoved, parseObject, processResult, redirectBack, redirectBack, redirectBackToBreadcrumb, redirectBackViaRestartResponseException, redirectToNotFoundPage, refreshTitle, reloadShoppingCartIcon, removeLastBreadcrumb, renderHead, replaceMainPopup, restartResponseExceptionToReload, setBreadcrumbs, setTimeZone, showMainPopup, taskAwareExecutor, updateBreadcrumbParameters
Methods inherited from class com.evolveum.midpoint.gui.api.page.PageAdminLTE
addDefaultBodyStyle, addFeedbackPanel, createAnonymousTask, createComponentPath, createEnumResourceKey, createItemWrapper, createItemWrapper, createItemWrapper, createSimpleTask, createSimpleTask, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResource, createStringResourceDefault, createStringResourceStatic, createStringResourceStatic, createStringResourceStatic, createValueWrapper, executeOptions, findAllApplicableGuiColumns, findContainerWrapperFactory, findGuiAction, findGuiColumn, findObjectPanel, findObjectWrapperFactory, findWrapperFactory, getAdminGuiConfigurationMergeManager, getAdministratorPrivileged, getApprovalsManager, getBulkActionsService, getCacheDispatcher, getCaseManager, getCaseService, getCertGuiHandlerRegistry, getCertificationService, getClock, getCompiledGuiProfile, getCorrelationService, getCounterProvider, getDashboardService, getDataProviderRegistry, getDescribe, getExpressionFactory, getFeedbackPanel, getFormValidatorRegistry, getLocalizationService, getMarkManager, getMatchingRuleRegistry, getMidpointApplication, getMidpointConfiguration, getModelAuditService, getModelDiagnosticService, getModelInteractionService, getModelObjectResolver, getModelService, getObjectOperationPolicyHelper, getOperationOptionsBuilder, getPageTask, getPageTitleBehaviour, getPageTitleModel, getPrincipal, getPrincipalFocus, getPrismContext, getQueryConverter, getRegistry, getRelationRegistry, getReportManager, getRepositoryService, getResourceSchemaRegistry, getResourceValidator, getRoleAnalysisService, getSchemaService, getSecretsProviderManager, getSecurityContextManager, getSecurityEnforcer, getSessionStorage, getSimulationResultManager, getString, getString, getSubscriptionState, getTaskManager, getTaskService, getTriggerHandlerRegistry, getWebApplicationConfiguration, initItemPanel, isAuthorized, isAuthorized, isAuthorized, isNativeRepo, runAsChecked, runPrivileged, showResult, showResult, showResult, showResult, showResult
Methods inherited from class org.apache.wicket.markup.html.WebPage
configureResponse, dirty, getMarkupType, homePageLink, onAfterRender, onRender, renderXmlDecl, reportMissingHead, setHeaders
Methods inherited from class org.apache.wicket.Page
componentChanged, componentRendered, detachModels, dirty, getAutoIndex, getId, getPageClass, getPageId, getPageParameters, getPageReference, getRenderCount, getSizeInBytes, getStatelessHint, hierarchyAsString, internalOnModelChanged, isBookmarkable, isErrorPage, isPageStateless, renderPage, setFreezePageId, setNumericId, setStatelessHint, setWasCreatedBookmarkable, toString, wasCreatedBookmarkable, wasRendered
Methods inherited from class org.apache.wicket.MarkupContainer
add, addDequeuedComponent, addOrReplace, autoAdd, canDequeueTag, contains, dequeue, dequeue, dequeuePreamble, findChildComponent, findComponentToDequeue, get, getAssociatedMarkup, getAssociatedMarkupStream, getMarkup, getRegionMarkup, internalAdd, internalInitialize, iterator, iterator, newDequeueContext, onComponentTagBody, queue, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderNext, replace, setDefaultModel, size, stream, streamChildren, toString, visitChildren, visitChildren
Methods inherited from class org.apache.wicket.Component
add, addStateChange, beforeRender, canCallListener, canCallListenerAfterExpiry, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, clearOriginalDestination, configure, continueToOriginalDestination, createConverter, debug, detach, detachModel, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getAjaxRegionMarkupId, getApplication, getBehaviorById, getBehaviorId, getBehaviors, getBehaviors, getClassRelativePath, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessages, getFlag, getInnermostModel, getInnermostModel, getLocalizer, getMarkup, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdFromMarkup, getMarkupIdImpl, getMarkupSourcingStrategy, getMarkupTag, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getRequestFlag, getResponse, getSession, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalRenderComponent, internalRenderHead, isActionAuthorized, isAuto, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isInitialized, isRenderAllowed, isRendering, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, markRendering, modelChanged, modelChanging, newMarkupSourcingStrategy, onComponentTag, onEvent, onModelChanged, onModelChanging, onReAdd, onRemove, redirectToInterceptPage, remove, remove, render, renderComponentTag, rendered, renderPart, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, send, setAuto, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setIgnoreAttributeModifier, setMarkup, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setParent, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, success, urlFor, urlFor, urlFor, urlForListener, urlForListener, visitParents, visitParents, warn, wrap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.wicket.page.IManageablePage
detach
Methods inherited from interface org.apache.wicket.IQueueRegion
dequeue, getRegionMarkup, newDequeueContext
Methods inherited from interface org.apache.wicket.request.component.IRequestableComponent
canCallListenerAfterExpiry, detach, get, getBehaviorById, getBehaviorId, getPage, getPageRelativePath
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface com.evolveum.midpoint.gui.impl.page.admin.component.ProgressReportingAwarePage
getModelInteractionService, getPrismContext, getTaskManager
-
Field Details
-
previewRequested
protected boolean previewRequested
-
-
Constructor Details
-
PageFocusDetails
public PageFocusDetails() -
PageFocusDetails
public PageFocusDetails(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters) -
PageFocusDetails
-
-
Method Details
-
onConfigure
protected void onConfigure()- Overrides:
onConfigure
in classPageBase
-
setReadonlyOverride
-
setSaveOnConfigure
public void setSaveOnConfigure(boolean saveOnConfigure) -
findAllApplicableArchetypeViews
- Overrides:
findAllApplicableArchetypeViews
in classPageAssignmentHolderDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
createButtonsPanel
protected FocusOperationalButtonsPanel<F> createButtonsPanel(String id, LoadableModel<PrismObjectWrapper<F>> wrapperModel) - Overrides:
createButtonsPanel
in classPageAssignmentHolderDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
savePerformed
public void savePerformed(org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
savePerformed
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
previewPerformed
public void previewPerformed(org.apache.wicket.ajax.AjaxRequestTarget target) -
postProcessResult
protected void postProcessResult(OperationResult result, Collection<ObjectDeltaOperation<? extends ObjectType>> executedDeltas, org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
postProcessResult
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
executeChanges
protected Collection<ObjectDeltaOperation<? extends ObjectType>> executeChanges(Collection<ObjectDelta<? extends ObjectType>> deltas, boolean previewOnly, ExecuteChangeOptionsDto options, Task task, OperationResult result, org.apache.wicket.ajax.AjaxRequestTarget target) - Overrides:
executeChanges
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
allowRedirectBack
protected boolean allowRedirectBack()- Overrides:
allowRedirectBack
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
getProgressPanel
-
getChangeExecutor
- Overrides:
getChangeExecutor
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
createObjectDetailsModels
- Overrides:
createObjectDetailsModels
in classPageAssignmentHolderDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
getReadonlyOverride
-
startAndGetProgressPanel
public ProgressPanel startAndGetProgressPanel(org.apache.wicket.ajax.AjaxRequestTarget target, OperationResult result) - Specified by:
startAndGetProgressPanel
in interfaceProgressReportingAwarePage
-
finishProcessing
public void finishProcessing(org.apache.wicket.ajax.AjaxRequestTarget target, boolean returningFromAsync, String processedObjectOid, Class<? extends ObjectType> processedObjectType, OperationResult result) - Specified by:
finishProcessing
in interfaceProgressReportingAwarePage
-
getOperationalButtonsPanel
- Overrides:
getOperationalButtonsPanel
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
getExecuteChangesOptionsDto
- Overrides:
getExecuteChangesOptionsDto
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
collectObjectsForPreview
protected void collectObjectsForPreview(Map<PrismObject<F>, ModelContext<? extends ObjectType>> modelContextMap) -
continueEditing
public void continueEditing(org.apache.wicket.ajax.AjaxRequestTarget target) - Specified by:
continueEditing
in interfaceProgressReportingAwarePage
-
getOperationOptions
- Overrides:
getOperationOptions
in classAbstractPageObjectDetails<F extends FocusType,
FDM extends FocusDetailsModels<F>>
-
isLoggedInFocusPage
public boolean isLoggedInFocusPage() -
addButtons
protected void addButtons(org.apache.wicket.markup.repeater.RepeatingView repeatingView)
-