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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCreatedBy
(String createdBy) void
setCreatedDate
(Date createdDate) void
setLastModifiedBy
(String lastModifiedBy) void
setLastModifiedDate
(Date lastModifiedDate) Methods inherited from class com.foreach.across.modules.hibernate.business.SettableIdBasedEntity
equals, getNewEntityId, hashCode, isNew, setId, setNewEntityId, toDto
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.foreach.across.modules.hibernate.business.IdBasedEntity
getId
Methods inherited from interface org.springframework.data.domain.Persistable
getId
-
Constructor Details
-
SettableIdAuditableEntity
public SettableIdAuditableEntity()
-
-
Method Details
-
getCreatedBy
- Specified by:
getCreatedBy
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setCreatedBy
- Specified by:
setCreatedBy
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
getCreatedDate
- Specified by:
getCreatedDate
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setCreatedDate
- Specified by:
setCreatedDate
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
getLastModifiedBy
- Specified by:
getLastModifiedBy
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setLastModifiedBy
- Specified by:
setLastModifiedBy
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
getLastModifiedDate
- Specified by:
getLastModifiedDate
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-
setLastModifiedDate
- Specified by:
setLastModifiedDate
in interfaceAuditable<T extends org.springframework.data.domain.Persistable<Long>>
-