TEntity
- The type of the entity.public interface IEntityArchiveDescriptor<TEntity>
EntityDescriptor
to specify
information about how an entity is archived.Modifier and Type | Method and Description |
---|---|
TEntity |
createEntity(TransactionContext context,
Object entityIdentifier)
Creates a new entity with the given identifier.
|
TrackingTypeArchiverCollection |
getArchivers()
Gets the default list of archivers needed for archiving this type of entity.
|
EntitySchema<TEntity> |
getSchema()
Gets the schema to use for archiving this type of entity.
|
EntitySchema<TEntity> getSchema()
TrackingTypeArchiverCollection getArchivers()
TEntity createEntity(TransactionContext context, Object entityIdentifier)
context
- The context in which to create the entity.entityIdentifier
- The identifier of the new entity.