Class DeputyUtils
java.lang.Object
com.evolveum.midpoint.model.api.util.DeputyUtils
Experimental. TODO implement correctly
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<OtherPrivilegesLimitationType>
extractLimitations
(AssignmentPath assignmentPath) Deprecated "approval work items" item is not present in the returned list.static @NotNull Collection<String>
getDelegatorOids
(@NotNull FocusType focus, @NotNull RelationRegistry relationRegistry) static @NotNull Collection<PrismReferenceValue>
getDelegatorReferences
(@NotNull FocusType focus, @NotNull RelationRegistry relationRegistry) static boolean
isDelegationAssignment
(AssignmentType assignment, @NotNull RelationRegistry relationRegistry) static boolean
isDelegationPath
(@NotNull AssignmentPath assignmentPath, @NotNull RelationRegistry relationRegistry) static boolean
isDelegationPresent
(@NotNull FocusType deputy, @NotNull String delegatorOid, @NotNull RelationRegistry relationRegistry) static boolean
limitationsAllow
(List<OtherPrivilegesLimitationType> limitations, QName itemName, AbstractWorkItemType workItem)
-
Constructor Details
-
DeputyUtils
public DeputyUtils()
-
-
Method Details
-
getDelegatorReferences
@NotNull public static @NotNull Collection<PrismReferenceValue> getDelegatorReferences(@NotNull @NotNull FocusType focus, @NotNull @NotNull RelationRegistry relationRegistry) -
getDelegatorOids
@NotNull public static @NotNull Collection<String> getDelegatorOids(@NotNull @NotNull FocusType focus, @NotNull @NotNull RelationRegistry relationRegistry) -
isDelegationPresent
public static boolean isDelegationPresent(@NotNull @NotNull FocusType deputy, @NotNull @NotNull String delegatorOid, @NotNull @NotNull RelationRegistry relationRegistry) -
isDelegationAssignment
public static boolean isDelegationAssignment(AssignmentType assignment, @NotNull @NotNull RelationRegistry relationRegistry) -
isDelegationPath
public static boolean isDelegationPath(@NotNull @NotNull AssignmentPath assignmentPath, @NotNull @NotNull RelationRegistry relationRegistry) -
extractLimitations
Deprecated "approval work items" item is not present in the returned list. -
limitationsAllow
public static boolean limitationsAllow(List<OtherPrivilegesLimitationType> limitations, QName itemName, AbstractWorkItemType workItem)
-