public static final class AnyWorkObject.Builder extends Entity.EntityBuilder<AnyWorkObject,AnyWorkObject.Builder> implements HierarchicalEntity.HierarchicalEntityBuilder<AnyWorkObject.Builder>
Builder for a AnyWorkObject instance.
| Modifier and Type | Method and Description |
|---|---|
AnyWorkObject.Builder |
addCandidateGroupId(String candidateGroupId)
Adds the candidate group id to the current candidate group ids.
|
AnyWorkObject.Builder |
addCandidateUserId(String candidateUserId)
Adds the candidate user id to the current candidate user ids.
|
AnyWorkObject.Builder |
assignedGroupId(String assignedGroupId)
Sets the current assigned group id.
|
AnyWorkObject.Builder |
assignedGroupIdUpdateTime(Instant assignedGroupIdUpdateTime)
Sets the last update time of the current assigned group.
|
AnyWorkObject.Builder |
assigneeId(String assigneeId)
Sets the current assignee id.
|
AnyWorkObject.Builder |
assigneeIdUpdateTime(Instant assigneeIdUpdateTime)
Sets the last update time of the current assignee.
|
AnyWorkObject.Builder |
candidateGroupIds(Set<String> candidateGroupIds)
Sets the candidate group ids.
|
AnyWorkObject.Builder |
candidateUserIds(Set<String> candidateUserIds)
Sets the candidate user ids.
|
AnyWorkObject.Builder |
definitionId(String definitionId)
Sets the definition id.
|
AnyWorkObject.Builder |
deleteVariable(String name)
Deletes the given variable.
|
AnyWorkObject.Builder |
deleteVariable(ValueAccessor<?> name)
Deletes the given variable.
|
AnyWorkObject.Builder |
dueTime(Instant dueTime)
Sets the due time.
|
AnyWorkObject.Builder |
id(String id)
Sets the id.
|
AnyWorkObject.Builder |
initialAssignedGroupId(String initialAssignedGroupId)
Sets the initial assigned group id.
|
AnyWorkObject.Builder |
initialAssigneeId(String initialAssigneeId)
Sets the initial assignee id.
|
AnyWorkObject.Builder |
ownerId(String ownerId)
Sets the owner id.
|
AnyWorkObject.Builder |
path(List<String> path)
Sets the path of the entity.
|
AnyWorkObject.Builder |
previousAssignedGroupId(String previousAssignedGroupId)
Sets the previous assigned group id.
|
AnyWorkObject.Builder |
previousAssigneeId(String previousAssigneeId)
Sets the previous assignee id.
|
AnyWorkObject.Builder |
priority(Integer priority)
Sets the priority.
|
AnyWorkObject.Builder |
putVariable(String name,
Object value)
Adds the name/value pair as variable to the current variables.
|
<V> AnyWorkObject.Builder |
putVariable(ValueAccessor<V> name,
V value)
Adds the name/value pair as variable to the current variables.
|
AnyWorkObject.Builder |
putVariables(Map<String,Object> variables)
Adds the name/value pairs as variables to the current variables.
|
AnyWorkObject.Builder |
putVariables(ValueMap variables)
Adds the name/value pairs as variables to the current variables.
|
AnyWorkObject.Builder |
resubmissionTime(Instant resubmissionTime)
Sets the resubmission time.
|
AnyWorkObject.Builder |
state(String state)
Sets the state.
|
AnyWorkObject.Builder |
stateUpdateTime(Instant stateUpdateTime)
Sets the state update time.
|
AnyWorkObject.Builder |
subState(String subState)
Sets the sub state.
|
AnyWorkObject.Builder |
subStateUpdateTime(Instant subStateUpdateTime)
Sets the sub state update time.
|
AnyWorkObject.Builder |
variables(Collection<Variable> variables)
Sets the variables.
|
build, creationTime, externalId, globalId, modificationCreatorId, modificationUpdaterId, modificationVersion, name, providerId, tenantId, type, updateTimepublic AnyWorkObject.Builder id(String id)
Entity.EntityBuilderSets the id.
id in class Entity.EntityBuilder<AnyWorkObject,AnyWorkObject.Builder>id - the idpublic AnyWorkObject.Builder ownerId(String ownerId)
Sets the owner id.
ownerId - the owner idpublic AnyWorkObject.Builder assigneeId(String assigneeId)
Sets the current assignee id.
assigneeId - the current assignee idpublic AnyWorkObject.Builder initialAssigneeId(String initialAssigneeId)
Sets the initial assignee id.
initialAssigneeId - the initial assignee idpublic AnyWorkObject.Builder previousAssigneeId(String previousAssigneeId)
Sets the previous assignee id.
previousAssigneeId - the previous assignee idpublic AnyWorkObject.Builder assignedGroupId(String assignedGroupId)
Sets the current assigned group id.
assignedGroupId - the current assigned group idpublic AnyWorkObject.Builder initialAssignedGroupId(String initialAssignedGroupId)
Sets the initial assigned group id.
initialAssignedGroupId - the initial assigned group idpublic AnyWorkObject.Builder previousAssignedGroupId(String previousAssignedGroupId)
Sets the previous assigned group id.
previousAssignedGroupId - the previous assigned group idpublic AnyWorkObject.Builder candidateUserIds(Set<String> candidateUserIds)
Sets the candidate user ids.
candidateUserIds - the candidate user idspublic AnyWorkObject.Builder addCandidateUserId(String candidateUserId)
Adds the candidate user id to the current candidate user ids.
candidateUserId - the candidate user idpublic AnyWorkObject.Builder candidateGroupIds(Set<String> candidateGroupIds)
Sets the candidate group ids.
candidateGroupIds - the candidate group idspublic AnyWorkObject.Builder addCandidateGroupId(String candidateGroupId)
Adds the candidate group id to the current candidate group ids.
candidateGroupId - the candidate group idpublic AnyWorkObject.Builder priority(Integer priority)
Sets the priority.
priority - the prioritypublic AnyWorkObject.Builder resubmissionTime(Instant resubmissionTime)
Sets the resubmission time.
resubmissionTime - the resubmission timepublic AnyWorkObject.Builder dueTime(Instant dueTime)
Sets the due time.
dueTime - the due timepublic AnyWorkObject.Builder assigneeIdUpdateTime(Instant assigneeIdUpdateTime)
Sets the last update time of the current assignee.
assigneeIdUpdateTime - the assignee id update timepublic AnyWorkObject.Builder assignedGroupIdUpdateTime(Instant assignedGroupIdUpdateTime)
Sets the last update time of the current assigned group.
assignedGroupIdUpdateTime - the assigned group id update timepublic AnyWorkObject.Builder path(List<String> path)
HierarchicalEntity.HierarchicalEntityBuilderSets the path of the entity.
path in interface HierarchicalEntity.HierarchicalEntityBuilder<AnyWorkObject.Builder>path - the path of the entitypublic AnyWorkObject.Builder definitionId(String definitionId)
Sets the definition id.
definitionId - the definition idpublic AnyWorkObject.Builder state(String state)
Sets the state.
state - the statepublic AnyWorkObject.Builder subState(String subState)
Sets the sub state.
subState - the sub statepublic AnyWorkObject.Builder variables(Collection<Variable> variables)
Sets the variables.
variables - the variablespublic AnyWorkObject.Builder putVariable(String name, Object value)
Adds the name/value pair as variable to the current variables.
name - the name of the variablevalue - the value of the variablepublic <V> AnyWorkObject.Builder putVariable(ValueAccessor<V> name, V value)
Adds the name/value pair as variable to the current variables.
V - the expected transient and persisted type of the variable valuename - the name of the variablevalue - the value of the variablepublic AnyWorkObject.Builder deleteVariable(String name)
Deletes the given variable.
name - the name of the variablepublic AnyWorkObject.Builder deleteVariable(ValueAccessor<?> name)
Deletes the given variable.
name - the name of the variablepublic AnyWorkObject.Builder putVariables(Map<String,Object> variables)
Adds the name/value pairs as variables to the current variables.
variables - the name/value pairspublic AnyWorkObject.Builder putVariables(ValueMap variables)
Adds the name/value pairs as variables to the current variables.
variables - the name/value pairspublic AnyWorkObject.Builder stateUpdateTime(Instant stateUpdateTime)
Sets the state update time.
stateUpdateTime - the state update timepublic AnyWorkObject.Builder subStateUpdateTime(Instant subStateUpdateTime)
Sets the sub state update time.
subStateUpdateTime - the sub state update timeCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.