Class DeputyUtils
java.lang.Object
com.evolveum.midpoint.model.api.util.DeputyUtils
Experimental. TODO implement correctly
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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 booleanisDelegationAssignment(AssignmentType assignment, @NotNull RelationRegistry relationRegistry) static booleanisDelegationPath(@NotNull AssignmentPath assignmentPath, @NotNull RelationRegistry relationRegistry) static booleanisDelegationPresent(@NotNull FocusType deputy, @NotNull String delegatorOid, @NotNull RelationRegistry relationRegistry) static booleanlimitationsAllow(List<OtherPrivilegesLimitationType> limitations, QName itemName, AbstractWorkItemType workItem) 
- 
Constructor Details- 
DeputyUtilspublic 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) 
- 
isDelegationPresentpublic static boolean isDelegationPresent(@NotNull @NotNull FocusType deputy, @NotNull @NotNull String delegatorOid, @NotNull @NotNull RelationRegistry relationRegistry) 
- 
isDelegationAssignmentpublic static boolean isDelegationAssignment(AssignmentType assignment, @NotNull @NotNull RelationRegistry relationRegistry) 
- 
isDelegationPathpublic static boolean isDelegationPath(@NotNull @NotNull AssignmentPath assignmentPath, @NotNull @NotNull RelationRegistry relationRegistry) 
- 
extractLimitationsDeprecated "approval work items" item is not present in the returned list.
- 
limitationsAllowpublic static boolean limitationsAllow(List<OtherPrivilegesLimitationType> limitations, QName itemName, AbstractWorkItemType workItem) 
 
-