Class PageBase
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
- 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:
AbstractPageObjectDetails
,PageAccountActivation
,PageAdmin
,PageAttorneySelection
,PageAuditLogDetails
,PageAuditLogViewer
,PageError
,PageFocusPreviewChanges
,PageMergeObjects
,PageOperationResult
,PageSelf
,PageSelfConsents
,PageSelfProfile
,PageSystemConfiguration
,PageTestNoAuthorizations
- Author:
- lazyman, semancik
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBreadcrumb
(Breadcrumb breadcrumb) <O extends ObjectType,
T extends ObjectType>
voidauthorize
(String operationUrl, AuthorizationPhaseType phase, PrismObject<O> object, ObjectDelta<O> delta, PrismObject<T> target, OperationResult result) boolean
boolean
canRedirectBack
(int backStep) Checks if it's possible to make backStep steps back.void
protected void
static org.apache.wicket.behavior.AttributeAppender
createHeaderColorStyleModel
(boolean checkSkinUsage) protected MessagePanel
createMessagePanel
(String panelId, MessagePanel.MessagePanelType type, String message, Object... params) protected org.apache.wicket.model.IModel<String>
createPropertyModelExpression
(String... components) org.apache.wicket.markup.html.WebPage
createWebPage
(Class<? extends org.apache.wicket.markup.html.WebPage> pageType, org.apache.wicket.request.mapper.parameter.PageParameters params) long
long
getItemsPerPage
(String tableIdName) org.apache.wicket.RestartResponseException
getRestartResponseException
(Class<? extends org.apache.wicket.Page> defaultBackPageClass) org.apache.wicket.markup.html.WebMarkupContainer
boolean
hasSubjectRoleRelation
(String oid, List<QName> subjectRelations) void
hideMainPopup
(org.apache.wicket.ajax.AjaxRequestTarget target) <C extends Containerable>
org.apache.wicket.markup.html.panel.PanelinitContainerValuePanel
(String id, org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> model, ItemPanelSettings settings) protected boolean
boolean
protected boolean
PrismObject<? extends FocusType>
void
navigateToNext
(Class<? extends org.apache.wicket.markup.html.WebPage> page) void
navigateToNext
(Class<? extends org.apache.wicket.markup.html.WebPage> pageType, org.apache.wicket.request.mapper.parameter.PageParameters params) void
navigateToNext
(org.apache.wicket.markup.html.WebPage page) protected void
protected void
protected void
<T> void
parseObject
(String lexicalRepresentation, Holder<T> objectHolder, String language, boolean validateSchema, boolean skipChecks, Class<T> clazz, OperationResult result) void
processResult
(org.apache.wicket.ajax.AjaxRequestTarget target, OperationResult result, boolean showSuccess) redirectBack
(int backStep) void
redirectBackToBreadcrumb
(Breadcrumb breadcrumb) org.apache.wicket.RestartResponseException
Returns exception, always use with `throw`.void
void
refreshTitle
(org.apache.wicket.ajax.AjaxRequestTarget target) void
reloadShoppingCartIcon
(org.apache.wicket.ajax.AjaxRequestTarget target) void
void
renderHead
(org.apache.wicket.markup.head.IHeaderResponse response) void
replaceMainPopup
(Popupable popupable, org.apache.wicket.ajax.AjaxRequestTarget target) org.apache.wicket.RestartResponseException
Returns exception, always use with `throw`.void
setBreadcrumbs
(List<Breadcrumb> breadcrumbs) protected void
void
showMainPopup
(Popupable popupable, org.apache.wicket.ajax.AjaxRequestTarget target) taskAwareExecutor
(@NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @NotNull String operationName) void
updateBreadcrumbParameters
(String key, Object value) 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, onDetach, 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
-
Field Details
-
ID_CONTENT_VISIBLE
- See Also:
-
ID_FEEDBACK_CONTAINER
- See Also:
-
PARAMETER_OBJECT_COLLECTION_NAME
- See Also:
-
PARAMETER_DASHBOARD_TYPE_OID
- See Also:
-
PARAMETER_DASHBOARD_WIDGET_NAME
- See Also:
-
PARAMETER_SEARCH_BY_NAME
- See Also:
-
-
Constructor Details
-
PageBase
public PageBase(org.apache.wicket.request.mapper.parameter.PageParameters parameters) -
PageBase
public PageBase()
-
-
Method Details
-
renderHead
public void renderHead(org.apache.wicket.markup.head.IHeaderResponse response) - Specified by:
renderHead
in interfaceorg.apache.wicket.markup.html.IHeaderContributor
- Overrides:
renderHead
in classorg.apache.wicket.Component
-
onInitialize
protected void onInitialize()- Overrides:
onInitialize
in classPageAdminLTE
-
onConfigure
protected void onConfigure()- Overrides:
onConfigure
in classorg.apache.wicket.Page
-
createBreadcrumb
protected void createBreadcrumb() -
pageParametersToBeRemoved
-
updateBreadcrumbParameters
-
authorize
public <O extends ObjectType,T extends ObjectType> void authorize(String operationUrl, AuthorizationPhaseType phase, PrismObject<O> object, ObjectDelta<O> delta, PrismObject<T> target, OperationResult result) throws SecurityViolationException, SchemaException, ObjectNotFoundException, ExpressionEvaluationException, CommunicationException, ConfigurationException -
hasSubjectRoleRelation
-
onBeforeRender
protected void onBeforeRender()- Overrides:
onBeforeRender
in classorg.apache.wicket.Page
-
isContentVisible
protected boolean isContentVisible() -
createHeaderColorStyleModel
public static org.apache.wicket.behavior.AttributeAppender createHeaderColorStyleModel(boolean checkSkinUsage) -
getMainPopup
-
getMainPopupBodyId
-
replaceMainPopup
-
showMainPopup
-
hideMainPopup
public void hideMainPopup(org.apache.wicket.ajax.AjaxRequestTarget target) -
isSideMenuVisible
protected boolean isSideMenuVisible() -
createPageTitleModel
- Overrides:
createPageTitleModel
in classPageAdminLTE
-
refreshTitle
public void refreshTitle(org.apache.wicket.ajax.AjaxRequestTarget target) -
getTitleContainer
public org.apache.wicket.markup.html.WebMarkupContainer getTitleContainer() -
processResult
public void processResult(org.apache.wicket.ajax.AjaxRequestTarget target, OperationResult result, boolean showSuccess) -
createPropertyModelExpression
-
getRestartResponseException
public org.apache.wicket.RestartResponseException getRestartResponseException(Class<? extends org.apache.wicket.Page> defaultBackPageClass) -
parseObject
public <T> void parseObject(String lexicalRepresentation, Holder<T> objectHolder, String language, boolean validateSchema, boolean skipChecks, Class<T> clazz, OperationResult result) -
getItemsPerPage
-
getItemsPerPage
-
canRedirectBack
public boolean canRedirectBack() -
canRedirectBack
public boolean canRedirectBack(int backStep) Checks if it's possible to make backStep steps back. -
redirectBack
-
redirectToNotFoundPage
public void redirectToNotFoundPage()- Overrides:
redirectToNotFoundPage
in classPageAdminLTE
-
redirectBack
- Parameters:
backStep
- redirects back to page with backStep step
-
createWebPage
public org.apache.wicket.markup.html.WebPage createWebPage(Class<? extends org.apache.wicket.markup.html.WebPage> pageType, org.apache.wicket.request.mapper.parameter.PageParameters params) -
redirectBackViaRestartResponseException
public org.apache.wicket.RestartResponseException redirectBackViaRestartResponseException()Returns exception, always use with `throw`. -
restartResponseExceptionToReload
public org.apache.wicket.RestartResponseException restartResponseExceptionToReload()Returns exception, always use with `throw`. -
redirectBackToBreadcrumb
-
removeLastBreadcrumb
public void removeLastBreadcrumb() -
setTimeZone
protected void setTimeZone() -
setBreadcrumbs
-
getBreadcrumbs
-
addBreadcrumb
-
getLastBreadcrumb
-
getPreviousBreadcrumb
-
clearBreadcrumbs
public void clearBreadcrumbs() -
isLogoLinkEnabled
public boolean isLogoLinkEnabled() -
determineDataLanguage
-
reloadShoppingCartIcon
public void reloadShoppingCartIcon(org.apache.wicket.ajax.AjaxRequestTarget target) -
getAsyncWebProcessManager
-
getLocale
- Specified by:
getLocale
in interfaceModelServiceLocator
- Overrides:
getLocale
in classorg.apache.wicket.Component
-
initContainerValuePanel
public <C extends Containerable> org.apache.wicket.markup.html.panel.Panel initContainerValuePanel(String id, org.apache.wicket.model.IModel<PrismContainerValueWrapper<C>> model, ItemPanelSettings settings) -
loadFocusSelf
-
createMessagePanel
protected MessagePanel createMessagePanel(String panelId, MessagePanel.MessagePanelType type, String message, Object... params) -
taskAwareExecutor
public TaskAwareExecutor taskAwareExecutor(@NotNull @NotNull org.apache.wicket.ajax.AjaxRequestTarget target, @NotNull @NotNull String operationName)
-