Agentflow
V3.1

si.wfcidata
Class AFTaskList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.Vector
              extended by si.wfcidata.AFTaskList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public class AFTaskList
extends java.util.Vector

AFTaskList

Version:
1.1.5,
Author:
Flowring co.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Vector
capacityIncrement, elementCount, elementData
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
AFTaskList(WFCI wfci)
          Constructor
AFTaskList(WFCI wfci, java.util.Vector taskList)
          Constructor
AFTaskList(WFCI wfci, java.util.Vector taskList, java.lang.String opID)
          Constructor
 
Method Summary
 boolean add(AFTask afTask)
          Add an AFTask to AFTaskList.
 boolean add(Task task)
          Add a task to AFTaskList.
 AFTask getAFTask(java.lang.String tID)
          Get a AFTask object from this AFTasklist.
 int getAFTaskCount()
          Get the total number of tasks on the tasklist.
 java.util.Vector getTaskIDList()
          Get the AFTask ID array
 boolean reload()
          Reload the AFTaskList with the latest AFTasks.
 boolean removeAFTask(AFTask afTask)
          Removes the task from this AFTaskList
 void setOperatingMemberID(java.lang.String mID)
          Set the operating member ID for every AFTask in the AFTaskList
 
Methods inherited from class java.util.Vector
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, lastElement, lastIndexOf, lastIndexOf, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, toString, trimToSize
 
Methods inherited from class java.util.AbstractList
iterator, listIterator, listIterator
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
iterator, listIterator, listIterator
 

Constructor Detail

AFTaskList

public AFTaskList(WFCI wfci)
Constructor

Parameters:
wfci - WFCI interface

AFTaskList

public AFTaskList(WFCI wfci,
                  java.util.Vector taskList)
Constructor

Parameters:
wfci - WFCI interface
taskList - Task array

AFTaskList

public AFTaskList(WFCI wfci,
                  java.util.Vector taskList,
                  java.lang.String opID)
           throws WFCIException
Constructor

Parameters:
wfci - WFCI interface
taskList - Task array
opID - the operating member ID
Throws:
WFCIException
Method Detail

add

public boolean add(AFTask afTask)
Add an AFTask to AFTaskList.

Parameters:
afTask - AFTask object

add

public boolean add(Task task)
            throws WFCIException
Add a task to AFTaskList.

Parameters:
task - Task object
Throws:
WFCIException

getAFTask

public AFTask getAFTask(java.lang.String tID)
Get a AFTask object from this AFTasklist.

Parameters:
tID - ID of the AFTask
Returns:
the AFTask

getAFTaskCount

public int getAFTaskCount()
Get the total number of tasks on the tasklist.

Returns:
the total number of tasks on the AFTasklist.

getTaskIDList

public java.util.Vector getTaskIDList()
Get the AFTask ID array

Returns:
AFTask ID array

reload

public boolean reload()
Reload the AFTaskList with the latest AFTasks.

Returns:
true if success else false.

removeAFTask

public boolean removeAFTask(AFTask afTask)
Removes the task from this AFTaskList

Parameters:
afTask - AFTask to remove
Returns:
true if success else false

setOperatingMemberID

public void setOperatingMemberID(java.lang.String mID)
Set the operating member ID for every AFTask in the AFTaskList

Parameters:
mID - the operating member ID

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.