public class DeputyUtils extends Object
Constructor and Description |
---|
DeputyUtils() |
Modifier and Type | Method and Description |
---|---|
static List<OtherPrivilegesLimitationType> |
extractLimitations(AssignmentPath assignmentPath) |
static Collection<String> |
getDelegatorOids(UserType user,
RelationRegistry relationRegistry) |
static Collection<PrismReferenceValue> |
getDelegatorReferences(UserType user,
RelationRegistry relationRegistry) |
static boolean |
isDelegationAssignment(AssignmentType assignment,
RelationRegistry relationRegistry) |
static boolean |
isDelegationPath(AssignmentPath assignmentPath,
RelationRegistry relationRegistry) |
static boolean |
isDelegationPresent(UserType deputy,
String delegatorOid,
RelationRegistry relationRegistry) |
static boolean |
limitationsAllow(List<OtherPrivilegesLimitationType> limitations,
QName itemName,
AbstractWorkItemType workItem) |
@NotNull public static Collection<PrismReferenceValue> getDelegatorReferences(@NotNull UserType user, @NotNull RelationRegistry relationRegistry)
@NotNull public static Collection<String> getDelegatorOids(@NotNull UserType user, @NotNull RelationRegistry relationRegistry)
public static boolean isDelegationPresent(@NotNull UserType deputy, @NotNull String delegatorOid, @NotNull RelationRegistry relationRegistry)
public static boolean isDelegationAssignment(AssignmentType assignment, @NotNull RelationRegistry relationRegistry)
public static boolean isDelegationPath(@NotNull AssignmentPath assignmentPath, @NotNull RelationRegistry relationRegistry)
public static List<OtherPrivilegesLimitationType> extractLimitations(AssignmentPath assignmentPath)
public static boolean limitationsAllow(List<OtherPrivilegesLimitationType> limitations, QName itemName, AbstractWorkItemType workItem)
Copyright © 2019 Evolveum. All rights reserved.