Class DeputyUtils
- java.lang.Object
-
- com.evolveum.midpoint.model.api.util.DeputyUtils
-
public class DeputyUtils extends Object
Experimental. TODO implement correctly- Author:
- mederly
-
-
Constructor Summary
Constructors Constructor Description DeputyUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<OtherPrivilegesLimitationType>
extractLimitations(AssignmentPath assignmentPath)
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)
-
-
-
Method Detail
-
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
public static List<OtherPrivilegesLimitationType> extractLimitations(AssignmentPath assignmentPath)
-
limitationsAllow
public static boolean limitationsAllow(List<OtherPrivilegesLimitationType> limitations, QName itemName, AbstractWorkItemType workItem)
-
-