EntityDraft

public class EntityDraft extends Entity

This class represents a users draft of an Entity. A draft is a users work in progress from the UI. This shares the table with its superclass, Entity.

Constructors

EntityDraft

public EntityDraft()

Methods

getDraftOwnerUsername

public String getDraftOwnerUsername()

getFieldNameChanges

public Map<String, String> getFieldNameChanges()

getLastModificationDate

public DateTime getLastModificationDate()

getParentEntity

public Entity getParentEntity()

getParentVersion

public Long getParentVersion()

isActualEntity

public boolean isActualEntity()

isChangesMade

public boolean isChangesMade()

isDraft

public boolean isDraft()

isOutdated

public boolean isOutdated()

setChangesMade

public void setChangesMade(boolean changesMade)

setDraftOwnerUsername

public void setDraftOwnerUsername(String draftOwnerUsername)

setFieldNameChanges

public void setFieldNameChanges(Map<String, String> fieldNameChanges)

setLastModificationDate

public void setLastModificationDate(DateTime lastModificationDate)

setParentEntity

public void setParentEntity(Entity parentEntity)

setParentVersion

public void setParentVersion(Long parentVersion)

toDto

public EntityDto toDto()