Interface SubjectedEvaluationContext
public interface SubjectedEvaluationContext
When evaluation subjected clauses, we have to know who the subject is.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Mainly when looking for assignees/candidates, what delegators (and their abstract roles) are we interested in? -
Method Summary
Modifier and TypeMethodDescription@Nullable FocusType
@Nullable String
getSelfOids
(@NotNull SubjectedEvaluationContext.DelegatorSelection delegatorSelection) Returns all OIDs that are considered to be "self": myself plus any delegators, according toSubjectedEvaluationContext.DelegatorSelection
specified.getSelfPlusRolesOids
(@NotNull SubjectedEvaluationContext.DelegatorSelection delegatorSelection) Returns all OIDs that are considered to be "self", augmented with any abstract role membership information.
-
Method Details
-
getPrincipalOid
-
getPrincipalFocus
-
getSelfOids
@NotNull @NotNull Set<String> getSelfOids(@NotNull @NotNull SubjectedEvaluationContext.DelegatorSelection delegatorSelection) Returns all OIDs that are considered to be "self": myself plus any delegators, according toSubjectedEvaluationContext.DelegatorSelection
specified. Delegators are important e.g. when evaluating the "assignee" clause, because the current principal can have the authority to see work items assigned also to the person that delegated their case management privileges to them. -
getSelfPlusRolesOids
@NotNull @NotNull Set<String> getSelfPlusRolesOids(@NotNull @NotNull SubjectedEvaluationContext.DelegatorSelection delegatorSelection) Returns all OIDs that are considered to be "self", augmented with any abstract role membership information. As forgetSelfOids(DelegatorSelection)
, delegation may be involved here.
-