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

public abstract class PageBase extends PageAdminLTE
Author:
lazyman, semancik
See Also:
  • Field Details

  • 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 interface org.apache.wicket.markup.html.IHeaderContributor
      Overrides:
      renderHead in class org.apache.wicket.Component
    • onInitialize

      protected void onInitialize()
      Overrides:
      onInitialize in class PageAdminLTE
    • onConfigure

      protected void onConfigure()
      Overrides:
      onConfigure in class org.apache.wicket.Page
    • createBreadcrumb

      protected void createBreadcrumb()
    • pageParametersToBeRemoved

      protected List<String> pageParametersToBeRemoved()
    • updateBreadcrumbParameters

      public void updateBreadcrumbParameters(String key, Object value)
    • authorize

      Throws:
      SecurityViolationException
      SchemaException
      ObjectNotFoundException
      ExpressionEvaluationException
      CommunicationException
      ConfigurationException
    • hasSubjectRoleRelation

      public boolean hasSubjectRoleRelation(String oid, List<QName> subjectRelations)
    • onBeforeRender

      protected void onBeforeRender()
      Overrides:
      onBeforeRender in class org.apache.wicket.Page
    • isContentVisible

      protected boolean isContentVisible()
    • createHeaderColorStyleModel

      public static org.apache.wicket.behavior.AttributeAppender createHeaderColorStyleModel(boolean checkSkinUsage)
    • getMainPopup

      public MainPopupDialog getMainPopup()
    • getMainPopupBodyId

      public String getMainPopupBodyId()
    • replaceMainPopup

      public void replaceMainPopup(Popupable popupable, org.apache.wicket.ajax.AjaxRequestTarget target)
    • showMainPopup

      public void showMainPopup(Popupable popupable, org.apache.wicket.ajax.AjaxRequestTarget target)
    • hideMainPopup

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

      protected boolean isSideMenuVisible()
    • createPageTitleModel

      protected org.apache.wicket.model.IModel<String> createPageTitleModel()
      Overrides:
      createPageTitleModel in class PageAdminLTE
    • 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

      public String createPropertyModelExpression(String... components)
    • 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

      public long getItemsPerPage(UserProfileStorage.TableId tableId)
    • getItemsPerPage

      public long getItemsPerPage(String tableIdName)
    • canRedirectBack

      public boolean canRedirectBack()
    • canRedirectBack

      public boolean canRedirectBack(int backStep)
      Checks if it's possible to make backStep steps back.
    • redirectBack

      public Breadcrumb redirectBack()
    • redirectToNotFoundPage

      public void redirectToNotFoundPage()
      Overrides:
      redirectToNotFoundPage in class PageAdminLTE
    • redirectBack

      public Breadcrumb redirectBack(int backStep)
      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

      public void redirectBackToBreadcrumb(Breadcrumb breadcrumb)
    • removeLastBreadcrumb

      public void removeLastBreadcrumb()
    • setTimeZone

      protected void setTimeZone()
    • setBreadcrumbs

      public void setBreadcrumbs(List<Breadcrumb> breadcrumbs)
    • getBreadcrumbs

      public List<Breadcrumb> getBreadcrumbs()
    • addBreadcrumb

      public void addBreadcrumb(Breadcrumb breadcrumb)
    • getLastBreadcrumb

      public Breadcrumb getLastBreadcrumb()
    • getPreviousBreadcrumb

      public Breadcrumb getPreviousBreadcrumb()
    • clearBreadcrumbs

      public void clearBreadcrumbs()
    • isLogoLinkEnabled

      public boolean isLogoLinkEnabled()
    • determineDataLanguage

      public String determineDataLanguage()
    • reloadShoppingCartIcon

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

      public AsyncWebProcessManager getAsyncWebProcessManager()
    • getLocale

      public Locale getLocale()
      Specified by:
      getLocale in interface ModelServiceLocator
      Overrides:
      getLocale in class org.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

      public PrismObject<? extends FocusType> 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)