Uses of Interface
org.silverpeas.core.persistence.datasource.model.EntityIdentifier
-
Packages that use EntityIdentifier Package Description org.silverpeas.core.pdc.pdc.model org.silverpeas.core.persistence.datasource.model org.silverpeas.core.persistence.datasource.model.identifier org.silverpeas.core.persistence.datasource.model.jpa org.silverpeas.core.reminder org.silverpeas.core.socialnetwork.model org.silverpeas.core.test.unit It provides all the classes to facilitate the writing of unit tests and only of unit tests. the goal of the unit tests is to test the behaviour of a component under some well-defined stimuli. -
-
Uses of EntityIdentifier in org.silverpeas.core.pdc.pdc.model
Classes in org.silverpeas.core.pdc.pdc.model that implement EntityIdentifier Modifier and Type Class Description class
PdcAxisValuePk
The composite primary key used to store values of PdC's axis. -
Uses of EntityIdentifier in org.silverpeas.core.persistence.datasource.model
Classes in org.silverpeas.core.persistence.datasource.model with type parameters of type EntityIdentifier Modifier and Type Interface Description interface
Entity<E extends Entity<E,I>,I extends EntityIdentifier>
An entity is an object managed or handled by Silverpeas and that can be persisted into a data source.Subinterfaces of EntityIdentifier in org.silverpeas.core.persistence.datasource.model Modifier and Type Interface Description interface
CompositeEntityIdentifier
A composite entity identifier is a unique identifier that is made up of several identification values.interface
ExternalEntityIdentifier
When the primary identifier of an entity corresponds to an identifier of another entity, then the identifier must implement this interface.Methods in org.silverpeas.core.persistence.datasource.model with type parameters of type EntityIdentifier Modifier and Type Method Description <T extends EntityIdentifier>
TEntityIdentifierConverter. convertToEntityIdentifier(String idAsString)
Converts the given String id into the right entity identifier.<T extends EntityIdentifier>
Collection<T>EntityIdentifierConverter. convertToEntityIdentifiers(String... idsAsString)
Converts the given String ids into the right entity identifiers.<T extends EntityIdentifier>
Collection<T>EntityIdentifierConverter. convertToEntityIdentifiers(Collection<String> idsAsString)
Converts the given String ids into the right entity identifiers.Methods in org.silverpeas.core.persistence.datasource.model that return EntityIdentifier Modifier and Type Method Description default EntityIdentifier
CompositeEntityIdentifier. fromString(String id)
EntityIdentifier
EntityIdentifier. fromString(String id)
Sets the identifier's value from its given String representation.EntityIdentifier
EntityIdentifier. generateNewId(String... parameters)
Generates a new unique entity identifier.Methods in org.silverpeas.core.persistence.datasource.model with parameters of type EntityIdentifier Modifier and Type Method Description default int
EntityIdentifier. compareTo(EntityIdentifier o)
Compares this identifier of entity with the specified one.Constructor parameters in org.silverpeas.core.persistence.datasource.model with type arguments of type EntityIdentifier Constructor Description EntityIdentifierConverter(Class<? extends EntityIdentifier> entityIdentifierClass)
Constructs a converter of identities with the specified class. -
Uses of EntityIdentifier in org.silverpeas.core.persistence.datasource.model.identifier
Classes in org.silverpeas.core.persistence.datasource.model.identifier that implement EntityIdentifier Modifier and Type Class Description class
ExternalIntegerIdentifier
This external entity identifier implementation handles external integer identifier.class
ExternalStringIdentifier
This identifier implementation handles external one with string type.class
UniqueIntegerIdentifier
class
UniqueLongIdentifier
class
UuidIdentifier
-
Uses of EntityIdentifier in org.silverpeas.core.persistence.datasource.model.jpa
Classes in org.silverpeas.core.persistence.datasource.model.jpa with type parameters of type EntityIdentifier Modifier and Type Class Description class
AbstractJpaEntity<T extends IdentifiableEntity,U extends EntityIdentifier>
Abstract implementation of theIdentifiableEntity
interface that uses the JPA API.class
BasicJpaEntity<E extends IdentifiableEntity,I extends EntityIdentifier>
This abstract class must be extended by all basic JPA entities that don't fit to the persistence rules of the Silverpeas Persistence API.class
SilverpeasJpaEntity<E extends Entity<E,I>,I extends EntityIdentifier>
This abstract class must be extended by all Silverpeas JPA entities that satisfy all the rules of the Silverpeas Persistence API. -
Uses of EntityIdentifier in org.silverpeas.core.reminder
Classes in org.silverpeas.core.reminder that implement EntityIdentifier Modifier and Type Class Description class
ReminderIdentifier
Identifier of a reminder in the persistence context. -
Uses of EntityIdentifier in org.silverpeas.core.socialnetwork.model
Classes in org.silverpeas.core.socialnetwork.model that implement EntityIdentifier Modifier and Type Class Description class
ExternalAccountIdentifier
-
Uses of EntityIdentifier in org.silverpeas.core.test.unit
Method parameters in org.silverpeas.core.test.unit with type arguments of type EntityIdentifier Modifier and Type Method Description static <T extends AbstractJpaEntity<?,?>>
TEntityIdSetter. setIdTo(T entity, Class<? extends EntityIdentifier> idType)
Sets the identifier of the specified entity with a random value of given entity identifier type.Constructor parameters in org.silverpeas.core.test.unit with type arguments of type EntityIdentifier Constructor Description EntityIdSetter(Class<? extends EntityIdentifier> idType)
Constructs a new setter of entity identifiers whose type is the specified one.
-