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.manager.entity |
Classes related to entity managers.
|
com.edorasware.commons.core.modification.entity |
Classes related to entity modifications.
|
com.edorasware.commons.core.persistence.entity | |
com.edorasware.commons.core.persistence.entity.jdbc | |
com.edorasware.commons.core.provider.entity |
Classes related to entity providers.
|
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 | Class and Description |
---|---|
class |
AnyWorkObjectDefinitionId
This class represents the id of a work object definition whose concrete type is either not known or not existent.
|
class |
AnyWorkObjectId
This class represents the id of a work object whose concrete type is either not known or not existent.
|
Modifier and Type | Class and Description |
---|---|
class |
BeatId
This class represents a beat id.
|
Modifier and Type | Field and Description |
---|---|
static BasicOperand<EntityId> |
Beat.SOURCE_ID
Allows to build predicates testing for certain beat source id values.
|
Modifier and Type | Method and Description |
---|---|
EntityId |
Beat.getSourceId()
The source id.
|
Modifier and Type | Method and Description |
---|---|
BasicOperand<EntityId> |
BeatOperandContainer.getSourceId() |
Modifier and Type | Method and Description |
---|---|
Beat.Builder |
Beat.Builder.sourceId(EntityId sourceId) |
Modifier and Type | Class and Description |
---|---|
class |
DomainObject<T extends EntityId,D extends EntityId,P extends Id>
Base class for all domain objects.
|
class |
DomainObject<T extends EntityId,D extends EntityId,P extends Id>
Base class for all domain objects.
|
static class |
DomainObject.DomainObjectBuilder<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,SELF extends DomainObject.DomainObjectBuilder<T,D,P,E,SELF>> |
static class |
DomainObject.DomainObjectBuilder<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,SELF extends DomainObject.DomainObjectBuilder<T,D,P,E,SELF>> |
protected static class |
DomainObject.DomainObjectData<T extends EntityId,D extends EntityId,P extends Id>
Data container that holds the state of a domain object.
|
protected static class |
DomainObject.DomainObjectData<T extends EntityId,D extends EntityId,P extends Id>
Data container that holds the state of a domain object.
|
class |
DomainObjectDefinition<T extends EntityId,P extends Id>
Base class for all definitions of domain objects.
|
static class |
DomainObjectDefinition.DomainObjectDefinitionBuilder<T extends EntityId,P extends Id,E extends DomainObjectDefinition<T,P>,SELF extends DomainObjectDefinition.DomainObjectDefinitionBuilder<T,P,E,SELF>> |
protected static class |
DomainObjectDefinition.DomainObjectDefinitionData<T extends EntityId,P extends Id>
Data container that holds the state of a domain object definition.
|
class |
Entity<T extends EntityId,P extends Id>
Base class for all entities.
|
static class |
Entity.EntityBuilder<T extends EntityId,P extends Id,E extends Entity<T,P>,SELF extends Entity.EntityBuilder<T,P,E,SELF>> |
protected static class |
Entity.EntityData<T extends EntityId,P extends Id>
Data container that holds the state of an entity.
|
class |
HierarchyHelper<T extends EntityId,NV extends NamedValueWithSource,VT>
Utility class to deal with NamedValues that may belong to hierarchical entities.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HierarchicalEntityId
Marker interface for identifier classes of hierarchical entities.
|
Modifier and Type | Class and Description |
---|---|
class |
WorkObjectDefinitionId
Base class for work object definition identifier classes.
|
class |
WorkObjectId
Base class for work object identifier classes.
|
Modifier and Type | Method and Description |
---|---|
static <T extends EntityId,E extends Entity<T,?>> |
EntityUtils.mapEntitiesById(List<? extends E> entities)
Maps the given entities by their ids.
|
static <T extends EntityId,E extends Entity<T,?>> |
EntityUtils.transformEntitiesToIds(List<? extends E> entities)
Returns a list of the ids of the given entities.
|
Modifier and Type | Method and Description |
---|---|
EntityId |
NamedValueWithSource.getSource() |
EntityId |
Property.getSource()
Returns the source of the property.
|
EntityId |
Variable.getSource()
Returns the source of the variable.
|
Modifier and Type | Method and Description |
---|---|
static <T extends NamedValueWithSource> |
NamedValues.filterBySource(EntityId source,
Collection<T> namedValues)
Filters the NamedValue elements that are associated with the specified source.
|
Property |
Property.withSource(EntityId source)
Returns a new property with the given source and the current id, name, and value.
|
Variable |
Variable.withSource(EntityId source)
Returns a new variable with the given source and the current id, name, and value.
|
Constructor and Description |
---|
Property(PropertyId id,
String name,
String value,
EntityId source)
Creates a new property with a mandatory id, name, optional value, and source.
|
Property(String name,
String value,
EntityId source)
Creates a new property with a mandatory name, optional value, and source.
|
Variable(String name,
Object value,
EntityId source)
Creates a new variable with a mandatory name, optional value, and source.
|
Variable(VariableId id,
String name,
Object value,
EntityId source)
Creates a new variable with a mandatory id, name, optional value, and source.
|
Constructor and Description |
---|
DomainObject(Entity.EntityData<T,P> entityData,
DomainObject.DomainObjectData<T,D,P> domainObjectData,
List<? extends EntityId> variablesPath) |
DomainObjectDefinition(Entity.EntityData<T,P> entityData,
DomainObjectDefinition.DomainObjectDefinitionData<T,P> domainObjectDefinitionData,
List<? extends EntityId> propertiesPath) |
Modifier and Type | Interface and Description |
---|---|
interface |
EntityPersistence<T extends EntityId,E extends Entity<T,?>,Q extends Query>
Entity persistence API.
|
Modifier and Type | Method and Description |
---|---|
static <T extends EntityId> |
PathUtils.pathIdsFrom(String path,
Class<T> idBaseClass,
ConverterProvider converterProvider) |
Modifier and Type | Method and Description |
---|---|
static EntityId |
EntityConverterUtils.convertToEntityId(String typedIdValue,
ConverterProvider converterProvider)
Converts the given typed entity id value using the matching id converter.
|
static EntityId |
EntityConverterUtils.convertToEntityId(String idValue,
String typeName,
ConverterProvider converterProvider)
Converts the given entity id value using the matching id converter.
|
static EntityId |
EntityConverterUtils.convertToEntityId(String idValue,
String typeName,
ConverterProvider converterProvider,
EntityManager<?,?,?,?,?,?,?,?,?> manager)
Converts the given entity id value to an entity id.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverter(EntityId id,
ConverterProvider converterProvider)
Returns the first matching id converter for the given entity id.
|
static com.google.common.base.Optional<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverter(String typedIdValue,
ConverterProvider converterProvider)
Returns the first matching id converter for the given typed entity id value.
|
static com.google.common.base.Optional<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverter(String idValue,
String typeName,
ConverterProvider converterProvider)
Returns the first matching id converter for the given entity id value.
|
static com.google.common.collect.ImmutableList<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverters(ConverterProvider converterProvider)
Returns all id converters.
|
Modifier and Type | Method and Description |
---|---|
static String |
EntityConverterUtils.convertEntityId(EntityId id,
ConverterProvider converterProvider)
Converts the given entity id to its typed entity id value using the matching id converter.
|
static com.google.common.base.Optional<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverter(EntityId id,
ConverterProvider converterProvider)
Returns the first matching id converter for the given entity id.
|
Modifier and Type | Method and Description |
---|---|
static String |
PathUtils.parentIdRefStringFrom(List<? extends EntityId> ids) |
static String |
PathUtils.parentStringFrom(List<? extends EntityId> ids,
ConverterProvider converterProvider) |
static String |
PathUtils.pathStringFrom(List<? extends EntityId> ids,
ConverterProvider converterProvider) |
Modifier and Type | Class and Description |
---|---|
class |
DomainObjectDefinitionPersistenceConfiguration<T extends EntityId,P extends Id,E extends DomainObjectDefinition<T,P>,EB extends DomainObjectDefinition.DomainObjectDefinitionBuilder<T,P,E,EB>,M extends DomainObjectDefinitionManager<T,P,E,EB,?,?,?,?,?>,R extends DomainObjectDefinitionResult<T,P,E,EB,M>>
Base persistence configuration of domain object definition entities.
|
class |
DomainObjectDefinitionResult<T extends EntityId,P extends Id,E extends DomainObjectDefinition<T,P>,EB extends DomainObjectDefinition.DomainObjectDefinitionBuilder<T,P,E,EB>,M extends DomainObjectDefinitionManager<T,P,E,EB,?,?,?,?,?>> |
class |
DomainObjectPersistenceConfiguration<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,M extends DomainObjectManager<T,D,P,E,EB,?,?,?,?,?>,R extends DomainObjectResult<T,D,P,E,EB,M>>
Base persistence configuration of domain object entities.
|
class |
DomainObjectPersistenceConfiguration<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,M extends DomainObjectManager<T,D,P,E,EB,?,?,?,?,?>,R extends DomainObjectResult<T,D,P,E,EB,M>>
Base persistence configuration of domain object entities.
|
class |
DomainObjectResult<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,M extends DomainObjectManager<T,D,P,E,EB,?,?,?,?,?>> |
class |
DomainObjectResult<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,M extends DomainObjectManager<T,D,P,E,EB,?,?,?,?,?>> |
class |
EntityPersistenceConfiguration<T extends EntityId,P extends Id,E extends Entity<T,P>,EB extends Entity.EntityBuilder<T,P,E,EB>,M extends EntityManager<T,P,E,EB,?,?,?,?,?>,R extends EntityResult<T,P,E,EB,M>>
Base persistence configuration of entities.
|
class |
EntityResult<T extends EntityId,P extends Id,E extends Entity<T,P>,EB extends Entity.EntityBuilder<T,P,E,EB>,M extends EntityManager<T,P,E,EB,?,?,?,?,?>> |
class |
JdbcDomainObjectDefinitionPersistence<T extends EntityId,P extends Id,E extends DomainObjectDefinition<T,P>,EB extends DomainObjectDefinition.DomainObjectDefinitionBuilder<T,P,E,EB>,Q extends DomainObjectDefinitionQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,M extends DomainObjectDefinitionManager<T,P,E,EB,Q,QB,?,?,?>,R extends DomainObjectDefinitionResult<T,P,E,EB,M>,PC extends DomainObjectDefinitionPersistenceConfiguration<T,P,E,EB,M,R>> |
class |
JdbcDomainObjectPersistence<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,Q extends DomainObjectQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,M extends DomainObjectManager<T,D,P,E,EB,Q,QB,?,?,?>,R extends DomainObjectResult<T,D,P,E,EB,M>,PC extends DomainObjectPersistenceConfiguration<T,D,P,E,EB,M,R>> |
class |
JdbcDomainObjectPersistence<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,Q extends DomainObjectQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,M extends DomainObjectManager<T,D,P,E,EB,Q,QB,?,?,?>,R extends DomainObjectResult<T,D,P,E,EB,M>,PC extends DomainObjectPersistenceConfiguration<T,D,P,E,EB,M,R>> |
class |
JdbcEntityPersistence<T extends EntityId,P extends Id,E extends Entity<T,P>,EB extends Entity.EntityBuilder<T,P,E,EB>,Q extends EntityQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,M extends EntityManager<T,P,E,EB,Q,QB,?,?,?>,R extends EntityResult<T,P,E,EB,M>,PC extends EntityPersistenceConfiguration<T,P,E,EB,M,R>> |
Modifier and Type | Method and Description |
---|---|
EntityId |
DbProperty.getSource() |
EntityId |
DbVariable.getSource() |
Modifier and Type | Method and Description |
---|---|
protected Collection<EntityId> |
JdbcEntityPersistence.transformToEntityIds(Collection<String> entityIds) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<PropertyParameter> |
PropertyTranslator.convertPropertiesToPropertyParameters(Collection<Property> properties,
EntityId sourceId,
Date creationTime) |
com.google.common.collect.ImmutableList<VariableParameter> |
VariableTranslator.convertVariablesToVariableParameters(Collection<Variable> variables,
EntityId sourceId,
Date creationTime) |
static DbProperty |
DbProperty.createFromJavaValue(PropertyId id,
String name,
String value,
EntityId source,
ConverterProvider converterProvider) |
static DbVariable |
DbVariable.createFromJavaValue(VariableId id,
String name,
Object value,
Integer index,
VariableId parentId,
VariableId rootId,
EntityId source,
ConverterProvider converterProvider) |
<E extends Entity<?,?>> |
L1Cache.get(String persistenceClass,
EntityId id,
Callable<E> callable) |
Modifier and Type | Class and Description |
---|---|
class |
BaseDomainObjectProvider<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObjectDefinition<D,P>,L extends EventListener,M extends DomainObjectManager<T,D,P,?,?,?,?,?,?,?>>
Base class for provider implementations.
|
class |
BaseDomainObjectProvider<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObjectDefinition<D,P>,L extends EventListener,M extends DomainObjectManager<T,D,P,?,?,?,?,?,?,?>>
Base class for provider implementations.
|
interface |
DomainObjectProvider<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObjectDefinition<D,P>,L extends EventListener>
Represents the base entity provider interface.
|
interface |
DomainObjectProvider<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObjectDefinition<D,P>,L extends EventListener>
Represents the base entity provider interface.
|
Modifier and Type | Method and Description |
---|---|
EntityId |
EntityStartFailedException.getDefinitionId()
The definition involved.
|
Constructor and Description |
---|
EntityDeleteFailedException(EntityId id,
Throwable cause)
Constructs a new exception.
|
EntityStartFailedException(EntityId definitionId,
Throwable cause)
Constructs a new exception.
|
EntityUpdateFailedException(EntityId id,
Throwable cause)
Constructs a new exception.
|
Modifier and Type | Class and Description |
---|---|
class |
DomainObjectDefinitionOperandContainer<T extends EntityId,P extends Id>
Base operand container of all
DomainObjectDefinition classes. |
class |
DomainObjectOperandContainer<T extends EntityId,D extends EntityId,P extends Id>
Base operand container of all
DomainObject classes. |
class |
DomainObjectOperandContainer<T extends EntityId,D extends EntityId,P extends Id>
Base operand container of all
DomainObject classes. |
class |
EntityOperandContainer<T extends EntityId,P extends Id>
Base operand container of all
Entity classes. |
Modifier and Type | Method and Description |
---|---|
List<? extends EntityId> |
HierarchyOperand.PathIdsReferenceValue.getPathIds() |
Constructor and Description |
---|
PathIdsReferenceValue(List<? extends EntityId> pathIds,
String postFix,
QueryParameter pathQueryParameter) |
Modifier and Type | Class and Description |
---|---|
class |
BaseDomainObjectDefinitionService<T extends EntityId,P extends Id,E extends DomainObjectDefinition<T,P>,EB extends DomainObjectDefinition.DomainObjectDefinitionBuilder<T,P,E,EB>,Q extends DomainObjectDefinitionQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,OC extends DomainObjectDefinitionOperandContainer<T,P>,W extends DomainObjectDefinitionModification<T,P,E,EB>,WB extends DomainObjectDefinitionModification.DomainObjectDefinitionModificationBuilder<T,P,E,EB,W,WB>,A extends EntityActionEvent<E,WB>,L extends EntityActionListener<A>,M extends DomainObjectDefinitionManager<T,P,E,EB,Q,QB,OC,W,WB>,PROV extends DomainObjectProvider<?,T,P,E,?>,PERS extends EntityPersistence<T,E,Q>>
Base class for all domain object definition services.
|
class |
BaseDomainObjectService<T extends EntityId,D extends EntityId,P extends Id,ED extends DomainObjectDefinition<D,P>,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,Q extends DomainObjectQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,OC extends DomainObjectOperandContainer<T,D,P>,W extends DomainObjectModification<T,D,P,E,EB>,WB extends DomainObjectModification.DomainObjectModificationBuilder<T,D,P,E,EB,W,WB>,A extends DomainObjectActionEvent<E,WB>,L extends DomainObjectActionListener<A>,M extends DomainObjectManager<T,D,P,E,EB,Q,QB,OC,W,WB>,PROV extends DomainObjectProvider<T,D,P,?,?>,PERS extends EntityPersistence<T,E,Q>,U extends DomainObjectUpdate<W>,UB extends DomainObjectUpdate.Builder<E,W,WB,U,UB>>
Base class for all domain object services.
|
class |
BaseDomainObjectService<T extends EntityId,D extends EntityId,P extends Id,ED extends DomainObjectDefinition<D,P>,E extends DomainObject<T,D,P>,EB extends DomainObject.DomainObjectBuilder<T,D,P,E,EB>,Q extends DomainObjectQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,OC extends DomainObjectOperandContainer<T,D,P>,W extends DomainObjectModification<T,D,P,E,EB>,WB extends DomainObjectModification.DomainObjectModificationBuilder<T,D,P,E,EB,W,WB>,A extends DomainObjectActionEvent<E,WB>,L extends DomainObjectActionListener<A>,M extends DomainObjectManager<T,D,P,E,EB,Q,QB,OC,W,WB>,PROV extends DomainObjectProvider<T,D,P,?,?>,PERS extends EntityPersistence<T,E,Q>,U extends DomainObjectUpdate<W>,UB extends DomainObjectUpdate.Builder<E,W,WB,U,UB>>
Base class for all domain object services.
|
class |
BaseEntityService<T extends EntityId,P extends Id,E extends Entity<T,P>,EB extends Entity.EntityBuilder<T,P,E,EB>,Q extends EntityQuery,QB extends EntityQuery.EntityQueryBuilder<Q,QB>,OC extends EntityOperandContainer<T,P>,W extends EntityModification<T,P,E,EB>,WB extends EntityModification.EntityModificationBuilder<T,P,E,EB,W,WB>,A extends EntityActionEvent<E,WB>,L extends EntityActionListener<A>,M extends EntityManager<T,P,E,EB,Q,QB,OC,W,WB>,PROV extends EntityProvider<P,?>,PERS extends EntityPersistence<T,E,Q>>
Base class for all entity object services.
|
interface |
DomainObjectDefinitionService<T extends EntityId,P extends Id,E extends DomainObjectDefinition<T,P>,Q extends DomainObjectDefinitionQuery>
Provides generic access to a domain object definition service.
|
interface |
DomainObjectService<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,Q extends DomainObjectQuery,W extends DomainObjectModification<T,D,P,E,?>,WB extends DomainObjectModification.DomainObjectModificationBuilder<T,D,P,E,?,W,WB>,U extends DomainObjectUpdate<W>,UB extends DomainObjectUpdate.Builder<E,W,WB,U,UB>>
Provides generic access to a domain object service.
|
interface |
DomainObjectService<T extends EntityId,D extends EntityId,P extends Id,E extends DomainObject<T,D,P>,Q extends DomainObjectQuery,W extends DomainObjectModification<T,D,P,E,?>,WB extends DomainObjectModification.DomainObjectModificationBuilder<T,D,P,E,?,W,WB>,U extends DomainObjectUpdate<W>,UB extends DomainObjectUpdate.Builder<E,W,WB,U,UB>>
Provides generic access to a domain object service.
|
interface |
EntityService<T extends EntityId,P extends Id,E extends Entity<T,P>,Q extends EntityQuery>
Provides generic access to an entity service.
|
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.