Agentflow
V3.1

pe.pase
Class PASEProcess

java.lang.Object
  extended by pe.pase.PASEProcess
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AFProcess

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

The class is used for Client-Side of Agentflow. It holds the information necessary for initializing a process. The information include ProcessID, ProcessName, TaskKeyword, TaskPriority, and ProcessMDR. The detail of The ProcessMDR is introduced in pe.pase.memberDR.

The fields of ProcessID, ProcessName, and ProcessMDR are filled in the server-side and sent to the client. When the user activates the process, the other two field TaskKeyword and TaskPriority are filled and send back to the server to initialize the Task.

Since:
version 1.0.0
Version:
1.1.5,, 1.0
Author:
yschen@flowring.com
See Also:
DBProcess, Task, memberDR, Serialized Form

Constructor Summary
PASEProcess(java.lang.String id)
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          To determine whether two PASEProcess is equal in their department id, role id, and process id
 java.lang.String getDepartmentID()
          Get the id of department which includes the member who executes the process.
 java.lang.String getDepartmentName()
          Get the name of department which includes the member who executes the process.
 java.lang.String getDepRolString()
          Get the string formatted by department name and role name, which is used in process frame in Agenda
 java.lang.String getFavoriteCheck()
           
 java.lang.String getID()
          Get the process id
 java.lang.String getKeyWord()
          Get the task keyword
 java.lang.String getName()
          Get the process name
 int getPriority()
          Get the task priority
 java.lang.String getRoleID()
          Get the id of role of the member who executes the process.
 java.lang.String getRoleName()
          Get the name of role of the member who executes the process.
 int getRootSiblingOrder()
           
 int hashCode()
          Create the hashcode of the PASEProcess instance
 void setDepartmentID(java.lang.String dID)
          Set the id of department which includes the member who executes the process.
 void setFavoriteCheck(java.lang.String favorite)
           
 void setID(java.lang.String id)
          Set the process id
 void setKeyWord(java.lang.String key)
          Set the task keyword
 void setMemberDR(memberDR dr)
          Set the memberDR which involves the data of executor.
 void setName(java.lang.String name)
          Set the process name
 void setPriority(int tp)
          Set the task priority
 void setRoleID(java.lang.String rID)
          Set the id of role of the memebr who executes the process.
 void setRootSiblingOrder(int order)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PASEProcess

public PASEProcess(java.lang.String id)
Constructor. Constructs a instance of PASEProcess with the specified process id.

Parameters:
id - the given process id
Since:
version 1.0.0
Method Detail

equals

public boolean equals(java.lang.Object obj)
To determine whether two PASEProcess is equal in their department id, role id, and process id

Overrides:
equals in class java.lang.Object
Returns:
true if equal; fasle otherwise
Since:
version 1.0.0

getDepartmentID

public java.lang.String getDepartmentID()
Get the id of department which includes the member who executes the process.

Returns:
the department id
Since:
version 1.0.0

getDepartmentName

public java.lang.String getDepartmentName()
Get the name of department which includes the member who executes the process.

Returns:
the department name
Since:
version 1.0.0

getDepRolString

public java.lang.String getDepRolString()
Get the string formatted by department name and role name, which is used in process frame in Agenda

Returns:
the string
Since:
version 1.0.2

getFavoriteCheck

public java.lang.String getFavoriteCheck()

getID

public java.lang.String getID()
Get the process id

Returns:
the process id
Since:
version 1.0.0

getKeyWord

public java.lang.String getKeyWord()
Get the task keyword

Returns:
the task keyword
Since:
version 1.0.0

getName

public java.lang.String getName()
Get the process name

Returns:
the process name
Since:
version 1.0.0

getPriority

public int getPriority()
Get the task priority

Returns:
the task priority (Task.PRIORITY_HIGHEST, Task.PRIORITY_HIGH, ...)
Since:
version 1.0.0

getRoleID

public java.lang.String getRoleID()
Get the id of role of the member who executes the process.

Returns:
the role id
Since:
version 1.0.0

getRoleName

public java.lang.String getRoleName()
Get the name of role of the member who executes the process.

Returns:
the role name
Since:
version 1.0.0

getRootSiblingOrder

public int getRootSiblingOrder()

hashCode

public int hashCode()
Create the hashcode of the PASEProcess instance

Overrides:
hashCode in class java.lang.Object
Returns:
the hashcode
Since:
version 1.0.0

setDepartmentID

public void setDepartmentID(java.lang.String dID)
Set the id of department which includes the member who executes the process.

Parameters:
dID - the given department id
Since:
version 1.0.3

setFavoriteCheck

public void setFavoriteCheck(java.lang.String favorite)

setID

public void setID(java.lang.String id)
Set the process id

Parameters:
id - the given process id
Since:
version 1.0.0

setKeyWord

public void setKeyWord(java.lang.String key)
Set the task keyword

Parameters:
key - the given task keyword
Since:
version 1.0.0

setMemberDR

public void setMemberDR(memberDR dr)
Set the memberDR which involves the data of executor.

Parameters:
dr - the process memberDR
Since:
version 1.0.0
See Also:
memberDR

setName

public void setName(java.lang.String name)
Set the process name

Parameters:
name - the given process name
Since:
version 1.0.0

setPriority

public void setPriority(int tp)
Set the task priority

Since:
version 1.0.0

setRoleID

public void setRoleID(java.lang.String rID)
Set the id of role of the memebr who executes the process.

Parameters:
rID - the given role id
Since:
version 1.0.0

setRootSiblingOrder

public void setRootSiblingOrder(int order)

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.