Package com.axelor.team.db
Class TeamTask
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.team.db.TeamTask
-
@Entity @Track(fields={@TrackField(name="name"),@TrackField(name="status"),@TrackField(name="priority"),@TrackField(name="taskDate"),@TrackField(name="taskDuration"),@TrackField(name="taskDeadline"),@TrackField(name="assignedTo")},messages={@TrackMessage(message="Task created",condition="true",on=CREATE),@TrackMessage(message="Task closed",condition="status == \'closed\'",tag="success",on=UPDATE,fields="status"),@TrackMessage(message="Urgent",condition="priority == \'urgent\'",tag="important",on=UPDATE,fields="priority")},contents=@TrackMessage(message="#{description}",condition="true",fields="description"),files=true) public class TeamTask extends AuditableModel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
User
getAssignedTo()
String
getAttrs()
String
getDescription()
Long
getId()
String
getName()
String
getPriority()
Long
getRelatedId()
String
getRelatedModel()
String
getRelatedName()
Integer
getSequence()
String
getStatus()
LocalDate
getTaskDate()
LocalDate
getTaskDeadline()
Integer
getTaskDuration()
Team
getTeam()
int
hashCode()
void
setAssignedTo(User assignedTo)
void
setAttrs(String attrs)
void
setDescription(String description)
void
setId(Long id)
void
setName(String name)
void
setPriority(String priority)
void
setRelatedId(Long relatedId)
void
setRelatedModel(String relatedModel)
void
setRelatedName(String relatedName)
void
setSequence(Integer sequence)
void
setStatus(String status)
void
setTaskDate(LocalDate taskDate)
void
setTaskDeadline(LocalDate taskDeadline)
void
setTaskDuration(Integer taskDuration)
void
setTeam(Team team)
String
toString()
-
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
-
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
-
-
-
Constructor Detail
-
TeamTask
public TeamTask()
-
TeamTask
public TeamTask(String name)
-
-
Method Detail
-
getTeam
public Team getTeam()
-
setTeam
public void setTeam(Team team)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
getPriority
public String getPriority()
-
setPriority
public void setPriority(String priority)
-
getSequence
public Integer getSequence()
-
setSequence
public void setSequence(Integer sequence)
-
getTaskDate
public LocalDate getTaskDate()
-
setTaskDate
public void setTaskDate(LocalDate taskDate)
-
getTaskDuration
public Integer getTaskDuration()
-
setTaskDuration
public void setTaskDuration(Integer taskDuration)
-
getTaskDeadline
public LocalDate getTaskDeadline()
-
setTaskDeadline
public void setTaskDeadline(LocalDate taskDeadline)
-
getRelatedModel
public String getRelatedModel()
-
setRelatedModel
public void setRelatedModel(String relatedModel)
-
getRelatedName
public String getRelatedName()
-
setRelatedName
public void setRelatedName(String relatedName)
-
getRelatedId
public Long getRelatedId()
-
setRelatedId
public void setRelatedId(Long relatedId)
-
getAssignedTo
public User getAssignedTo()
-
setAssignedTo
public void setAssignedTo(User assignedTo)
-
getAttrs
public String getAttrs()
-
setAttrs
public void setAttrs(String attrs)
-
-