public class Todo extends Object implements Serializable
Modifier | Constructor and Description |
---|---|
protected |
Todo()
Creates new instance.
|
|
Todo(long id,
long modelInstanceId,
String title,
String type,
TodoStatus status,
String interruptionReason,
Date issuedDate,
Date submittedDate,
Person allocatedTo,
Collection<? extends Performer> performers,
int delegationLevel,
String taskNamespace,
long taskId,
String taskName,
byte[] contentBytes,
Integer priority,
String notes,
TodoAuthorization authorization)
Creates new instance of
Todo . |
Modifier and Type | Method and Description |
---|---|
Person |
getAllocatedTo()
Returns the id of the user for which todo is allocated.
|
String |
getAllocatedToFullName()
Returns full name of the user for which todo is allocated.
|
String |
getAllocatedToLoginAndFullName()
Returns login and full name of the user for which todo is allocated.
|
TodoAuthorization |
getAuthorization()
Returns the reason why the person can see the to-do in his to-do list.
|
byte[] |
getContent()
Returns the todo content.
|
int |
getDelegationLevel()
Returns the delegation level.
|
Serializable |
getDeserializedContent()
Helper method to return deserialized content.
|
long |
getId()
Returns the todo id.
|
String |
getInterruptionReason()
Returns the reason for which the todo was interrupted.
|
Date |
getIssuedDate()
Returns the date when the todo was issued.
|
long |
getModelInstanceId()
Returns the process id.
|
String |
getNotes()
Returns the notes attached to the todo.
|
Set<Performer> |
getPerformers()
Returns the set of performers for the todo.
|
Integer |
getPriority()
Returns the todo priority in the personal todo list
|
TodoStatus |
getStatus()
Returns the status of the todo.
|
Date |
getSubmittedDate()
Returns the date when the todo was submitted.
|
long |
getTaskId()
Returns the identifier of the task which generated this todo.
|
String |
getTaskName()
Returns the name of the task which generated the todo.
|
String |
getTaskNamespace()
Returns the name of the namespace of the context for the task which generated the todo.
|
String |
getTitle()
Returns the title for todo.
|
String |
getType()
Returns the type of the todo.
|
protected Todo()
public Todo(long id, long modelInstanceId, String title, String type, TodoStatus status, String interruptionReason, Date issuedDate, Date submittedDate, Person allocatedTo, Collection<? extends Performer> performers, int delegationLevel, String taskNamespace, long taskId, String taskName, byte[] contentBytes, Integer priority, String notes, TodoAuthorization authorization)
Todo
.id
- modelInstanceId
- title
- type
- status
- interruptionReason
- issuedDate
- submittedDate
- allocatedTo
- performers
- delegationLevel
- taskNamespace
- taskId
- taskName
- contentBytes
- priority
- notes
- authorization
- NullPointerException
- if title
or type
or status
or issuedDate
or
taskNamespace
or taskName
or performers
is nullIllegalArgumentException
- if performers
contains nullpublic long getId()
public long getModelInstanceId()
public String getTitle()
public String getType()
public TodoStatus getStatus()
public Date getIssuedDate()
public Date getSubmittedDate()
public Person getAllocatedTo()
public String getAllocatedToFullName()
public String getAllocatedToLoginAndFullName()
public Set<Performer> getPerformers()
public int getDelegationLevel()
public String getTaskNamespace()
public long getTaskId()
public String getTaskName()
public String getInterruptionReason()
public Integer getPriority()
public String getNotes()
public TodoAuthorization getAuthorization()
public byte[] getContent()
public Serializable getDeserializedContent()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.