Package | Description |
---|---|
com.edorasware.commons.core.any |
Classes for generic work object management.
|
com.edorasware.commons.core.beat | |
com.edorasware.commons.core.entity |
Classes to model business entities.
|
com.edorasware.commons.core.identity |
Classes for identity management.
|
com.edorasware.commons.core.identity.support | |
com.edorasware.commons.core.modification.entity |
Classes related to entity modifications.
|
com.edorasware.commons.core.persistence.entity | |
com.edorasware.commons.core.query.entity |
Classes to build entity-specific queries.
|
com.edorasware.commons.core.service.entity |
Classes related to entity services.
|
Modifier and Type | Field and Description |
---|---|
static BasicOperand<UserId> |
AnyWorkObject.ASSIGNEE_ID
Allows to build predicates testing for certain work object assignee id values.
|
static CandidateOperand<UserId> |
AnyWorkObject.CANDIDATE_USER_IDS
Allows to build predicates testing for certain work object candidate user id values.
|
static BasicOperand<UserId> |
AnyWorkObject.INITIAL_ASSIGNEE_ID
Allows to build predicates testing for certain work object initial assignee id values.
|
static BasicOperand<UserId> |
AnyWorkObject.OWNER_ID
Allows to build predicates testing for certain work object owner id values.
|
static BasicOperand<UserId> |
AnyWorkObject.PREVIOUS_ASSIGNEE_ID
Allows to build predicates testing for certain work object previous assignee id values.
|
Modifier and Type | Method and Description |
---|---|
UserId |
Beat.getSourceOldModificationUpdaterId()
The former modifier of the source.
|
Modifier and Type | Method and Description |
---|---|
Beat.Builder |
Beat.Builder.sourceOldModificationUpdaterId(UserId sourceOldModificationUpdaterId) |
Modifier and Type | Field and Description |
---|---|
static UserId |
UserId.UNDEFINED
A type-safe and null-safe undefined user id.
|
Modifier and Type | Method and Description |
---|---|
static UserId |
UserId.from(Id id)
Returns a type-safe user id for the specified id or null if the given id is null.
|
static UserId |
UserId.from(Identifiable<?> identifiable)
Returns a type-safe user id derived from the id of the specified identifiable or null if the id of the identifiable is null.
|
static UserId |
UserId.get(String value)
Returns a type-safe user id for the specified value.
|
UserId |
WorkObject.getAssigneeId()
Returns the current assignee of the entity.
|
UserId |
WorkObject.getInitialAssigneeId()
Returns the initial assignee of the entity.
|
UserId |
Entity.getModificationCreatorId()
Returns the id of the user who created the entity.
|
UserId |
Entity.getModificationUpdaterId()
Returns the id of the user who last modified the entity.
|
UserId |
WorkObject.getOwnerId()
Returns the owner of the entity.
|
UserId |
WorkObject.getPreviousAssigneeId()
Returns the previous assignee of the entity.
|
static UserId |
UserId.nullSafeGet(String value)
Returns a type-safe user id for the specified value or null if the given value is null.
|
UserId |
UserId.withValue(String value)
Returns a new user-id with the given value.
|
Modifier and Type | Method and Description |
---|---|
Set<UserId> |
WorkObject.getCandidateUserIds()
Returns the candidate users of the entity.
|
Modifier and Type | Method and Description |
---|---|
SELF |
WorkObject.WorkObjectBuilder.addCandidateUserId(UserId candidateUserId)
Adds the candidate user id to the current candidate user ids.
|
SELF |
WorkObject.WorkObjectBuilder.assigneeId(UserId assigneeId)
Sets the current assignee id.
|
SELF |
WorkObject.WorkObjectBuilder.initialAssigneeId(UserId initialAssigneeId)
Sets the initial assignee id.
|
SELF |
Entity.EntityBuilder.modificationCreatorId(UserId modificationCreatorId)
Sets the modification creator id.
|
SELF |
Entity.EntityBuilder.modificationUpdaterId(UserId modificationUpdaterId)
Sets the modification updater id.
|
SELF |
WorkObject.WorkObjectBuilder.ownerId(UserId ownerId)
Sets the owner id.
|
SELF |
WorkObject.WorkObjectBuilder.previousAssigneeId(UserId previousAssigneeId)
Sets the previous assignee id.
|
void |
Entity.EntityData.setModificationCreatorId(UserId modificationCreatorId) |
void |
Entity.EntityData.setModificationUpdaterId(UserId modificationUpdaterId) |
Modifier and Type | Method and Description |
---|---|
SELF |
WorkObject.WorkObjectBuilder.candidateUserIds(Set<UserId> candidateUserIds)
Sets the candidate user ids.
|
Modifier and Type | Method and Description |
---|---|
UserId |
CurrentUserService.getCurrentUserId()
Returns the current user.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
CurrentUserService.runAsUser(UserId userId,
Callable<T> action)
Runs the given action in the context of the specified user.
|
void |
CurrentUserService.runAsUser(UserId userId,
Runnable action)
Runs the given action in the context of the specified user.
|
<T> T |
CurrentIdentityService.runAsUserInTenant(UserId userId,
TenantId tenantId,
Callable<T> action)
Runs the given action in the context of the specified user sand tenant.
|
<T> T |
DefaultCurrentIdentityService.runAsUserInTenant(UserId userId,
TenantId tenantId,
Callable<T> action) |
void |
CurrentIdentityService.runAsUserInTenant(UserId userId,
TenantId tenantId,
Runnable action)
Runs the given action in the context of the specified user and tenant.
|
void |
DefaultCurrentIdentityService.runAsUserInTenant(UserId userId,
TenantId tenantId,
Runnable action) |
Modifier and Type | Method and Description |
---|---|
UserId |
BaseCurrentUserService.getCurrentUserId() |
protected abstract UserId |
BaseCurrentUserService.internalGetCurrentUserId() |
Modifier and Type | Method and Description |
---|---|
<T> T |
BaseCurrentUserService.runAsUser(UserId userId,
Callable<T> action) |
void |
BaseCurrentUserService.runAsUser(UserId userId,
Runnable action) |
Modifier and Type | Method and Description |
---|---|
ModificationValue<UserId> |
WorkObjectModification.WorkObjectModificationBuilder.getAssigneeId() |
ModificationValue<Set<UserId>> |
WorkObjectModification.WorkObjectModificationBuilder.getCandidateUserIds() |
ModificationValue<UserId> |
WorkObjectModification.WorkObjectModificationBuilder.getOwnerId() |
Modifier and Type | Method and Description |
---|---|
SELF |
WorkObjectModification.WorkObjectModificationBuilder.assigneeId(UserId assigneeId) |
SELF |
WorkObjectModification.WorkObjectModificationBuilder.ownerId(UserId ownerId) |
Modifier and Type | Method and Description |
---|---|
SELF |
WorkObjectModification.WorkObjectModificationBuilder.candidateUserIds(Set<UserId> candidateUserIds) |
Modifier and Type | Field and Description |
---|---|
static IdentityLinkConverter<UserId> |
IdentityLinkConverter.CANDIDATE_USER |
Modifier and Type | Method and Description |
---|---|
BasicOperand<UserId> |
WorkObjectOperandContainer.getAssigneeId() |
CandidateOperand<UserId> |
WorkObjectOperandContainer.getCandidateUserIds() |
BasicOperand<UserId> |
WorkObjectOperandContainer.getInitialAssigneeId() |
BasicOperand<UserId> |
WorkObjectOperandContainer.getOwnerId() |
BasicOperand<UserId> |
WorkObjectOperandContainer.getPreviousAssigneeId() |
Modifier and Type | Method and Description |
---|---|
UserId |
WorkObjectUpdate.Builder.getAssigneeId()
Gets the current assignee id.
|
protected UserId |
BaseEntityService.getCurrentUserId() |
UserId |
WorkObjectUpdate.Builder.getOwnerId()
Gets the current owner id.
|
Modifier and Type | Method and Description |
---|---|
Set<UserId> |
WorkObjectUpdate.Builder.getCandidateUserIds()
Gets the current candidate user ids.
|
Modifier and Type | Method and Description |
---|---|
SELF |
WorkObjectUpdate.Builder.assigneeId(UserId userId)
Sets the assignee id.
|
SELF |
WorkObjectUpdate.Builder.ownerId(UserId userId)
Sets the owner id.
|
void |
BaseWorkObjectService.setAssignedUser(GlobalId globalId,
UserId userId,
String description) |
void |
WorkObjectService.setAssignedUser(GlobalId globalId,
UserId userId,
String description)
Sets the user to which the specified entity is assigned to.
|
void |
BaseWorkObjectService.setAssignedUser(T id,
UserId userId,
String description) |
void |
WorkObjectService.setAssignedUser(T id,
UserId userId,
String description)
Sets the user to which the specified entity is assigned to.
|
void |
BaseWorkObjectService.setOwner(GlobalId globalId,
UserId userId,
String description) |
void |
WorkObjectService.setOwner(GlobalId globalId,
UserId userId,
String description)
Sets the owner of the specified entity.
|
void |
BaseWorkObjectService.setOwner(T id,
UserId userId,
String description) |
void |
WorkObjectService.setOwner(T id,
UserId userId,
String description)
Sets the owner of the specified entity.
|
Modifier and Type | Method and Description |
---|---|
SELF |
WorkObjectUpdate.Builder.candidateUserIds(Set<UserId> userIds)
Sets the candidate user ids.
|
void |
BaseWorkObjectService.setCandidateUsers(GlobalId globalId,
Set<UserId> userIds,
String description) |
void |
WorkObjectService.setCandidateUsers(GlobalId globalId,
Set<UserId> userIds,
String description)
Sets the candidate users of the specified entity.
|
void |
BaseWorkObjectService.setCandidateUsers(T id,
Set<UserId> userIds,
String description) |
void |
WorkObjectService.setCandidateUsers(T id,
Set<UserId> userIds,
String description)
Sets the candidate users of the specified entity.
|
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.