Tracking

public class Tracking

The Tracking contains properties that describe the audit settings of an Entity, such as whether to record history or publish CRUD events for a given Entity. This class is related with table in database with the same name.

Constructors

Tracking

public Tracking()

Tracking

public Tracking(Entity entity)

Methods

copy

public Tracking copy()

equals

public boolean equals(Object obj)

getEntity

public Entity getEntity()

getId

public Long getId()

hashCode

public int hashCode()

isAllowCreateEvent

public boolean isAllowCreateEvent()

isAllowDeleteEvent

public boolean isAllowDeleteEvent()

isAllowUpdateEvent

public boolean isAllowUpdateEvent()

isModifiedByUser

public boolean isModifiedByUser()

isNonEditable

public boolean isNonEditable()

isRecordHistory

public boolean isRecordHistory()

setAllowCreateEvent

public void setAllowCreateEvent(boolean allowCreateEvent)

setAllowDeleteEvent

public void setAllowDeleteEvent(boolean allowDeleteEvent)

setAllowUpdateEvent

public void setAllowUpdateEvent(boolean allowUpdateEvent)

setEntity

public void setEntity(Entity entity)

setId

public void setId(Long id)

setModifiedByUser

public void setModifiedByUser(boolean modifiedByUser)

setNonEditable

public void setNonEditable(boolean nonEditable)

setRecordHistory

public void setRecordHistory(boolean recordHistory)

toDto

public TrackingDto toDto()

update

public void update(TrackingDto trackingDto)