Entity
Stores data associated with a tenant ID.
Parameters
<T>
the type of the data associated with the tenant ID
Inherited functions
Link copied to clipboard
public void afterInvoke(HandlerMethod<? extends Object, ? extends Object, ? extends Object, ? extends Object> method)
A callback for a handler method invocation end.
Link copied to clipboard
public void beforeInvoke(HandlerMethod<? extends Object, ? extends Object, ? extends Object, ? extends Object> method)
A callback for a handler method invocation start.
Link copied to clipboard
Verifies the new entity state and returns ConstraintViolations, if any.
Link copied to clipboard
Ensures that the entity is not marked as
archived
.Link copied to clipboard
Ensures that the entity is not marked as
deleted
.Link copied to clipboard
Obtains the default state of the entity.
Link copied to clipboard
Ensures that the callee is allowed to access Entity's state() method.
Link copied to clipboard
Obtains current lifecycle flags.
Link copied to clipboard
Obtains ID of the entity in the string form.
Link copied to clipboard
Tests whether the entity is marked as archived.
Link copied to clipboard
Obtains current lifecycle flags.
Link copied to clipboard
Tells whether lifecycle flags of the entity changed since its initialization.
Link copied to clipboard
Obtains the model class.
Link copied to clipboard
Sets
archived
status flag to the passed value.Link copied to clipboard
Sets
deleted
status flag to the passed value.Link copied to clipboard
Obtains model class for this entity.
Link copied to clipboard
Obtains the version number of the entity.
Link copied to clipboard
Obtains timestamp of the entity version.