edu.cmu.hcii.calo.messagePassing.TaskMessage Class Reference

Inherits edu.cmu.hcii.calo.messagePassing.Message.

Inheritance diagram for edu.cmu.hcii.calo.messagePassing.TaskMessage:

Inheritance graph
[legend]
Collaboration diagram for edu.cmu.hcii.calo.messagePassing.TaskMessage:

Collaboration graph
[legend]
List of all members.

Detailed Description

A type of Message that pertains to the modification and management of Task instances.

Author:
Brian Ellis


Public Types

enum  TaskMessageType
 The possible types of a TaskMessage. More...

Public Member Functions

 TaskMessage (AbstractManager manager, TaskMessageType type, Task t)
 Constructs a TaskMessage for the given manager, message type, and task.
 TaskMessage (AbstractManager manager, TaskMessageType type, Task t, Map< String, Object > userInfo)
 Constructs a TaskMessage for the given manager, message type, task, and user info map.
Task getTask ()
 Accessor method for task.

Static Public Attributes

User info map keys
These strings are the defined keys for use in the user info dictionary.

static final String OLD_DUE_DATE = "OldDueDate"
 The old due date.
static final String NEW_DUE_DATE = "NewDueDate"
 The new due date.
static final String OLD_NAME = "OldName"
 The old name.
static final String NEW_NAME = "NewName"
 The new name.
static final String OLD_PRIORITY = "OldPriority"
 The old priority.
static final String NEW_PRIORITY = "NewPriority"
 The new priority.
static final String OLD_PENDING_STATE = "OldPendingState"
 The old pending state.
static final String NEW_PENDING_STATE = "NewPendingState"
 The new pending state.
static final String OLD_RESOURCES = "OldResources"
 The old resources.
static final String NEW_RESOURCES = "NewResources"
 The new resources.
static final String OLD_TAGS = "OldTags"
 The old tags.
static final String NEW_TAGS = "NewTags"
 The new tags.
static final String OLD_PROJECT = "OldProject"
 The old project.
static final String NEW_PROJECT = "NewProject"
 The new project.
static final String OLD_COMPLETE = "OldComplete"
 The old task complete status.
static final String NEW_COMPLETE = "NewComplete"
 The new task complete status.
static final String OLD_STARRED = "OldStarred"
 The old starredness status.
static final String NEW_STARRED = "NewStarred"
 The new starredness status.
static final String OLD_DATE_COMPLETED = "OldDateCompleted"
 The old due date.
static final String NEW_DATE_COMPLETED = "NewDateCompleted"
 The old due date.

Private Member Functions

 TaskMessage (Observable sender, MessageType type)
 Private constructor.
 TaskMessage (Observable sender, MessageType type, Map< String, Object > userInfo)
 Private constructor.

Private Attributes

Task task
 The task to which this message pertains.

Static Private Attributes

static final long serialVersionUID = 2199548101869340621L
 To prevent serialization collisions.


Member Enumeration Documentation

enum edu::cmu::hcii::calo::messagePassing::TaskMessage::TaskMessageType

The possible types of a TaskMessage.

Author:
Brian Ellis


Constructor & Destructor Documentation

edu.cmu.hcii.calo.messagePassing.TaskMessage.TaskMessage ( AbstractManager  manager,
TaskMessageType  type,
Task  t 
)

Constructs a TaskMessage for the given manager, message type, and task.

Parameters:
manager the manager sending the message
type the type of the message
t the task to which the message pertains

edu.cmu.hcii.calo.messagePassing.TaskMessage.TaskMessage ( AbstractManager  manager,
TaskMessageType  type,
Task  t,
Map< String, Object >  userInfo 
)

Constructs a TaskMessage for the given manager, message type, task, and user info map.

Parameters:
manager the manager sending the message
type the type of the message
t the task to which the message pertains
userInfo the user info map for this message

edu.cmu.hcii.calo.messagePassing.TaskMessage.TaskMessage ( Observable  sender,
MessageType  type 
) [private]

Private constructor.

Use TaskMessage.TaskMessage(Observable, MessageType, Task) instead.

Parameters:
sender the object that sent this message
type the type of this message

edu.cmu.hcii.calo.messagePassing.TaskMessage.TaskMessage ( Observable  sender,
MessageType  type,
Map< String, Object >  userInfo 
) [private]

Private constructor.

Use TaskMessage.TaskMessage(Observable, MessageType, Task, Map) instead.

Parameters:
sender the object that sent this message
type the type of this message
userInfo the map of message-specific data associated with this message


Member Function Documentation

Task edu.cmu.hcii.calo.messagePassing.TaskMessage.getTask (  ) 

Accessor method for task.

Returns:
the value of task


Member Data Documentation

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_DUE_DATE = "OldDueDate" [static]

The old due date.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_DUE_DATE = "NewDueDate" [static]

The new due date.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_NAME = "OldName" [static]

The old name.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_NAME = "NewName" [static]

The new name.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_PRIORITY = "OldPriority" [static]

The old priority.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_PRIORITY = "NewPriority" [static]

The new priority.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_PENDING_STATE = "OldPendingState" [static]

The old pending state.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_PENDING_STATE = "NewPendingState" [static]

The new pending state.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_RESOURCES = "OldResources" [static]

The old resources.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_RESOURCES = "NewResources" [static]

The new resources.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_TAGS = "OldTags" [static]

The old tags.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_TAGS = "NewTags" [static]

The new tags.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_PROJECT = "OldProject" [static]

The old project.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_PROJECT = "NewProject" [static]

The new project.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_COMPLETE = "OldComplete" [static]

The old task complete status.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_COMPLETE = "NewComplete" [static]

The new task complete status.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_STARRED = "OldStarred" [static]

The old starredness status.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_STARRED = "NewStarred" [static]

The new starredness status.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.OLD_DATE_COMPLETED = "OldDateCompleted" [static]

The old due date.

final String edu.cmu.hcii.calo.messagePassing.TaskMessage.NEW_DATE_COMPLETED = "NewDateCompleted" [static]

The old due date.

final long edu.cmu.hcii.calo.messagePassing.TaskMessage.serialVersionUID = 2199548101869340621L [static, private]

To prevent serialization collisions.

Task edu.cmu.hcii.calo.messagePassing.TaskMessage.task [private]

The task to which this message pertains.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:16 2007 for CALO by  doxygen 1.5.2