Class SettableIdAuditableEntity<T extends org.springframework.data.domain.Persistable<Long>>
java.lang.Object
com.foreach.across.modules.hibernate.business.SettableIdBasedEntity<T>
com.foreach.across.modules.hibernate.business.SettableIdAuditableEntity<T>
- All Implemented Interfaces:
Auditable<String>,EntityWithDto<T>,IdBasedEntity,org.springframework.data.domain.Persistable<Long>
@MappedSuperclass
public abstract class SettableIdAuditableEntity<T extends org.springframework.data.domain.Persistable<Long>>
extends SettableIdBasedEntity<T>
implements Auditable<String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCreatedBy(String createdBy) voidsetCreatedDate(Date createdDate) voidsetLastModifiedBy(String lastModifiedBy) voidsetLastModifiedDate(Date lastModifiedDate) Methods inherited from class com.foreach.across.modules.hibernate.business.SettableIdBasedEntity
equals, getNewEntityId, hashCode, isNew, setId, setNewEntityId, toDtoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.foreach.across.modules.hibernate.business.IdBasedEntity
getIdMethods inherited from interface org.springframework.data.domain.Persistable
getId
-
Constructor Details
-
SettableIdAuditableEntity
public SettableIdAuditableEntity()
-
-
Method Details
-
getCreatedBy
- Specified by:
getCreatedByin interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setCreatedBy
- Specified by:
setCreatedByin interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
getCreatedDate
- Specified by:
getCreatedDatein interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setCreatedDate
- Specified by:
setCreatedDatein interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
getLastModifiedDate
- Specified by:
getLastModifiedDatein interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setLastModifiedDate
- Specified by:
setLastModifiedDatein interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-