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.query.entity |
Classes to build entity-specific queries.
|
com.edorasware.commons.core.service.entity |
Classes related to entity services.
|
Modifier and Type | Method and Description |
---|---|
<V> WorkObjectId |
AnyWorkObjectService.startWorkObject(WorkObjectDefinitionId definitionId,
VariableName<V,?> name,
V value)
Starts a new work object based on the definition with the given id.
|
<V> WorkObjectId |
AnyWorkObjectService.startWorkObject(WorkObjectDefinitionId definitionId,
VariableName<V,?> name,
V value,
WorkObjectId parentId)
Starts a new work object based on the definition with the given id.
|
Modifier and Type | Method and Description |
---|---|
static <V> VariableName<V,V> |
VariableName.create(String name,
Class<V> serializedAndDeserializedValueType)
Creates a new VariableName instance.
|
static <V,W> VariableName<V,W> |
VariableName.create(String name,
Class<W> serializedValueType,
ValueConverter<V,W> valueConverter)
Creates a new VariableName instance, configured with the given value converter.
|
static <V> VariableName<V,V> |
VariableName.create(String name,
com.google.common.reflect.TypeToken<V> serializedAndDeserializedValueType)
Creates a new VariableName instance.
|
static <V,W> VariableName<V,W> |
VariableName.create(String name,
com.google.common.reflect.TypeToken<W> serializedValueType,
ValueConverter<V,W> valueConverter)
Creates a new VariableName instance, configured with the given value converter.
|
Modifier and Type | Method and Description |
---|---|
static <V> VariableMap |
VariableMap.of(VariableName<V,?> name,
V value)
Creates a new VariableMap with a single entry based on the given name and value.
|
static <V1,V2> VariableMap |
VariableMap.of(VariableName<V1,?> name1,
V1 value1,
VariableName<V2,?> name2,
V2 value2)
Creates a new VariableMap with two entries based on the given sequence of name/value.
|
static <V1,V2> VariableMap |
VariableMap.of(VariableName<V1,?> name1,
V1 value1,
VariableName<V2,?> name2,
V2 value2)
Creates a new VariableMap with two entries based on the given sequence of name/value.
|
static <V1,V2,V3> VariableMap |
VariableMap.of(VariableName<V1,?> name1,
V1 value1,
VariableName<V2,?> name2,
V2 value2,
VariableName<V3,?> name3,
V3 value3)
Creates a new VariableMap with three entries based on the given sequence of name/value.
|
static <V1,V2,V3> VariableMap |
VariableMap.of(VariableName<V1,?> name1,
V1 value1,
VariableName<V2,?> name2,
V2 value2,
VariableName<V3,?> name3,
V3 value3)
Creates a new VariableMap with three entries based on the given sequence of name/value.
|
static <V1,V2,V3> VariableMap |
VariableMap.of(VariableName<V1,?> name1,
V1 value1,
VariableName<V2,?> name2,
V2 value2,
VariableName<V3,?> name3,
V3 value3)
Creates a new VariableMap with three entries based on the given sequence of name/value.
|
<V> VariableMap.Builder |
VariableMap.Builder.put(VariableName<V,?> variableName,
V value)
Adds the given entry to the map to be built.
|
<V> SELF |
DomainObject.DomainObjectBuilder.putVariable(VariableName<V,?> name,
V value)
Adds the name/value pair as variable to the current variables.
|
Modifier and Type | Method and Description |
---|---|
<V> ModificationValue<V> |
DomainObjectModification.DomainObjectModificationBuilder.getVariableValue(VariableName<V,?> name) |
<V> SELF |
DomainObjectModification.DomainObjectModificationBuilder.putVariable(VariableName<V,?> name,
V value) |
Modifier and Type | Method and Description |
---|---|
<V> Predicate |
VariableOperand.nameAndValueEq(VariableName<V,?> expectedVariableName,
V expectedValue)
Returns a predicate testing for variables with the given variable name and the given value.
|
Predicate |
VariableOperand.undefined(VariableName<?,?> variableName)
Returns a predicate representing an undefined variable predicate.
|
Modifier and Type | Method and Description |
---|---|
<V> void |
BaseDomainObjectService.deleteVariable(GlobalId globalId,
VariableName<V,?> name,
String description) |
<V> void |
DomainObjectService.deleteVariable(GlobalId globalId,
VariableName<V,?> name,
String description)
Deletes the variable with the given
name from the entity with given globalId . |
<V> void |
BaseDomainObjectService.deleteVariable(T id,
VariableName<V,?> name,
String description) |
<V> void |
DomainObjectService.deleteVariable(T id,
VariableName<V,?> name,
String description)
Deletes the variable with the given
name from the entity with given id . |
SELF |
DomainObjectUpdate.Builder.deleteVariable(VariableName<?,?> name)
Deletes the variable with the given
name from the entity with given globalId . |
<V> V |
DomainObjectUpdate.Builder.getVariableValue(VariableName<V,?> name)
Gets the current variable value.
|
<V> void |
BaseDomainObjectService.putVariable(GlobalId globalId,
VariableName<V,?> name,
V value,
String description) |
<V> void |
DomainObjectService.putVariable(GlobalId globalId,
VariableName<V,?> name,
V value,
String description)
Associates the given variable with the specified entity.
|
<V> void |
BaseDomainObjectService.putVariable(T id,
VariableName<V,?> name,
V value,
String description) |
<V> void |
DomainObjectService.putVariable(T id,
VariableName<V,?> name,
V value,
String description)
Associates the given variable with the specified entity.
|
<V> SELF |
DomainObjectUpdate.Builder.putVariable(VariableName<V,?> name,
V value)
Sets a new variable value.
|
<V> T |
BaseDomainObjectService.startEntity(D definitionId,
VariableName<V,?> name,
V value) |
<V> T |
DomainObjectService.startEntity(D definitionId,
VariableName<V,?> name,
V value)
Starts a new entity based on the definition with the given id.
|
<V> T |
BaseWorkObjectService.startEntity(D definitionId,
VariableName<V,?> name,
V value,
WorkObjectId parentId) |
<V> T |
WorkObjectService.startEntity(D definitionId,
VariableName<V,?> name,
V value,
WorkObjectId parentId)
Starts a new entity based on the definition with the given id.
|
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.