Class AssignmentsUtil
java.lang.Object
com.evolveum.midpoint.web.component.assignment.AssignmentsUtil
Created by honchar.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.wicket.model.IModel<String>
createActivationTitleModel
(ActivationType activationType, PageBase basePanel) static org.apache.wicket.model.IModel<String>
createActivationTitleModelExperimental
(AssignmentType assignmentType, Function<ActivationStatusType, String> transformStatusLambda, BasePanel basePanel) static org.apache.wicket.model.IModel<String>
static org.apache.wicket.model.IModel<String>
static org.apache.wicket.model.IModel<String>
createConsentActivationTitleModel
(org.apache.wicket.model.IModel<AssignmentType> model, BasePanel basePanel) static org.apache.wicket.model.IModel<Date>
createDateModel
(org.apache.wicket.model.IModel<XMLGregorianCalendar> model) static String
getAssignmentSpecificInfoLabel
(AssignmentType assignmentType, PageBase pageBase) getAssignmentType
(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper) getAssignmentType
(AssignmentType assignment) static <AR extends AbstractRoleType>
org.apache.wicket.model.IModel<String>getIdentifierLabelModel
(AssignmentType assignment, PageBase pageBase) static String
getName
(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper, PageBase pageBase) static String
getName
(AssignmentType assignment, PageBase pageBase) static String
getNameFromConstruction
(ConstructionType construction, boolean useObjectType, PageBase pageBase) static String
getObjectTypeFromConstruction
(ConstructionType construction, PageBase pageBase) static QName
getTargetType
(AssignmentType assignment) static AssignmentEditorDtoType
getType
(AssignmentType assignment) static boolean
isArchetypeAssignment
(AssignmentType assignment) static boolean
isAssignmentRelevant
(AssignmentType assignment) static boolean
isConsentAssignment
(AssignmentType assignment) static int
loadAssignmentsLimit
(OperationResult result, PageBase pageBase) static <F extends FocusType>
PrismObject<F>loadTargetObject
(AssignmentType assignmentType, PageBase pageBase)
-
Constructor Details
-
AssignmentsUtil
public AssignmentsUtil()
-
-
Method Details
-
getAssignmentType
public static AssignmentsUtil.AssignmentTypeType getAssignmentType(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper) -
getAssignmentType
-
createActivationTitleModel
public static org.apache.wicket.model.IModel<String> createActivationTitleModel(ActivationType activationType, PageBase basePanel) -
createActivationTitleModelExperimental
public static org.apache.wicket.model.IModel<String> createActivationTitleModelExperimental(AssignmentType assignmentType, Function<ActivationStatusType, String> transformStatusLambda, BasePanel basePanel) -
createConsentActivationTitleModel
public static org.apache.wicket.model.IModel<String> createConsentActivationTitleModel(org.apache.wicket.model.IModel<AssignmentType> model, BasePanel basePanel) -
createDateModel
public static org.apache.wicket.model.IModel<Date> createDateModel(org.apache.wicket.model.IModel<XMLGregorianCalendar> model) -
createAssignmentStatusClassModel
public static org.apache.wicket.model.IModel<String> createAssignmentStatusClassModel(UserDtoStatus model) -
createAssignmentIconTitleModel
public static org.apache.wicket.model.IModel<String> createAssignmentIconTitleModel(BasePanel panel, AssignmentEditorDtoType type) -
getName
public static String getName(PrismContainerValueWrapper<AssignmentType> assignmentValueWrapper, PageBase pageBase) -
getName
-
getNameFromConstruction
public static String getNameFromConstruction(ConstructionType construction, boolean useObjectType, PageBase pageBase) -
getObjectTypeFromConstruction
public static String getObjectTypeFromConstruction(ConstructionType construction, PageBase pageBase) -
getAssignmentSpecificInfoLabel
public static String getAssignmentSpecificInfoLabel(AssignmentType assignmentType, PageBase pageBase) -
getType
-
isAssignmentRelevant
-
isArchetypeAssignment
-
isConsentAssignment
-
getTargetType
-
loadAssignmentsLimit
-
getIdentifierLabelModel
public static <AR extends AbstractRoleType> org.apache.wicket.model.IModel<String> getIdentifierLabelModel(AssignmentType assignment, PageBase pageBase) -
loadTargetObject
public static <F extends FocusType> PrismObject<F> loadTargetObject(AssignmentType assignmentType, PageBase pageBase)
-