Class DetailsPageUtil

java.lang.Object
com.evolveum.midpoint.gui.impl.util.DetailsPageUtil

public final class DetailsPageUtil extends Object
  • Field Details

  • Constructor Details

    • DetailsPageUtil

      public DetailsPageUtil()
  • Method Details

    • initNewObjectWithReference

      public static <AHT extends AssignmentHolderType> void initNewObjectWithReference(PageBase pageBase, QName type, List<ObjectReferenceType> newReferences) throws SchemaException
      Throws:
      SchemaException
    • initNewObjectWithReference

      public static <AHT extends AssignmentHolderType> void initNewObjectWithReference(PageBase pageBase, AHT assignmentHolder, List<ObjectReferenceType> newReferences)
    • dispatchToNewObject

      public static void dispatchToNewObject(@NotNull @NotNull AssignmentHolderType newObject, @NotNull @NotNull PageBase pageBase)
    • dispatchToObjectDetailsPage

      public static void dispatchToObjectDetailsPage(PrismReferenceValue objectRef, org.apache.wicket.Component component, boolean failIfUnsupported)
    • dispatchToObjectDetailsPage

      public static void dispatchToObjectDetailsPage(Referencable objectRef, org.apache.wicket.Component component, boolean failIfUnsupported)
    • dispatchToObjectDetailsPage

      public static void dispatchToObjectDetailsPage(PrismObject obj, org.apache.wicket.Component component)
    • isNewDesignEnabled

      public static boolean isNewDesignEnabled()
    • dispatchToObjectDetailsPage

      public static void dispatchToObjectDetailsPage(PrismObject obj, boolean isNewObject, org.apache.wicket.Component component)
    • dispatchToObjectDetailsPage

      public static void dispatchToObjectDetailsPage(PrismObject obj, boolean isNewObject, boolean showWizard, org.apache.wicket.Component component)
    • dispatchToObjectDetailsPage

      public static void dispatchToObjectDetailsPage(Class<? extends ObjectType> objectClass, String oid, org.apache.wicket.Component component, boolean failIfUnsupported)
    • dispatchToListPage

      public static void dispatchToListPage(Class<? extends Containerable> objectClass, String collectionViewId, org.apache.wicket.Component component, boolean failIfUnsupported)
    • redirectFromDashboardWidget

      public static void redirectFromDashboardWidget(GuiActionType action, PageBase pageBase)
    • redirectFromDashboardWidget

      public static void redirectFromDashboardWidget(GuiActionType action, org.apache.wicket.request.mapper.parameter.PageParameters params, PageBase pageBase)
    • isRedirectionTargetNotEmpty

      public static boolean isRedirectionTargetNotEmpty(GuiActionType action)
    • hasDetailsPage

      public static boolean hasDetailsPage(PrismObject<?> object)
    • hasDetailsPage

      public static boolean hasDetailsPage(Class<?> clazz)
    • getObjectDetailsPage

      public static Class<? extends PageBase> getObjectDetailsPage(Class<? extends ObjectType> type)
    • getObjectTypeForDetailsPage

      public static Class<? extends ObjectType> getObjectTypeForDetailsPage(PageBase pageType)
    • getNewlyCreatedObjectPage

      public static Class<? extends PageBase> getNewlyCreatedObjectPage(Class<? extends ObjectType> type)
    • getObjectListPage

      public static Class<? extends PageBase> getObjectListPage(Class<? extends ObjectType> type)
    • getPageHistoryDetailsPage

      public static Class<? extends PageBase> getPageHistoryDetailsPage(Class<?> page)