|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpe.pase.Project
public class Project
A data object to represent the concept of project in a enterprise.
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 Summary | |
---|---|
Project()
|
|
Project(java.lang.String id)
Constructor. |
|
Project(java.lang.String id,
java.lang.String password)
Constructor. |
Method Summary | |
---|---|
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.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 |
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 |
void |
update(java.lang.Object obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 passwordMethod Detail |
---|
public void addArtifactRootID(java.lang.String artifactRootID)
artifactRootID
- the given artifact idpublic void addFreqapRootID(java.lang.String id)
public void addProcessRootID(java.lang.String ProcessRootID)
ProcessRootID
- the given process idpublic void addProjectRoleRootID(java.lang.String prjRoleRootID)
prjRoleRootID
- the given project role idpublic boolean checkFormOpenPassword(java.lang.String pass)
public java.util.Vector getArtifactRootIDList()
Vector
is artifact id)public java.lang.String getAuthorID()
public java.lang.String getCompanyID()
public java.lang.String getDepartmentID()
public java.lang.String getDescription()
public java.util.Vector getFreqapRootIDList()
public java.lang.Object getHashKey()
getHashKey
in interface com.flowring.entity.Entity
public java.lang.String getID()
public java.lang.String getManagerID()
public java.lang.String getMyID()
public java.lang.String getName()
public java.util.Vector getProcessRootIDList()
Vector
is root process id)public java.util.Vector getProjectRoleRootIDList()
Vector
is project role id)public int getSiblingOrder()
public java.lang.String getVersion()
public boolean isFormOpenProtected()
public boolean removeArtifactRootID(java.lang.String artifactRootID)
artifactRootID
- the given artifact id
public boolean removeFreqapRootID(java.lang.String id)
public boolean removeProcessRootID(java.lang.String ProcessRootID)
ProcessRootID
- the given process id
public boolean removeProjectRoleRootID(java.lang.String prjRoleRootID)
prjRoleRootID
- the given project role id
public void setArtifactRootIDList(java.util.Vector prList)
prList
- the given artifact id list (each element in Vector
is artifact id)public void setAuthorID(java.lang.String authID)
authID
- the given project authorpublic void setCompanyID(java.lang.String companyID)
companyID
- the given company idpublic void setDepartmentID(java.lang.String depID)
depID
- the given project department idpublic void setDescription(java.lang.String desc)
desc
- the given project descriptionpublic void setFreqapRootIDList(java.util.Vector list)
public void setID(java.lang.String id)
id
- the given project idpublic void setManagerID(java.lang.String id)
id
- the given project manager idpublic void setMyID(java.lang.String id)
id
- the given project user-define idpublic void setName(java.lang.String name)
name
- the given project namepublic void setProcessRootIDList(java.util.Vector prList)
prList
- the given process id list (each element in Vector
is root process 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 setSiblingOrder(int order)
public void setVersion(java.lang.String ver)
ver
- the given project versionpublic void update(java.lang.Object obj)
update
in interface com.flowring.entity.Entity
|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |