Class TaskEntity

java.lang.Object
fr.tiogars.chat.domains.task.entities.TaskEntity

@Entity public class TaskEntity extends Object
Persists a Task business object.
  • Constructor Details

    • TaskEntity

      protected TaskEntity()
    • TaskEntity

      public TaskEntity(String code, String label, String description)
  • Method Details

    • attributes

      public void attributes(TaskStatus status, TaskPriority priority, LocalDate dueDate, String assignedTo)
    • references

      public void references(List<TagEntity> tags, NomenclatureEntity nomenclature)
    • getStatus

      public TaskStatus getStatus()
    • getPriority

      public TaskPriority getPriority()
    • getDueDate

      public LocalDate getDueDate()
    • getAssignedTo

      public String getAssignedTo()
    • getTagIds

      public List<Long> getTagIds()
    • getNomenclatureId

      public Long getNomenclatureId()
    • update

      public void update(String label, String description)
    • softDelete

      public void softDelete(Instant deletedDate, String deletedBy)
    • getId

      public Long getId()
    • getCode

      public String getCode()
    • getLabel

      public String getLabel()
    • getDescription

      public String getDescription()
    • getCreatedDate

      public Instant getCreatedDate()
    • getLastModifiedDate

      public Instant getLastModifiedDate()
    • getCreatedBy

      public String getCreatedBy()
    • getLastModifiedBy

      public String getLastModifiedBy()
    • getDeletedDate

      public Instant getDeletedDate()
    • getDeletedBy

      public String getDeletedBy()