Class AbstractApiBaseEntity

java.lang.Object
org.autumnframework.service.jpa.entities.AbstractBaseEntity
org.autumnframework.service.jpa.entities.AbstractApiBaseEntity
All Implemented Interfaces:
Serializable, GenericApiIdentifiable<Long>, GenericIdentifiable<Long>, ApiEntity, JpaApiIdentifiable, JpaIdentifiable

@MappedSuperclass public abstract class AbstractApiBaseEntity extends AbstractBaseEntity implements ApiEntity
Provides a base superclass for entities which should have auditable capabilities, providing

information on who or what system created each record, when this record was created, who last

updated the record and when this update happened.to enhance an entity with auditable capabilities, just extend this class

and provide normal jpa entity annotations

Author:
Timon Veenstra [timon at corizon.nl]
See Also:
  • Constructor Details

    • AbstractApiBaseEntity

      public AbstractApiBaseEntity()
  • Method Details

    • preSave

      public void preSave()