Class DetailsPageUtil
java.lang.Object
com.evolveum.midpoint.gui.impl.util.DetailsPageUtil
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<Class<? extends ObjectType>,
Class<? extends PageBase>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
dispatchToListPage
(Class<? extends Containerable> objectClass, String collectionViewId, org.apache.wicket.Component component, boolean failIfUnsupported) static void
dispatchToNewObject
(@NotNull AssignmentHolderType newObject, @NotNull PageBase pageBase) static void
dispatchToObjectDetailsPage
(PrismObject obj, boolean isNewObject, org.apache.wicket.Component component) static void
dispatchToObjectDetailsPage
(PrismObject obj, org.apache.wicket.Component component) static void
dispatchToObjectDetailsPage
(PrismReferenceValue objectRef, org.apache.wicket.Component component, boolean failIfUnsupported) static void
dispatchToObjectDetailsPage
(Referencable objectRef, org.apache.wicket.Component component, boolean failIfUnsupported) static void
dispatchToObjectDetailsPage
(Class<? extends ObjectType> objectClass, String oid, org.apache.wicket.Component component, boolean failIfUnsupported) getNewlyCreatedObjectPage
(Class<? extends ObjectType> type) getObjectDetailsPage
(Class<? extends ObjectType> type) getObjectListPage
(Class<? extends ObjectType> type) static Class<? extends ObjectType>
getObjectTypeForDetailsPage
(PageBase pageType) getPageHistoryDetailsPage
(Class<?> page) static boolean
hasDetailsPage
(PrismObject<?> object) static boolean
hasDetailsPage
(Class<?> clazz) static <AHT extends AssignmentHolderType>
voidinitNewObjectWithReference
(PageBase pageBase, AHT assignmentHolder, List<ObjectReferenceType> newReferences) static <AHT extends AssignmentHolderType>
voidinitNewObjectWithReference
(PageBase pageBase, QName type, List<ObjectReferenceType> newReferences) static boolean
static boolean
static void
redirectFromDashboardWidget
(GuiActionType action, PageBase pageBase)
-
Field Details
-
OBJECT_DETAILS_PAGE_MAP
public static final Map<Class<? extends ObjectType>,Class<? extends PageBase>> OBJECT_DETAILS_PAGE_MAP -
OBJECT_LIST_PAGE_MAP
-
OBJECT_HISTORY_PAGE_MAP
-
-
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(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
-
isRedirectionTargetNotEmpty
-
hasDetailsPage
-
hasDetailsPage
-
getObjectDetailsPage
-
getObjectTypeForDetailsPage
-
getNewlyCreatedObjectPage
-
getObjectListPage
-
getPageHistoryDetailsPage
-