Package | Description |
---|---|
com.edorasware.commons.core.any |
Classes for generic work object management.
|
com.edorasware.commons.core.entity |
Classes to model business entities.
|
com.edorasware.commons.core.modification.entity |
Classes related to entity modifications.
|
com.edorasware.commons.core.persistence.entity.jdbc | |
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<State> |
AnyWorkObject.SUB_STATE
Allows to build predicates testing for certain work object sub state values.
|
Modifier and Type | Field and Description |
---|---|
static State |
WorkObjectState.ACTIVE
The active state.
|
static State |
WorkObjectState.COMPLETED
The completed state.
|
static State |
WorkObjectState.INTERRUPTED
The interrupted state.
|
static State |
State.UNDEFINED
A type-safe and null-safe undefined state.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<State> |
WorkObjectState.ALL_WORK_OBJECT_STATES
The list of all work object states.
|
Modifier and Type | Method and Description |
---|---|
static State |
State.getInstance(String name)
Returns the state instance with the given name.
|
State |
DomainObject.getState()
Returns the current state of the entity.
|
State |
WorkObject.getState()
Returns the current
state of the entity. |
State |
DomainObject.getSubState()
Returns the current sub state of the entity.
|
static State |
State.nullSafeGetInstance(String name)
Returns the state instance with the given name or null if the name is null.
|
Modifier and Type | Method and Description |
---|---|
SELF |
DomainObject.DomainObjectBuilder.state(State state)
Sets the state.
|
SELF |
DomainObject.DomainObjectBuilder.subState(State subState)
Sets the sub state.
|
Modifier and Type | Method and Description |
---|---|
ModificationValue<State> |
DomainObjectModification.DomainObjectModificationBuilder.getState() |
ModificationValue<State> |
DomainObjectModification.DomainObjectModificationBuilder.getSubState() |
Modifier and Type | Method and Description |
---|---|
SELF |
DomainObjectModification.DomainObjectModificationBuilder.state(State state) |
SELF |
DomainObjectModification.DomainObjectModificationBuilder.subState(State subState) |
Modifier and Type | Method and Description |
---|---|
protected State |
EntityResult.nullSafeStateFrom(String name) |
Modifier and Type | Method and Description |
---|---|
protected String |
EntityParameter.nullSafeNameFrom(State state) |
Modifier and Type | Method and Description |
---|---|
BasicOperand<State> |
DomainObjectOperandContainer.getState() |
BasicOperand<State> |
DomainObjectOperandContainer.getSubState() |
Modifier and Type | Method and Description |
---|---|
State |
DomainObjectUpdate.Builder.getState()
Gets the current state.
|
State |
DomainObjectUpdate.Builder.getSubState()
Gets the current sub-state.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BaseDomainObjectService.performStateUpdateReceivedFromProvider(T entityId,
State newState) |
protected void |
BaseDomainObjectService.performStateUpdateReceivedFromProvider(T entityId,
State newState,
String cause) |
void |
BaseDomainObjectService.setState(GlobalId globalId,
State state,
String description) |
void |
DomainObjectService.setState(GlobalId globalId,
State state,
String description)
Sets the state of the specified entity.
|
void |
WorkObjectService.setState(GlobalId globalId,
State state,
String description)
Sets the
WorkObjectState of the specified entity. |
void |
BaseDomainObjectService.setState(T entityId,
State state,
String description) |
void |
DomainObjectService.setState(T id,
State state,
String description)
Sets the state of the specified entity.
|
void |
WorkObjectService.setState(T id,
State state,
String description)
Sets the
WorkObjectState of the specified entity. |
void |
BaseDomainObjectService.setSubState(GlobalId globalId,
State subState,
String description) |
void |
DomainObjectService.setSubState(GlobalId globalId,
State subState,
String description)
Sets the sub state of the specified entity.
|
void |
WorkObjectService.setSubState(GlobalId globalId,
State state,
String description)
Sets the
WorkObjectState of the specified entity. |
void |
BaseDomainObjectService.setSubState(T entityId,
State subState,
String description) |
void |
DomainObjectService.setSubState(T id,
State subState,
String description)
Sets the sub state of the specified entity.
|
void |
WorkObjectService.setSubState(T id,
State state,
String description)
Sets the
WorkObjectState of the specified entity. |
SELF |
DomainObjectUpdate.Builder.state(State state)
Sets the state.
|
SELF |
DomainObjectUpdate.Builder.subState(State state)
Sets the sub-state.
|
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.