@MappedSuperclass public abstract class AbstractMakueniEntity extends AbstractStatusAuditableEntity implements Labelable, SingleFileMetadatable, Lockable
statusCommentscreatedBy, createdDate, lastModifiedBy, lastModifiedDate| Constructor and Description |
|---|
AbstractMakueniEntity() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getApprovedDate() |
abstract Department |
getDepartment() |
protected abstract java.util.Collection<? extends AbstractMakueniEntity> |
getDirectChildrenEntities()
Gets direct children of current entity, that is the next form(s) that have to be filled in after this one is done
Most of the time this returns just one element, with the exception of
Project where it will return
the Project#getTenderProcesses()
This is used to revert downstream forms when upstream forms are reverted. |
java.util.Collection<? extends AbstractMakueniEntity> |
getDirectChildrenEntitiesNotNull() |
java.util.Set<FileMetadata> |
getFormDocs() |
Person |
getOwner() |
AbstractAuditableEntity |
getParent()
Override this in subclasses and return the parent entity, or null if no
parent entity exists
|
void |
setApprovedDate(java.util.Date approvedDate) |
void |
setFormDocs(java.util.Set<FileMetadata> formDocs) |
void |
setOwner(Person owner) |
getNewStatusComment, getStatus, getStatusComments, getVisibleStatusComments, getVisibleStatusLabel, setNewStatusComment, setStatus, setStatusComments, setVisibleStatusComments, setVisibleStatusLabelensureParentUpdated, getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate, touchgetVersionequals, getId, hashCode, isNew, setId, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetFormDocgetLabel, setLabelisExportable, isTerminated@Transactional protected abstract java.util.Collection<? extends AbstractMakueniEntity> getDirectChildrenEntities()
Project where it will return
the Project#getTenderProcesses()
This is used to revert downstream forms when upstream forms are reverted. So if u do not need this functionality
just return Collections.emptyList()@Transactional public java.util.Collection<? extends AbstractMakueniEntity> getDirectChildrenEntitiesNotNull()
public AbstractAuditableEntity getParent()
AbstractAuditableEntitygetParent in class AbstractAuditableEntitypublic java.util.Date getApprovedDate()
public void setApprovedDate(java.util.Date approvedDate)
public java.util.Set<FileMetadata> getFormDocs()
getFormDocs in interface SingleFileMetadatablepublic void setFormDocs(java.util.Set<FileMetadata> formDocs)
public abstract Department getDepartment()