public class PASEProcess
extends java.lang.Object
implements java.io.Serializable
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.
DBProcess
,
Task
,
memberDR
,
Serialized FormConstructor and Description |
---|
PASEProcess(java.lang.String id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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 |
getDefaultLang() |
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.util.HashMap |
getLocaleInfo() |
java.lang.String |
getName()
Get the process name
|
int |
getPriority()
Get the task priority
|
java.util.HashMap |
getPrjLocaleInfo() |
java.lang.String |
getProjectId() |
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 |
setDefaultLang(java.lang.String defaultLang) |
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 |
setLocaleInfo(java.util.HashMap localeInfo) |
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 |
setPrjLocaleInfo(java.util.HashMap prjLocaleInfo) |
void |
setProjectId(java.lang.String projectId) |
void |
setRoleID(java.lang.String rID)
Set the id of role of the memebr who executes the process.
|
void |
setRootSiblingOrder(int order) |
java.lang.String |
toString()
Deprecated.
Returns a string representation of the
PASEProcess . |
public PASEProcess(java.lang.String id)
PASEProcess
with the
specified process id.id
- the given process idpublic java.lang.String getID()
public void setID(java.lang.String id)
id
- the given process idpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the given process namepublic java.lang.String getDepartmentID()
public void setDepartmentID(java.lang.String dID)
dID
- the given department idpublic java.lang.String getRoleID()
public void setRoleID(java.lang.String rID)
rID
- the given role idpublic java.lang.String getRoleName()
public java.lang.String getDepartmentName()
public void setMemberDR(memberDR dr)
memberDR
which involves the data of executor.dr
- the process memberDR
memberDR
public java.lang.String getDepRolString()
public java.lang.String getKeyWord()
public void setKeyWord(java.lang.String key)
key
- the given task keywordpublic int getPriority()
public void setPriority(int tp)
public int getRootSiblingOrder()
public void setRootSiblingOrder(int order)
public java.lang.String getFavoriteCheck()
public void setFavoriteCheck(java.lang.String favorite)
public boolean equals(java.lang.Object obj)
PASEProcess
is equal in their
department id, role id, and process idequals
in class java.lang.Object
public int hashCode()
PASEProcess
instancehashCode
in class java.lang.Object
public java.lang.String toString()
PASEProcess
.toString
in class java.lang.Object
public java.lang.String getProjectId()
public void setProjectId(java.lang.String projectId)
public java.util.HashMap getLocaleInfo()
public void setLocaleInfo(java.util.HashMap localeInfo)
public java.util.HashMap getPrjLocaleInfo()
public void setPrjLocaleInfo(java.util.HashMap prjLocaleInfo)
public java.lang.String getDefaultLang()
public void setDefaultLang(java.lang.String defaultLang)
Copyright ? 2022. All Rights Reserved.