Interface | Description |
---|---|
Identifiable<I extends Comparable<I> & Serializable> |
Base interface for something identifiable.
|
Timestamped |
Base interface for timestamped entity.
|
Versioned |
Base interface for versioned entity.
|
Class | Description |
---|---|
BaseEntity<I extends Comparable<I> & Serializable> |
Let all your entities extend from this.
|
GeneratedIdEntity<I extends Comparable<I> & Serializable> |
Mapped superclass for entity with generated ID.
|
TimestampedBaseEntity<I extends Comparable<I> & Serializable> |
Mapped superclass for timestamped entity.
|
TimestampedEntity<I extends Comparable<I> & Serializable> |
Mapped superclass for timestamped entity.
|
VersionedBaseEntity<I extends Comparable<I> & Serializable> |
Mapped superclass for versioned entity.
|
VersionedEntity<I extends Comparable<I> & Serializable> |
Mapped superclass for versioned entity.
|
Enum | Description |
---|---|
EnumMappingTable.DeleteAction |
Defines the types of the delete actions to be performed during the
mapping.
|
EnumMappingTable.MappingType |
Defines the types of mapping between java enum and database table.
|
SoftDeletable.Type |
Defines the types of the soft delete column.
|
Annotation Type | Description |
---|---|
EnumMapping |
Basic annotation to change default behaviour of
@Enumerated . |
EnumMappingTable |
Enhanced annotation to fine-tune the default behaviour of
EnumMapping . |
NonDeletable |
When put on a
BaseEntity , then any attempt to BaseEntityService.delete(BaseEntity) will throw
NonDeletableEntityException . |
SoftDeletable |
When put on a field of
BaseEntity , then the special methods of
BaseEntityService will allow to soft-delete the entity and later
soft-undelete it. |
Copyright © 2015–2021 OmniFaces. All rights reserved.