Class RelationUtil
java.lang.Object
com.evolveum.midpoint.gui.impl.util.RelationUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAllRelations
(ModelServiceLocator pageBase) getCategoryRelationChoices
(AreaCategoryType category, ModelServiceLocator pageBase) getCategoryRelationChoices
(AreaCategoryType category, List<RelationDefinitionType> defList) static QName
static @Nullable QName
static String
getDefaultRelationIcon
(QName name) static @NotNull QName
static @NotNull QName
static org.apache.wicket.markup.html.form.IChoiceRenderer<QName>
static RelationDefinitionType
getRelationDefinition
(QName relation) static RelationDefinitionType
getRelationDefinition
(QName relation, List<RelationDefinitionType> relations) static @NotNull List<RelationDefinitionType>
getRelationDefinitions
(ModelServiceLocator pageBase) static @NotNull String
getRelationHeaderLabelKey
(QName relation) static @Nullable String
getRelationHeaderLabelKeyIfKnown
(QName relation) static String
getRelationIcon
(QName relation, List<RelationDefinitionType> relations) static PolyString
getRelationLabel
(QName relation, List<RelationDefinitionType> relations) static String
getRelationLabelValue
(PrismContainerValueWrapper<AssignmentType> assignmentWrapper, PageBase pageBase) static String
getRelationLabelValue
(PrismReferenceValue referenceValue, PageBase pageBase) static String
getRelationLabelValue
(AssignmentType assignment, PageBase pageBase) static RelationRegistry
static RelationRegistry
static boolean
isDefaultRelation
(QName relation) static boolean
isManagerRelation
(QName relation) static boolean
isOfKind
(QName relation, RelationKindType kind) static QName
normalizeRelation
(QName relation)
-
Constructor Details
-
RelationUtil
public RelationUtil()
-
-
Method Details
-
normalizeRelation
-
isOfKind
-
getRelationRegistry
-
isManagerRelation
-
isDefaultRelation
-
getRelationLabelValue
public static String getRelationLabelValue(PrismContainerValueWrapper<AssignmentType> assignmentWrapper, PageBase pageBase) -
getRelationLabelValue
-
getRelationLabelValue
-
getDefaultRelation
-
getDefaultRelationOrFail
-
getDefaultRelationFor
-
getDefaultRelationOrFail
-
getRelationHeaderLabelKey
-
getRelationHeaderLabelKeyIfKnown
-
getRelationDefinition
public static RelationDefinitionType getRelationDefinition(QName relation, List<RelationDefinitionType> relations) -
getRelationIcon
-
getRelationLabel
-
getDefaultRelationIcon
-
getCategoryRelationChoices
public static List<QName> getCategoryRelationChoices(AreaCategoryType category, List<RelationDefinitionType> defList) -
getCategoryRelationChoices
public static List<QName> getCategoryRelationChoices(AreaCategoryType category, ModelServiceLocator pageBase) -
getAllRelations
-
getRelationDefinitions
@NotNull public static @NotNull List<RelationDefinitionType> getRelationDefinitions(ModelServiceLocator pageBase) -
getRelationDefinition
-
getStaticallyProvidedRelationRegistry
-
getRelationChoicesRenderer
public static org.apache.wicket.markup.html.form.IChoiceRenderer<QName> getRelationChoicesRenderer()
-