Class PageResource
- 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<ResourceType,ResourceDetailsModel>
-
- com.evolveum.midpoint.gui.impl.page.admin.resource.PageResource
-
- 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
public class PageResource extends PageAssignmentHolderDetails<ResourceType,ResourceDetailsModel>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.gui.impl.page.admin.AbstractPageObjectDetails
ID_DETAILS_VIEW, OPERATION_EXECUTE_ARCHETYPE_CHANGES, OPERATION_PREVIEW_CHANGES, OPERATION_SAVE, OPERATION_SEND_TO_SUBMIT, PARAM_PANEL_ID
-
Fields inherited from class com.evolveum.midpoint.gui.api.page.PageBase
ID_FEEDBACK_CONTAINER, PARAMETER_DASHBOARD_TYPE_OID, PARAMETER_DASHBOARD_WIDGET_NAME, PARAMETER_OBJECT_COLLECTION_NAME, PARAMETER_SEARCH_BY_NAME
-
-
Constructor Summary
Constructors Constructor Description PageResource(PrismObject<ResourceType> resource)
PageResource(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceOperationalButtonsPanel
createButtonsPanel(String id, LoadableModel<PrismObjectWrapper<ResourceType>> wrapperModel)
protected ResourceDetailsModel
createObjectDetailsModels(PrismObject<ResourceType> object)
protected org.apache.wicket.markup.html.panel.Panel
createSummaryPanel(String id, org.apache.wicket.model.IModel<ResourceType> summaryModel)
protected org.apache.wicket.markup.html.WebMarkupContainer
createTemplatePanel(String id)
protected Collection<SelectorOptions<GetOperationOptions>>
getOperationOptions()
Class<ResourceType>
getType()
List<Breadcrumb>
getWizardBreadcrumbs()
protected boolean
isApplicableTemplate()
protected void
postProcessResult(OperationResult result, Collection<ObjectDeltaOperation<? extends ObjectType>> executedDeltas, org.apache.wicket.ajax.AjaxRequestTarget target)
protected void
recordNoChangesWarning(OperationResult result)
void
showActivationsWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
void
showAssociationsWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
void
showAttributeMappingWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
void
showCapabilitiesWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
void
showCorrelationWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
void
showCredentialsWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
void
showObjectTypeWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
protected void
showResultAfterExecuteChanges(ObjectChangeExecutor changeExecutor, OperationResult result)
protected void
showResultNoChangesWarning(OperationResult result)
void
showSynchronizationWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.assignmentholder.PageAssignmentHolderDetails
createPageTitleModel, createTemplateFragment, findAllApplicableArchetypeViews, getArchetypeReferencesList, initLayout
-
Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.AbstractPageObjectDetails
allowRedirectBack, createDetailsFragment, createPrismObjectModel, executeChanges, getChangeExecutor, getExecuteChangesOptionsDto, getModel, getModelObjectType, getModelPrismObject, getModelWrapperObject, getObjectDetailsModels, getObjectOidParameter, getOperationalButtonsPanel, getPanelConfigurations, getPrismObject, getSummaryPanel, getSummaryPanelSpecification, hasUnsavedChanges, initStateButtons, isAdd, isEditObject, noChangesToExecute, onDetach, refresh, refresh, reloadObjectDetailsModel, replacePanel, reviveModels, saveOrPreviewPerformed, saveOrPreviewPerformed, savePerformed
-
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, isLogoLinkEnabled, isSideMenuVisible, loadFocusSelf, navigateToNext, navigateToNext, navigateToNext, onBeforeRender, onConfigure, onInitialize, parseObject, processResult, redirectBack, redirectBack, redirectBackToBreadcrumb, redirectBackViaRestartResponseException, redirectToNotFoundPage, refreshTitle, reloadShoppingCartIcon, restartResponseExceptionToReload, setBreadcrumbs, setTimeZone, showMainPopup, 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, createValueWrapper, executeOptions, findContainerWrapperFactory, findObjectPanel, findObjectWrapperFactory, findWrapperFactory, getAdminGuiConfigurationMergeManager, getAdministratorPrivileged, getApprovalsManager, getCacheDispatcher, getCaseManager, getCaseService, getCertificationService, getClock, getCompiledGuiProfile, getCorrelationService, getCounterProvider, getDashboardService, getDataProviderRegistry, getDescribe, getExpressionFactory, getFeedbackPanel, getFormValidatorRegistry, getLocalizationService, getMatchingRuleRegistry, getMidpointApplication, getMidpointConfiguration, getModelAuditService, getModelDiagnosticService, getModelInteractionService, getModelObjectResolver, getModelService, getOperationOptionsBuilder, getPageTask, getPageTitleModel, getPrincipal, getPrincipalFocus, getPrismContext, getQueryConverter, getRegistry, getRelationRegistry, getReportManager, getRepositoryService, getResourceValidator, getSchemaService, getScriptingService, getSecurityContextManager, getSecurityEnforcer, getSessionStorage, getString, getTaskManager, getTaskService, getWebApplicationConfiguration, initItemPanel, isAuthorized, isAuthorized, isAuthorized, isNativeRepo, runAsChecked, runPrivileged, 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, 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, renderHead, 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.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
-
-
-
-
Constructor Detail
-
PageResource
public PageResource(org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
-
PageResource
public PageResource(PrismObject<ResourceType> resource)
-
-
Method Detail
-
getType
public Class<ResourceType> getType()
- Specified by:
getType
in classAbstractPageObjectDetails<ResourceType,ResourceDetailsModel>
-
isApplicableTemplate
protected boolean isApplicableTemplate()
- Overrides:
isApplicableTemplate
in classPageAssignmentHolderDetails<ResourceType,ResourceDetailsModel>
-
createTemplatePanel
protected org.apache.wicket.markup.html.WebMarkupContainer createTemplatePanel(String id)
- Overrides:
createTemplatePanel
in classPageAssignmentHolderDetails<ResourceType,ResourceDetailsModel>
-
showResultAfterExecuteChanges
protected void showResultAfterExecuteChanges(ObjectChangeExecutor changeExecutor, OperationResult result)
- Overrides:
showResultAfterExecuteChanges
in classAbstractPageObjectDetails<ResourceType,ResourceDetailsModel>
-
postProcessResult
protected void postProcessResult(OperationResult result, Collection<ObjectDeltaOperation<? extends ObjectType>> executedDeltas, org.apache.wicket.ajax.AjaxRequestTarget target)
- Overrides:
postProcessResult
in classAbstractPageObjectDetails<ResourceType,ResourceDetailsModel>
-
createSummaryPanel
protected org.apache.wicket.markup.html.panel.Panel createSummaryPanel(String id, org.apache.wicket.model.IModel<ResourceType> summaryModel)
- Specified by:
createSummaryPanel
in classAbstractPageObjectDetails<ResourceType,ResourceDetailsModel>
-
createButtonsPanel
protected ResourceOperationalButtonsPanel createButtonsPanel(String id, LoadableModel<PrismObjectWrapper<ResourceType>> wrapperModel)
- Overrides:
createButtonsPanel
in classPageAssignmentHolderDetails<ResourceType,ResourceDetailsModel>
-
createObjectDetailsModels
protected ResourceDetailsModel createObjectDetailsModels(PrismObject<ResourceType> object)
- Overrides:
createObjectDetailsModels
in classPageAssignmentHolderDetails<ResourceType,ResourceDetailsModel>
-
getOperationOptions
protected Collection<SelectorOptions<GetOperationOptions>> getOperationOptions()
- Overrides:
getOperationOptions
in classAbstractPageObjectDetails<ResourceType,ResourceDetailsModel>
-
showSynchronizationWizard
public void showSynchronizationWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
showCorrelationWizard
public void showCorrelationWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
showCapabilitiesWizard
public void showCapabilitiesWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
showCredentialsWizard
public void showCredentialsWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
showActivationsWizard
public void showActivationsWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
showAssociationsWizard
public void showAssociationsWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
showObjectTypeWizard
public void showObjectTypeWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
showAttributeMappingWizard
public void showAttributeMappingWizard(org.apache.wicket.ajax.AjaxRequestTarget target, org.apache.wicket.model.IModel<PrismContainerValueWrapper<ResourceObjectTypeDefinitionType>> valueModel)
-
getWizardBreadcrumbs
public List<Breadcrumb> getWizardBreadcrumbs()
-
recordNoChangesWarning
protected void recordNoChangesWarning(OperationResult result)
- Overrides:
recordNoChangesWarning
in classAbstractPageObjectDetails<ResourceType,ResourceDetailsModel>
-
showResultNoChangesWarning
protected void showResultNoChangesWarning(OperationResult result)
- Overrides:
showResultNoChangesWarning
in classAbstractPageObjectDetails<ResourceType,ResourceDetailsModel>
-
-