Enterprise Information Portal APIs

com.ibm.mm.beans.workflow
Class CMBWorkPackageICM

java.lang.Object
  |
  +--com.ibm.mm.beans.workflow.CMBWorkPackageICM
All Implemented Interfaces:
java.io.Serializable

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

This class represents a ICM workpackage.

See Also:
CMBDocRoutingQueryService, Serialized Form

Constructor Summary
CMBWorkPackageICM()
          Default constructor
 
Method Summary
 CMBConnection getConnection()
          Get the reference of connection bean.
 int getInstance()
          Get instance.
 java.lang.String getItemPidString()
          Get persistent id (pid string) for the item in this workpackage.
 boolean getNotifyState()
          Get notify state.
 java.lang.String getNotifyTime()
          Get notification time.
 java.lang.String getOwner()
          Get owner for this workpackage.
 java.lang.String getPidString()
          Get the persistent id (pid string) for this workpackage.
 int getPriority()
          Get priority.
 java.lang.String getProcessName()
          Get process name for this workpackage.
 java.util.Collection getResumeList()
          Get the resume list.
 java.lang.String getResumeTime()
          Get resume time.
 boolean getSuspendState()
          Get suspend state.
 java.lang.String getTimeLastMoved()
          Get time last moved.
 java.lang.String getUserLastMoved()
          Get user last moved.
 java.lang.String getWorkNodeName()
          Get the worknode name for this workpackage.
 void setConnection(CMBConnection connection)
          Set the reference of connection bean.
 void setInstance(int instance)
          Set instance state.
 void setItemPidString(java.lang.String itemPidString)
          Set persistent id (pid string) for the item in this workpackage.
 void setNotifyTime(java.lang.String notifyTime)
          Set notify time.
 void setOwner(java.lang.String owner)
          Set owner for this workpackage.
 void setPidString(java.lang.String pidString)
          Set persistent id (pid string) for this workpackage.
 void setPriority(int priority)
          Set priority.
 void setProcessName(java.lang.String processName)
          Set process name for this workpackage.
 void setResumeList(java.util.Collection resumeList)
          Set the resume list.
 void setResumeTime(java.lang.String resumeTime)
          Set resume time.
 void setTimeLastMoved(java.lang.String timeLastMoved)
          Set time last moved.
 void setUserLastMoved(java.lang.String userLastMoved)
          Set user last moved.
 void setWorkNodeName(java.lang.String workNodeName)
          Sets the worknode name for this workpackage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMBWorkPackageICM

public CMBWorkPackageICM()
                  throws java.lang.Exception
Default constructor
Method Detail

getResumeList

public java.util.Collection getResumeList()
Get the resume list.
Returns:
a collection of CMBResumeListEntryICM objects. Null is returned if resume list is not set.

setResumeList

public void setResumeList(java.util.Collection resumeList)
Set the resume list.
Parameters:
resumeList. - A collection of CMBResumeListEntryICM objects.

getProcessName

public java.lang.String getProcessName()
Get process name for this workpackage.
Returns:
the process name. Null is returned if the process name is not set.

setProcessName

public void setProcessName(java.lang.String processName)
Set process name for this workpackage.
Parameters:
processName - the process name

getOwner

public java.lang.String getOwner()
Get owner for this workpackage.
Returns:
the owner. Null is returned if the owner is not set.

setOwner

public void setOwner(java.lang.String owner)
Set owner for this workpackage.
Parameters:
owner - the owner

getWorkNodeName

public java.lang.String getWorkNodeName()
Get the worknode name for this workpackage.
Returns:
the worknode name. Null is returned if the worknode name is not set.

setWorkNodeName

public void setWorkNodeName(java.lang.String workNodeName)
Sets the worknode name for this workpackage.
Parameters:
workNodeName - the worknode name

getPidString

public java.lang.String getPidString()
Get the persistent id (pid string) for this workpackage.
Returns:
the workpackage persistent id.

setPidString

public void setPidString(java.lang.String pidString)
Set persistent id (pid string) for this workpackage.
Parameters:
pidString - the persistent id (pid string)

getItemPidString

public java.lang.String getItemPidString()
Get persistent id (pid string) for the item in this workpackage.
Returns:
the item persistent id (pid string).

setItemPidString

public void setItemPidString(java.lang.String itemPidString)
Set persistent id (pid string) for the item in this workpackage.
Parameters:
itemPidString - the items persistent id (pid string)

getUserLastMoved

public java.lang.String getUserLastMoved()
Get user last moved.
Returns:
the user last moved. Null is returned if the user last moved is not set.

setUserLastMoved

public void setUserLastMoved(java.lang.String userLastMoved)
Set user last moved.
Parameters:
userLastMoved - the user who last routed the workpackage.

getPriority

public int getPriority()
Get priority.
Returns:
the priority.

setPriority

public void setPriority(int priority)
Set priority.
Parameters:
priority - the priority

getNotifyState

public boolean getNotifyState()
Get notify state.
Returns:
the notify state.

getInstance

public int getInstance()
Get instance.
Returns:
the instance.

setInstance

public void setInstance(int instance)
Set instance state.
Parameters:
instance - the instance

getSuspendState

public boolean getSuspendState()
Get suspend state.
Returns:
the suspend state.

getResumeTime

public java.lang.String getResumeTime()
Get resume time. Resume time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss .
Returns:
resume time. Null is returned if the resumeTime is not set

setResumeTime

public void setResumeTime(java.lang.String resumeTime)
Set resume time. Resume time must be in military time and format: yyyy-mo-dd-hh.mi.ss
Parameters:
resumeTime - the resume time

getNotifyTime

public java.lang.String getNotifyTime()
Get notification time. Notification time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss .
Returns:
notification time. Null is returned if the notifiationTime is not set

setNotifyTime

public void setNotifyTime(java.lang.String notifyTime)
Set notify time. Notify time must be in military time and format: yyyy-mo-dd-hh.mi.ss
Parameters:
notifyTime - the notification time

getTimeLastMoved

public java.lang.String getTimeLastMoved()
Get time last moved. Time last moved is returned as a String in military time format: yyyy-mo-dd-hh.mi.ss .
Returns:
timeLastMoved the last time the workpackage was moved. Null is returned if the time last moved is not set.

setTimeLastMoved

public void setTimeLastMoved(java.lang.String timeLastMoved)
Set time last moved. Time last moved must be in military time and format: yyyy-mo-dd-hh.mi.ss .
Parameters:
timeLastMoved - the last time the workpackage was moved.

setConnection

public void setConnection(CMBConnection connection)
Set the reference of connection bean.
Parameters:
connection - reference of connection bean

getConnection

public CMBConnection getConnection()
Get the reference of connection bean.

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.