IBM BPM API for Web Service Clients v8.0.0

com.lombardisoftware.webapi
Class TaskSyncItem

java.lang.Object
  extended by com.lombardisoftware.webapi.TaskSyncItem
All Implemented Interfaces:
java.io.Serializable

public class TaskSyncItem
extends java.lang.Object
implements java.io.Serializable

A TaskSyncItem indicates to the client what should be done to synchronize their a task in a task list with the result of the saved search.

See Also:
Serialized Form

Constructor Summary
TaskSyncItem()
           
TaskSyncItem(TaskSyncAction action, Task task, long taskId)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 TaskSyncAction getAction()
          Gets the action value for this TaskSyncItem.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 Task getTask()
          Gets the task value for this TaskSyncItem.
 long getTaskId()
          Gets the taskId value for this TaskSyncItem.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setAction(TaskSyncAction action)
          Sets the action value for this TaskSyncItem.
 void setTask(Task task)
          Sets the task value for this TaskSyncItem.
 void setTaskId(long taskId)
          Sets the taskId value for this TaskSyncItem.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskSyncItem

public TaskSyncItem()

TaskSyncItem

public TaskSyncItem(TaskSyncAction action,
                    Task task,
                    long taskId)
Method Detail

getAction

public TaskSyncAction getAction()
Gets the action value for this TaskSyncItem.

Returns:
action * Can be either ADD, UPDATE, or REMOVE. If the value is ADD or UPDATE, then the TaskId and Task elements will be populated and the client can update their copy of the task from this object. If the value is DELETE, then only TaskId will be populated and the client should remove this task from their task list.

setAction

public void setAction(TaskSyncAction action)
Sets the action value for this TaskSyncItem.

Parameters:
action - * Can be either ADD, UPDATE, or REMOVE. If the value is ADD or UPDATE, then the TaskId and Task elements will be populated and the client can update their copy of the task from this object. If the value is DELETE, then only TaskId will be populated and the client should remove this task from their task list.

getTask

public Task getTask()
Gets the task value for this TaskSyncItem.

Returns:
task * The task to ADD or UPDATE. Missing or nil if the action is REMOVE.

setTask

public void setTask(Task task)
Sets the task value for this TaskSyncItem.

Parameters:
task - * The task to ADD or UPDATE. Missing or nil if the action is REMOVE.

getTaskId

public long getTaskId()
Gets the taskId value for this TaskSyncItem.

Returns:
taskId * The environment specific identifier for the task

setTaskId

public void setTaskId(long taskId)
Sets the taskId value for this TaskSyncItem.

Parameters:
taskId - * The environment specific identifier for the task

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


IBM BPM API for Web Service Clients v8.0.0

(C) Copyright IBM Corporation 2011. All Rights Reserved.