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.id |
Classes involved in id handling.
|
com.edorasware.commons.core.manager.entity |
Classes related to entity managers.
|
com.edorasware.commons.core.persistence.entity | |
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<GlobalId> |
AnyWorkObject.GLOBAL_ID
Allows to build predicates testing for certain global id values.
|
Modifier and Type | Method and Description |
---|---|
GlobalId |
AnyWorkObjectDefinitionManager.createGlobalId(Type entityType,
String globalIdValue) |
GlobalId |
AnyWorkObjectManager.createGlobalId(Type entityType,
String globalIdValue) |
Modifier and Type | Method and Description |
---|---|
static AnyWorkObjectUpdate.Builder |
AnyWorkObjectUpdate.builder(GlobalId globalId,
AnyWorkObjectModification.Builder modificationBuilder,
AnyWorkObject originalEntity,
AnyWorkObjectService service) |
AnyWorkObject |
AnyWorkObjectService.findWorkObjectByGlobalId(GlobalId globalId)
Finds the concrete work object with the given global id.
|
AnyWorkObject |
AnyWorkObjectService.findWorkObjectByGlobalId(GlobalId globalId,
SearchScope searchScope)
Finds the concrete work object with the given global id in the given scope.
|
AnyWorkObject |
AnyWorkObjectService.getWorkObjectByGlobalId(GlobalId globalId)
Finds the work object with the given global id.
|
AnyWorkObject |
AnyWorkObjectService.getWorkObjectByGlobalId(GlobalId globalId,
SearchScope searchScope)
Finds the work object with the given global id in the given scope.
|
Constructor and Description |
---|
Builder(GlobalId globalId,
AnyWorkObjectModification.Builder modificationBuilder,
AnyWorkObject originalEntity,
AnyWorkObjectService service) |
Modifier and Type | Field and Description |
---|---|
static BasicOperand<GlobalId> |
Beat.GLOBAL_ID
Allows to build predicates testing for certain global id values.
|
Modifier and Type | Method and Description |
---|---|
GlobalId |
BeatManager.createGlobalId(Type entityType,
String globalIdValue) |
Modifier and Type | Field and Description |
---|---|
static GlobalId |
GlobalId.UNDEFINED
A type-safe and null-safe undefined work object id.
|
Modifier and Type | Method and Description |
---|---|
static GlobalId |
GlobalId.get(String value)
Returns a type-safe global id for the specified value.
|
GlobalId |
Entity.getGlobalId()
Returns the global id of the entity.
|
Modifier and Type | Method and Description |
---|---|
SELF |
Entity.EntityBuilder.globalId(GlobalId globalId)
Sets the global id.
|
void |
Entity.EntityData.setGlobalId(GlobalId globalId) |
Modifier and Type | Method and Description |
---|---|
static GlobalId |
IdUtils.getTypedGlobalId(Type type,
String baseId)
Assembles a type-encoded global id from the given entity type and base id.
|
Modifier and Type | Method and Description |
---|---|
static void |
IdUtils.assertTypedGlobalIdHasCorrectType(GlobalId globalId,
Type expectedType)
Assertion to check that a typed global id has the correct type
|
static String |
IdUtils.extractTypeNameFromGlobalId(GlobalId globalId)
Extracts the type name from the given global id.
|
Modifier and Type | Method and Description |
---|---|
GlobalId |
EntityManager.createGlobalId(Type entityType,
String globalIdValue) |
Modifier and Type | Method and Description |
---|---|
E |
AbstractEntityManager.attachIdsIfNeeded(E entity,
Callable<T> idCallable,
Callable<GlobalId> globalIdCallable) |
E |
EntityManager.attachIdsIfNeeded(E entity,
Callable<T> idCallable,
Callable<GlobalId> globalIdCallable) |
Modifier and Type | Method and Description |
---|---|
GlobalId |
EntityPersistence.createUniqueGlobalId(E entity)
Returns a unique global id.
|
Modifier and Type | Method and Description |
---|---|
E |
EntityPersistence.getByGlobalId(GlobalId globalId,
TenantId tenantId)
Retrieves the entity with the given global id and tenant id.
|
Modifier and Type | Method and Description |
---|---|
GlobalId |
JdbcEntityPersistence.createUniqueGlobalId(E entity) |
Modifier and Type | Method and Description |
---|---|
<E extends Entity<?,?>> |
L1Cache.get(String persistenceClass,
GlobalId globalId,
TenantId tenantId,
Callable<E> callable) |
E |
JdbcEntityPersistence.getByGlobalId(GlobalId globalId,
TenantId tenantId) |
Modifier and Type | Method and Description |
---|---|
BasicOperand<GlobalId> |
EntityOperandContainer.getGlobalId() |
Modifier and Type | Field and Description |
---|---|
protected GlobalId |
EntityUpdate.Builder.globalId |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<GlobalId> |
WorkObjectUpdate.Builder.newParentGlobalId |
Modifier and Type | Method and Description |
---|---|
GlobalId |
BaseEntityService.addEntityGeneric(E entity,
String description) |
GlobalId |
EntityService.addEntityGeneric(E entity,
String description)
Adds the given ad-hoc work entity and returns the persisted global id.
|
GlobalId |
BaseEntityService.findGlobalIdByExternalId(T externalId) |
GlobalId |
EntityService.findGlobalIdByExternalId(T externalId)
Returns the global id of the entity with the given external id in the given scope.
|
GlobalId |
BaseEntityService.findGlobalIdByExternalId(T externalId,
SearchScope searchScope) |
GlobalId |
EntityService.findGlobalIdByExternalId(T externalId,
SearchScope searchScope)
Returns the global id of the entity with the given external id in the given scope.
|
protected GlobalId |
BaseEntityService.getDefinedGlobalId(E entity) |
GlobalId |
EntityUpdate.getGlobalId()
Returns the global id.
|
GlobalId |
BaseWorkObjectService.startEntityGeneric(D definitionId,
Map<String,Object> variables,
GlobalId parentGlobalId) |
GlobalId |
WorkObjectService.startEntityGeneric(D definitionId,
Map<String,Object> variables,
GlobalId parentGlobalId)
Starts a new entity based on the definition with the given id.
|
Modifier and Type | Method and Description |
---|---|
UB |
DomainObjectService.createReadableUpdateBuilder(GlobalId globalId)
Creates a new type-safe readable update builder for the given entity.
|
UB |
DomainObjectService.createUpdateBuilder(GlobalId globalId)
Creates a new type-safe update builder for the given entity.
|
void |
BaseDomainObjectService.deleteVariable(GlobalId globalId,
String name,
String description) |
void |
DomainObjectService.deleteVariable(GlobalId globalId,
String name,
String description)
Deletes the variable with the given
name from the entity with given globalId . |
<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 . |
void |
BaseDomainObjectService.deleteVariables(GlobalId globalId,
Collection<String> variables,
String description) |
void |
DomainObjectService.deleteVariables(GlobalId globalId,
Collection<String> variables,
String description)
Deletes the variables from the collection of variable
names from the entity with given globalId . |
E |
BaseEntityService.findEntityByGlobalId(GlobalId globalId) |
E |
EntityService.findEntityByGlobalId(GlobalId globalId)
Finds the entity with the given global id.
|
E |
BaseEntityService.findEntityByGlobalId(GlobalId globalId,
SearchScope searchScope) |
E |
EntityService.findEntityByGlobalId(GlobalId globalId,
SearchScope searchScope)
Finds the entity with the given entity global id in the given scope.
|
T |
BaseEntityService.findExternalIdByGlobalId(GlobalId globalId) |
T |
EntityService.findExternalIdByGlobalId(GlobalId globalId)
Returns the external id of the entity with the given id.
|
T |
BaseEntityService.findExternalIdByGlobalId(GlobalId globalId,
SearchScope searchScope) |
T |
EntityService.findExternalIdByGlobalId(GlobalId globalId,
SearchScope searchScope)
Returns the external id of the entity with the given id in the given scope.
|
protected E |
BaseEntityService.findNonNullEntityByGlobalId(GlobalId globalId) |
E |
BaseEntityService.getEntityByGlobalId(GlobalId globalId) |
E |
EntityService.getEntityByGlobalId(GlobalId globalId)
Finds the entity with the given entity id.
|
E |
BaseEntityService.getEntityByGlobalId(GlobalId globalId,
SearchScope searchScope) |
E |
EntityService.getEntityByGlobalId(GlobalId globalId,
SearchScope searchScope)
Finds the entity with the given entity id in the given scope.
|
SELF |
WorkObjectUpdate.Builder.parent(GlobalId parentGlobalId)
Sets the parent work object.
|
void |
BaseDomainObjectService.putVariable(GlobalId globalId,
String name,
Object value,
String description) |
void |
DomainObjectService.putVariable(GlobalId globalId,
String name,
Object value,
String description)
Associates the given variable with the specified entity.
|
<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.
|
void |
BaseDomainObjectService.putVariables(GlobalId globalId,
Map<String,Object> variables,
String description) |
void |
DomainObjectService.putVariables(GlobalId globalId,
Map<String,Object> variables,
String description)
Associates the given variables with the specified entity.
|
void |
BaseDomainObjectService.putVariables(GlobalId globalId,
VariableMap variables,
String description) |
void |
DomainObjectService.putVariables(GlobalId globalId,
VariableMap variables,
String description)
Associates the given variables with the specified entity.
|
void |
BaseWorkObjectService.setAssignedGroup(GlobalId globalId,
GroupId groupId,
String description) |
void |
WorkObjectService.setAssignedGroup(GlobalId globalId,
GroupId groupId,
String description)
Sets the user to which the specified entity is assigned to.
|
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.setCandidateGroups(GlobalId globalId,
Set<GroupId> groupIds,
String description) |
void |
WorkObjectService.setCandidateGroups(GlobalId globalId,
Set<GroupId> groupIds,
String description)
Sets the candidate groups of the specified entity.
|
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 |
BaseDomainObjectService.setDescription(GlobalId globalId,
String description,
String comment) |
void |
DomainObjectService.setDescription(GlobalId globalId,
String description,
String comment)
Sets the description of the specified entity.
|
void |
BaseWorkObjectService.setDueTime(GlobalId globalId,
Date dueTime,
String description) |
void |
WorkObjectService.setDueTime(GlobalId globalId,
Date dueTime,
String description)
Sets the due time of the specified entity.
|
void |
BaseDomainObjectService.setName(GlobalId globalId,
String name,
String description) |
void |
DomainObjectService.setName(GlobalId globalId,
String name,
String description)
Sets the name of the specified entity.
|
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.setParent(GlobalId globalId,
GlobalId parentGlobalId,
String description) |
void |
WorkObjectService.setParent(GlobalId globalId,
GlobalId parentGlobalId,
String description)
Sets the parent of the specified entity.
|
void |
BaseWorkObjectService.setPriority(GlobalId globalId,
Integer priority,
String description) |
void |
WorkObjectService.setPriority(GlobalId globalId,
Integer priority,
String description)
Sets the priority of the specified entity.
|
void |
BaseWorkObjectService.setResubmissionTime(GlobalId globalId,
Date resubmissionTime,
String description) |
void |
WorkObjectService.setResubmissionTime(GlobalId globalId,
Date resubmissionTime,
String description)
Sets the resubmission time of the specified entity.
|
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.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. |
GlobalId |
BaseWorkObjectService.startEntityGeneric(D definitionId,
Map<String,Object> variables,
GlobalId parentGlobalId) |
GlobalId |
WorkObjectService.startEntityGeneric(D definitionId,
Map<String,Object> variables,
GlobalId parentGlobalId)
Starts a new entity based on the definition with the given id.
|
Constructor and Description |
---|
Builder(GlobalId globalId,
WB modificationBuilder,
E originalEntity) |
Builder(GlobalId globalId,
WB modificationBuilder,
E originalEntity,
DomainObjectService<?,?,?,E,?,W,WB,U,SELF> service) |
Builder(GlobalId globalId,
WB modificationBuilder,
E originalEntity,
WorkObjectService<?,?,?,E,?,W,WB,U,SELF> service) |
DomainObjectUpdate(GlobalId globalId,
W modification) |
EntityUpdate(GlobalId globalId,
W modification) |
WorkObjectUpdate(GlobalId globalId,
W modification,
com.google.common.base.Optional<GlobalId> newParentGlobalId) |
Constructor and Description |
---|
WorkObjectUpdate(GlobalId globalId,
W modification,
com.google.common.base.Optional<GlobalId> newParentGlobalId) |
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.