Class IdentityLinkRelatedWorkObject
java.lang.Object
com.flowable.workobject.engine.impl.IdentityLinkRelatedWorkObject
- All Implemented Interfaces:
WorkObject
- Direct Known Subclasses:
CaseWorkObject
,ProcessWorkObject
,TaskWorkObject
public abstract class IdentityLinkRelatedWorkObject extends java.lang.Object implements WorkObject
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>
assignedGroupIds
protected java.util.Set<java.lang.String>
assigneeIds
protected java.util.Set<java.lang.String>
candidateGroupIds
protected java.util.Set<java.lang.String>
candidateUserIds
protected java.util.Set<java.lang.String>
ownerIds
-
Constructor Summary
Constructors Constructor Description IdentityLinkRelatedWorkObject(java.util.List<? extends org.flowable.identitylink.api.IdentityLinkInfo> workObjectIdentityLinks)
-
Method Summary
Modifier and Type Method Description protected java.util.Set<java.lang.String>
collectFromIdentityLinks(java.util.List<? extends org.flowable.identitylink.api.IdentityLinkInfo> identityLinks, java.util.function.Predicate<org.flowable.identitylink.api.IdentityLinkInfo> identityLinkPredicate, java.util.function.Function<org.flowable.identitylink.api.IdentityLinkInfo,java.lang.String> fieldGetter)
java.lang.String
getAssignedGroupId()
Returns the work object assigned group ID.java.lang.String
getAssigneeId()
Returns the work object assignee's user ID.java.util.Set<java.lang.String>
getCandidateGroupIds()
Returns the work object candidate group IDs.java.util.Set<java.lang.String>
getCandidateUserIds()
Returns the work object candidate user IDs.java.lang.String
getOwnerId()
Returns the work object owner's user ID.void
setCandidateGroupIds(java.util.Set<java.lang.String> candidateGroups)
void
setCandidateUserIds(java.util.Set<java.lang.String> candidateUsers)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.workobject.api.WorkObject
getAssignedGroupIdUpdateTime, getAssigneeIdUpdateTime, getCreationTime, getDefinitionId, getDueTime, getExternalId, getGlobalId, getId, getInitialAssignedGroupId, getInitialAssigneeId, getLegacyVariables, getModificationCreatorId, getModificationUpdaterId, getModificationVersion, getName, getParentId, getParentIdRef, getParentType, getPath, getPreviousAssignedGroupId, getPreviousAssigneeId, getPriority, getProviderId, getResubmissionTime, getRootId, getState, getStateUpdateTime, getSubState, getSubStateUpdateTime, getTenantId, getType, getUpdateTime, getWorkObjectVariables, isHasLegacyVariables, setAssignedGroupId, setAssigneeId, setDueTime, setName, setOwnerId, setPriority
-
Field Details
-
candidateGroupIds
protected java.util.Set<java.lang.String> candidateGroupIds -
assigneeIds
protected java.util.Set<java.lang.String> assigneeIds -
assignedGroupIds
protected java.util.Set<java.lang.String> assignedGroupIds -
ownerIds
protected java.util.Set<java.lang.String> ownerIds -
candidateUserIds
protected java.util.Set<java.lang.String> candidateUserIds
-
-
Constructor Details
-
IdentityLinkRelatedWorkObject
public IdentityLinkRelatedWorkObject(java.util.List<? extends org.flowable.identitylink.api.IdentityLinkInfo> workObjectIdentityLinks)
-
-
Method Details
-
collectFromIdentityLinks
protected java.util.Set<java.lang.String> collectFromIdentityLinks(java.util.List<? extends org.flowable.identitylink.api.IdentityLinkInfo> identityLinks, java.util.function.Predicate<org.flowable.identitylink.api.IdentityLinkInfo> identityLinkPredicate, java.util.function.Function<org.flowable.identitylink.api.IdentityLinkInfo,java.lang.String> fieldGetter) -
getOwnerId
public java.lang.String getOwnerId()Description copied from interface:WorkObject
Returns the work object owner's user ID.- Specified by:
getOwnerId
in interfaceWorkObject
- Returns:
- the work object owner's user ID
-
getAssigneeId
public java.lang.String getAssigneeId()Description copied from interface:WorkObject
Returns the work object assignee's user ID.- Specified by:
getAssigneeId
in interfaceWorkObject
- Returns:
- the work object assignee's user ID
-
getAssignedGroupId
public java.lang.String getAssignedGroupId()Description copied from interface:WorkObject
Returns the work object assigned group ID.- Specified by:
getAssignedGroupId
in interfaceWorkObject
- Returns:
- the work object assigned group ID
-
getCandidateUserIds
public java.util.Set<java.lang.String> getCandidateUserIds()Description copied from interface:WorkObject
Returns the work object candidate user IDs.- Specified by:
getCandidateUserIds
in interfaceWorkObject
- Returns:
- the work object candidate user IDs
-
setCandidateUserIds
public void setCandidateUserIds(java.util.Set<java.lang.String> candidateUsers)- Specified by:
setCandidateUserIds
in interfaceWorkObject
-
setCandidateGroupIds
public void setCandidateGroupIds(java.util.Set<java.lang.String> candidateGroups)- Specified by:
setCandidateGroupIds
in interfaceWorkObject
-
getCandidateGroupIds
public java.util.Set<java.lang.String> getCandidateGroupIds()Description copied from interface:WorkObject
Returns the work object candidate group IDs.- Specified by:
getCandidateGroupIds
in interfaceWorkObject
- Returns:
- the work object candidate group IDs
-