| Modifier and Type | Method and Description |
|---|---|
void |
AuditListener.afterUpdate(BaseEntity<I> entity) |
void |
AuditListener.beforeUpdate(BaseEntity<I> entity) |
protected abstract void |
AuditListener.saveAuditedChange(BaseEntity<I> entity,
PropertyDescriptor property,
Object oldValue,
Object newValue)
Example implementation:
|
| Modifier and Type | Method and Description |
|---|---|
<E extends BaseEntity<?>> |
BaseEntityException.getEntity() |
| Constructor and Description |
|---|
BaseEntityException(BaseEntity<?> entity,
String message) |
IllegalEntityStateException(BaseEntity<?> entity,
String message) |
NonDeletableEntityException(BaseEntity<?> entity) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseEntityListener.onPostPersist(BaseEntity<?> entity) |
void |
BaseEntityListener.onPostRemove(BaseEntity<?> entity) |
void |
BaseEntityListener.onPostUpdate(BaseEntity<?> entity) |
| Modifier and Type | Class and Description |
|---|---|
class |
GeneratedIdEntity<I extends Comparable<I> & Serializable>
Mapped superclass for entity with generated ID.
|
class |
TimestampedEntity<I extends Comparable<I> & Serializable>
Mapped superclass for timestamped entity.
|
class |
VersionedEntity<I extends Comparable<I> & Serializable>
Mapped superclass for versioned entity.
|
| Modifier and Type | Method and Description |
|---|---|
int |
BaseEntity.compareTo(BaseEntity<I> other)
Orders by default with "nulls last".
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseEntityService<I extends Comparable<I> & Serializable,E extends BaseEntity<I>>
Base entity service.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Comparable<T> & Serializable> |
BaseEntityService.getMetamodel(BaseEntity<T> entity)
Returns the metamodel of given base entity.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Comparable<T> & Serializable> |
BaseEntityService.getMetamodel(BaseEntity<T> entity)
Returns the metamodel of given base entity.
|
Copyright © 2015–2018 OmniFaces. All rights reserved.