Interface IAuditEntity<DATE,USER>
-
- Type Parameters:
DATE- The type of the date. E.g.:Date,OffsetDateTime,InstantUSER- The type of the creator and modifier user
- All Superinterfaces:
IVersionable
- All Known Implementing Classes:
AbstractAuditEntity,AbstractAuditEntity,AbstractHistoryEntity,AbstractHistoryEntity,AbstractIdentifiedAuditEntity,AbstractIdentifiedAuditEntity
public interface IAuditEntity<DATE,USER> extends IVersionable
Interface for the identified audit entities. Contains setters, getters for id, version, and for the basic audit fields.- Since:
- 1.8.1
- Author:
- arnold.bucher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DATEgetCreationDate()Returns the creation date of the entityUSERgetCreatorUser()Returns the creator user of the entityDATEgetModificationDate()Returns the modification date of the entityUSERgetModifierUser()Returns the modification user of the entityvoidsetCreationDate(DATE creationDate)Sets the creation date of the entityvoidsetCreatorUser(USER creatorUser)Sets the creator user of the entityvoidsetModificationDate(DATE modificationDate)Sets the modification date of the entityvoidsetModifierUser(USER modifierUser)Sets the modification user of the entity-
Methods inherited from interface hu.icellmobilsoft.coffee.model.base.IVersionable
getVersion, setVersion
-
-
-
-
Method Detail
-
getCreationDate
DATE getCreationDate()
Returns the creation date of the entity- Returns:
- the creation date of the entity
-
setCreationDate
void setCreationDate(DATE creationDate)
Sets the creation date of the entity- Parameters:
creationDate- the new creation date
-
getModificationDate
DATE getModificationDate()
Returns the modification date of the entity- Returns:
- the modification date of the entity
-
setModificationDate
void setModificationDate(DATE modificationDate)
Sets the modification date of the entity- Parameters:
modificationDate- the new modification date
-
getCreatorUser
USER getCreatorUser()
Returns the creator user of the entity- Returns:
- the creator user of the entity
-
setCreatorUser
void setCreatorUser(USER creatorUser)
Sets the creator user of the entity- Parameters:
creatorUser- the new creator user
-
getModifierUser
USER getModifierUser()
Returns the modification user of the entity- Returns:
- the modification user of the entity
-
setModifierUser
void setModifierUser(USER modifierUser)
Sets the modification user of the entity- Parameters:
modifierUser- the new modification user
-
-