|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WFDI
WorkFlow Definition Interface
Method Summary | |
---|---|
boolean |
checkValidNameUser()
check if the license of Name User is bigger than the number in DB |
int |
connectServer(java.lang.String host,
java.lang.String port)
Connect to PASE server. |
boolean |
deleteCompany(Company company)
Delete a Company in organization. |
boolean |
deleteDepartment(Department dep)
Delete a Department in organization. |
boolean |
deleteMemberRecord(MemberRecord mbr)
Delete a MemberRecord in organization. |
boolean |
deleteProjectRole(ProjectRole role)
Delete a ProjectRole. |
boolean |
deleteRole(Role role)
Delete a Role in organization. |
int |
disconnectServer()
Disconnect to PASE server. |
AFConnection |
getAFConnection()
|
pe.pde.AFCountersign |
getAFCountersign(java.lang.String proID)
Get AFCountersign with the ID. |
AFProcess |
getAFProcess(java.lang.String proID)
Get AFProcess with the ID. |
AFProject |
getAFProject(java.lang.String prjID)
Get AFProject with the ID. |
java.util.Vector |
getAFProjectOfCompany()
Get AFProject list of the company. |
java.util.Vector |
getAllMember()
Get MemberRecord list of the company. |
Artifact |
getArtifact(java.lang.String artID)
Get Artifact with the ID. |
AFSize |
getArtifactSize(java.lang.String artID)
Get AFSize of the Artifact with the ID. |
PASEartState |
getArtifactState(java.lang.String astID)
Get PASEartState with the ID. |
int |
getDBNameUser()
Return the number of NameUser |
java.lang.String |
getFlowServerHost()
Get the PASE server address. |
java.lang.String |
getFlowServerPort()
Get the PASE server port. |
int |
getLicenseNameUser()
Return the license of NameUser |
java.util.Vector |
getOrgDepartmentList()
Get Department list of the company. |
java.util.Vector |
getOrgRoleList()
Get Role list of the company. |
java.util.Vector |
getProjectRoleList(java.lang.String prj)
Get AFProjectRole list of the Project. |
boolean |
insertCompany(Company company)
Insert a Company to organization. |
boolean |
insertDepartment(Department dep)
Insert a Department to organization. |
boolean |
insertMemberRecord(MemberRecord mbr)
Insert a MemberRecord to organization. |
boolean |
insertProjectRole(ProjectRole role)
Insert a ProjectRole to organization. |
boolean |
insertRole(Role role)
Insert a Role to organization. |
boolean |
isServerConnecting()
Check if wfdi is connecting with the server. |
Department |
newDepartment()
Create a Department instance. |
MemberRecord |
newMemberRecord()
Create a MemberRecord instance. |
ProjectRole |
newProjectRole()
Create a ProjectRole instance. |
Role |
newRole()
Create a Role instance. |
void |
setAFConnection(AFConnection afConn)
|
boolean |
updateAFCountersign(pe.pde.AFCountersign pro)
Update AFCountersign instance in database. |
boolean |
updateAFProcess(AFProcess pro)
Update AFProcess instance in database. |
boolean |
updateArtifactState(PASEartState state)
Update PASEartState instance in database. |
boolean |
updateCompany(Company company)
Update a Company in organization. |
boolean |
updateDepartment(Department dep)
Update a Department in organization. |
boolean |
updateMemberRecord(MemberRecord mbr)
Update a MemberRecord in organization. |
boolean |
updateProjectRole(ProjectRole role)
Update a ProjectRole in organization. |
boolean |
updateRole(Role role)
Update a Role in organization. |
Method Detail |
---|
boolean checkValidNameUser()
WFCIException
int connectServer(java.lang.String host, java.lang.String port)
host
- server addressport
- server port
boolean deleteCompany(Company company)
company
- Company instance
Company
boolean deleteDepartment(Department dep)
dep
- Department instance
Department
boolean deleteMemberRecord(MemberRecord mbr)
mbr
- MemberRecord instance
MemberRecord
boolean deleteProjectRole(ProjectRole role)
role
- ProjectRole instance
ProjectRole
boolean deleteRole(Role role)
role
- Role instance
Role
int disconnectServer()
AFConnection getAFConnection()
pe.pde.AFCountersign getAFCountersign(java.lang.String proID)
AFCountersign
AFProcess getAFProcess(java.lang.String proID)
AFProcess
AFProject getAFProject(java.lang.String prjID)
AFProject
java.util.Vector getAFProjectOfCompany()
AFProject
java.util.Vector getAllMember()
MemberRecord
Artifact getArtifact(java.lang.String artID)
Artifact
AFSize getArtifactSize(java.lang.String artID)
AFSize
PASEartState getArtifactState(java.lang.String astID)
PASEartState
int getDBNameUser()
-
java.lang.String getFlowServerHost()
java.lang.String getFlowServerPort()
int getLicenseNameUser()
-
java.util.Vector getOrgDepartmentList()
Department
java.util.Vector getOrgRoleList()
Role
java.util.Vector getProjectRoleList(java.lang.String prj)
AFProjectRole
boolean insertCompany(Company company)
company
- Company instance
Company
boolean insertDepartment(Department dep)
dep
- Department instance
Department
boolean insertMemberRecord(MemberRecord mbr)
mbr
- MemberRecord instance
MemberRecord
boolean insertProjectRole(ProjectRole role)
role
- ProjectRole instance
ProjectRole
boolean insertRole(Role role)
role
- Role instance
Role
boolean isServerConnecting()
Department newDepartment()
Department
MemberRecord newMemberRecord()
MemberRecord
ProjectRole newProjectRole()
ProjectRole
Role newRole()
Role
void setAFConnection(AFConnection afConn)
boolean updateAFCountersign(pe.pde.AFCountersign pro)
AFCountersign
boolean updateAFProcess(AFProcess pro)
AFProcess
boolean updateArtifactState(PASEartState state)
PASEartState
boolean updateCompany(Company company)
company
- Company instance
Company
boolean updateDepartment(Department dep)
dep
- Department instance
Department
boolean updateMemberRecord(MemberRecord mbr)
mbr
- MemberRecord instance
MemberRecord
boolean updateProjectRole(ProjectRole role)
role
- ProjectRole instance
ProjectRole
boolean updateRole(Role role)
role
- Role instance
Role
|
Agentflow V3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |