public class Project
extends java.lang.Object
implements java.io.Serializable
The project is the important element in an enterprise. In Agentflow System, any process is attached to one Project. There are some factors included in the project such as the project name, the manager, the member, the mission, and so on. These factors are supported in the filedes of the class introduced as following:
The ProjectID is unique and used to identify the specific project in the Agentflow System. However, in the real world, some enterprise has its own way to identify its project. Therefore, the ProjectUDID (User-Defined-ID) is used to meet the requirement by filling the corresponding projectID.
The ProjectName and the ProjectManagerID represent the name and the manager of the project. The later exists a RoleID. The ProjectDepartmentID indicates the Department which own the Project. The ProjectDescription is used to annotate the project. Then the ProjectAuthor and the ProjectVersion indicate the author and the version of the project. The later is reserved for the future extension of version control. It is just used for the document-generation to show the version presently.
Three kinds of lists contained in the class: the ProcessIDList, ArtifactIDList, and ProjectRoleIDList. They store the Process, Artifact, and ProjectRole attached to the Project.
ProjectRole
,
DBProcess
,
Serialized FormConstructor and Description |
---|
Project() |
Project(java.lang.String id)
Constructor.
|
Project(java.lang.String id,
java.lang.String password)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addArtifactRootID(java.lang.String artifactRootID)
Add the specified artifact id
|
void |
addFreqapRootID(java.lang.String id) |
void |
addProcessRootID(java.lang.String ProcessRootID)
Add the specified process id
|
void |
addProjectRoleRootID(java.lang.String prjRoleRootID)
Add the specified project role id
|
boolean |
checkFormOpenPassword(java.lang.String pass) |
java.util.Vector |
getArtifactRootIDList()
Get the artifact id list
|
java.lang.String |
getAuthorID()
Get the project author
|
java.lang.String |
getCompanyID()
Get the company id
|
java.lang.String |
getDepartmentID()
Get the project department id
|
java.lang.String |
getDescription()
Get the project description
|
java.util.Vector |
getFreqapRootIDList() |
java.lang.Object |
getHashKey() |
java.lang.String |
getID()
Get the project id
|
java.lang.String |
getManagerID()
Get the project manager id
|
java.lang.String |
getMyID()
Get the project user-define id
|
java.lang.String |
getName()
Get the project name
|
java.lang.String |
getName(java.lang.String locale) |
java.util.HashMap |
getPrjLocaleInfo() |
java.util.Vector |
getProcessRootIDList()
Get the process id list
|
java.util.Vector |
getProjectRoleRootIDList()
Get the project role id list
|
int |
getSiblingOrder() |
java.lang.String |
getVersion()
Get the project version
|
boolean |
isFormOpenProtected() |
boolean |
removeArtifactRootID(java.lang.String artifactRootID)
Remove the specified artifact id
|
boolean |
removeFreqapRootID(java.lang.String id) |
boolean |
removeProcessRootID(java.lang.String ProcessRootID)
Remove the specified process id
|
boolean |
removeProjectRoleRootID(java.lang.String prjRoleRootID)
Remove the specified project role id
|
void |
setArtifactRootIDList(java.util.Vector prList)
Set the artifact id list
|
void |
setAuthorID(java.lang.String authID)
Set the project author
|
void |
setCompanyID(java.lang.String companyID)
Set the company id
|
void |
setDepartmentID(java.lang.String depID)
Set the project department id
|
void |
setDescription(java.lang.String desc)
Set the project description
|
void |
setFreqapRootIDList(java.util.Vector list) |
void |
setID(java.lang.String id)
Set the project id
|
void |
setManagerID(java.lang.String id)
Set the project manager id
|
void |
setMyID(java.lang.String id)
Set the project user-define id
|
void |
setName(java.lang.String name)
Set the project name
|
void |
setPrjLocaleInfo(java.util.HashMap prjLocaleInfo) |
void |
setProcessRootIDList(java.util.Vector prList)
Set the process id list
|
void |
setProjectRoleRootIDList(java.util.Vector prList)
Set the project role id list
|
void |
setSiblingOrder(int order) |
void |
setVersion(java.lang.String ver)
Set the project version
|
java.lang.String |
toString()
Deprecated.
Get a string representation of the project.
|
void |
update(java.lang.Object obj) |
public Project()
public Project(java.lang.String id)
Project
with the
specified project id.id
- the given project idpublic Project(java.lang.String id, java.lang.String password)
Project
with the specified project id.id
- the given project idid
- the given project open form passwordpublic java.lang.String getID()
public void setID(java.lang.String id)
id
- the given project idpublic java.lang.String getMyID()
public void setMyID(java.lang.String id)
id
- the given project user-define idpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- the given project namepublic java.lang.String getDescription()
public void setDescription(java.lang.String desc)
desc
- the given project descriptionpublic java.lang.String getVersion()
public void setVersion(java.lang.String ver)
ver
- the given project versionpublic java.lang.String getDepartmentID()
public void setDepartmentID(java.lang.String depID)
depID
- the given project department idpublic java.lang.String getManagerID()
public void setManagerID(java.lang.String id)
id
- the given project manager idpublic java.lang.String getAuthorID()
public void setAuthorID(java.lang.String authID)
authID
- the given project authorpublic java.lang.String getCompanyID()
public void setCompanyID(java.lang.String companyID)
companyID
- the given company idpublic java.util.Vector getProcessRootIDList()
Vector
is root process id)public void setProcessRootIDList(java.util.Vector prList)
prList
- the given process id list (each element in Vector
is root process id)public void addProcessRootID(java.lang.String ProcessRootID)
ProcessRootID
- the given process idpublic boolean removeProcessRootID(java.lang.String ProcessRootID)
ProcessRootID
- the given process idpublic java.util.Vector getArtifactRootIDList()
Vector
is artifact id)public void setArtifactRootIDList(java.util.Vector prList)
prList
- the given artifact id list (each element in Vector
is artifact id)public void addArtifactRootID(java.lang.String artifactRootID)
artifactRootID
- the given artifact idpublic boolean removeArtifactRootID(java.lang.String artifactRootID)
artifactRootID
- the given artifact idpublic java.util.Vector getProjectRoleRootIDList()
Vector
is project role id)public void setProjectRoleRootIDList(java.util.Vector prList)
prList
- the given project role id list (each element in Vector
is project role id)public void addProjectRoleRootID(java.lang.String prjRoleRootID)
prjRoleRootID
- the given project role idpublic boolean removeProjectRoleRootID(java.lang.String prjRoleRootID)
prjRoleRootID
- the given project role idpublic void setSiblingOrder(int order)
public int getSiblingOrder()
public java.util.Vector getFreqapRootIDList()
public void setFreqapRootIDList(java.util.Vector list)
public void addFreqapRootID(java.lang.String id)
public boolean removeFreqapRootID(java.lang.String id)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean isFormOpenProtected()
public boolean checkFormOpenPassword(java.lang.String pass)
public void update(java.lang.Object obj)
public java.lang.Object getHashKey()
public java.util.HashMap getPrjLocaleInfo()
public void setPrjLocaleInfo(java.util.HashMap prjLocaleInfo)
public java.lang.String getName(java.lang.String locale)
Copyright ? 2022. All Rights Reserved.