public interface WorkObjectValueSetters<SELF>
Defines the functionality of a generic edoras work object builder.
It also supports the access interface so that values can be read out of the builder while the work object is still being created / updated.
Modifier and Type | Method and Description |
---|---|
SELF |
assignedGroupId(String groupId)
Sets the work object assigned group ID.
|
SELF |
assigneeId(String userId)
Sets the work object assignee ID.
|
SELF |
candidateGroupIds(Set<String> groupIds)
Sets the work object candidate group IDs.
|
SELF |
candidateUserIds(Set<String> userIds)
Sets the work object candidate user IDs.
|
SELF |
delete(String... names)
Deletes the value referenced by the given name.
|
SELF |
delete(ValueAccessor<?>... names)
Deletes the values referenced by the given names.
|
SELF |
description(String description)
Sets the work object description.
|
SELF |
dueTime(Instant instant)
Sets the work object due time.
|
SELF |
name(String name)
Sets the work object name.
|
SELF |
ownerId(String userId)
Sets the work object owner ID.
|
SELF |
priority(Integer priority)
Sets the work object priority.
|
SELF |
resubmissionTime(Instant instant)
Sets the work object resubmission time.
|
SELF |
state(String state)
Sets the work object state.
|
SELF |
subState(String subState)
Sets the work object sub-state.
|
SELF |
value(String name,
Object value)
Sets the value referenced by the given name.
|
<V> SELF |
value(ValueAccessor<V> name,
V value)
Sets the value referenced by the given name.
|
SELF |
values(ValueMap valueMap)
Sets the values provided in the given variable map.
|
SELF value(String name, Object value)
Sets the value referenced by the given name.
name
- the value namevalue
- the new value<V> SELF value(ValueAccessor<V> name, V value)
Sets the value referenced by the given name.
V
- the expected transient and serialized value typename
- the value namevalue
- the new valueSELF values(ValueMap valueMap)
Sets the values provided in the given variable map.
valueMap
- the map with values to be addedSELF delete(String... names)
Deletes the value referenced by the given name.
names
- the value names to be deletedSELF delete(ValueAccessor<?>... names)
Deletes the values referenced by the given names.
names
- the value names to be deletedSELF name(String name)
Sets the work object name.
name
- the new work object nameSELF description(String description)
Sets the work object description.
description
- the new work object descriptionSELF state(String state)
Sets the work object state.
state
- the new work object stateSELF subState(String subState)
Sets the work object sub-state.
subState
- the new work object sub-stateSELF ownerId(String userId)
Sets the work object owner ID.
userId
- the new owner’s user IDSELF assigneeId(String userId)
Sets the work object assignee ID.
userId
- the new assignee’s user IDSELF assignedGroupId(String groupId)
Sets the work object assigned group ID.
groupId
- the new assigned group IDSELF candidateUserIds(Set<String> userIds)
Sets the work object candidate user IDs.
userIds
- the new candidate user IDsSELF candidateGroupIds(Set<String> groupIds)
Sets the work object candidate group IDs.
groupIds
- the new candidate group IDsSELF priority(Integer priority)
Sets the work object priority.
priority
- the new prioritySELF resubmissionTime(Instant instant)
Sets the work object resubmission time.
instant
- the new resubmission timeCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.