Agentflow
V3.1

si.wfcidata
Class AFPDEManager

java.lang.Object
  extended by si.wfcidata.AFPDEManager

public class AFPDEManager
extends java.lang.Object

AFPDEManager

Version:
1.1.5,
Author:
Flowring co.

Constructor Summary
AFPDEManager(WFCI wfci, WFDI wfdi)
          Constructor
 
Method Summary
 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.
 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.
 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.
 java.util.Vector getDepartmentList()
          Get Department list of the company.
 java.util.Vector getMemberList()
          Get MemberRecord list of the company.
 java.util.Vector getProjectRoleList(java.lang.String prj)
          Get AFProjectRole list of the Project.
 java.util.Vector getRoleList()
          Get Role list of the company.
 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.
 Department newDepartment()
          Create a Department instance.
 MemberRecord newMemberRecord()
          Create a MemberRecord instance.
 ProjectRole newProjectRole()
          Create a ProjectRole instance.
 Role newRole()
          Create a Role instance.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AFPDEManager

public AFPDEManager(WFCI wfci,
                    WFDI wfdi)
Constructor

Parameters:
wfci - WFCI interface
Method Detail

deleteCompany

public boolean deleteCompany(Company company)
                      throws WFCIException
Delete a Company in organization.

Parameters:
company - Company instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Company

deleteDepartment

public boolean deleteDepartment(Department dep)
                         throws WFCIException
Delete a Department in organization.

Parameters:
dep - Department instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Department

deleteMemberRecord

public boolean deleteMemberRecord(MemberRecord mbr)
                           throws WFCIException
Delete a MemberRecord in organization.

Parameters:
mbr - MemberRecord instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
MemberRecord

deleteProjectRole

public boolean deleteProjectRole(ProjectRole role)
                          throws WFCIException
Delete a ProjectRole.

Parameters:
role - ProjectRole instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
ProjectRole

deleteRole

public boolean deleteRole(Role role)
                   throws WFCIException
Delete a Role in organization.

Parameters:
role - Role instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Role

getAFProcess

public AFProcess getAFProcess(java.lang.String proID)
                       throws WFCIException
Get AFProcess with the ID.

Returns:
AFProcess instance
Throws:
WFCIException
See Also:
AFProcess

getAFProject

public AFProject getAFProject(java.lang.String prjID)
                       throws WFCIException
Get AFProject with the ID.

Returns:
AFProject instance
Throws:
WFCIException
See Also:
AFProject

getAFProjectOfCompany

public java.util.Vector getAFProjectOfCompany()
                                       throws WFCIException
Get AFProject list of the company.

Returns:
AFProject list(each element in Vector are pe.pde.AFProject)
Throws:
WFCIException
See Also:
AFProject

getArtifact

public Artifact getArtifact(java.lang.String artID)
                     throws WFCIException
Get Artifact with the ID.

Returns:
Artifact instance
Throws:
WFCIException
See Also:
Artifact

getArtifactSize

public AFSize getArtifactSize(java.lang.String artID)
                       throws WFCIException
Get AFSize of the Artifact with the ID.

Returns:
Artifact instance
Throws:
WFCIException
See Also:
AFSize

getArtifactState

public PASEartState getArtifactState(java.lang.String astID)
                              throws WFCIException
Get PASEartState with the ID.

Returns:
PASEartState instance
Throws:
WFCIException
See Also:
PASEartState

getDepartmentList

public java.util.Vector getDepartmentList()
                                   throws WFCIException
Get Department list of the company.

Returns:
Department list(each element in Vector are pe.pase.Department)
Throws:
WFCIException
See Also:
Department

getMemberList

public java.util.Vector getMemberList()
                               throws WFCIException
Get MemberRecord list of the company.

Returns:
MemberRecord list(each element in Vector are pe.pase.MemberRecord)
Throws:
WFCIException
See Also:
MemberRecord

getProjectRoleList

public java.util.Vector getProjectRoleList(java.lang.String prj)
                                    throws WFCIException
Get AFProjectRole list of the Project.

Returns:
AFProjectRole list(each element in Vector are pe.pde.AFProjectRole)
Throws:
WFCIException
See Also:
AFProjectRole

getRoleList

public java.util.Vector getRoleList()
                             throws WFCIException
Get Role list of the company.

Returns:
Role list(each element in Vector are pe.pase.Role)
Throws:
WFCIException
See Also:
Role

insertCompany

public boolean insertCompany(Company company)
                      throws WFCIException
Insert a Company to organization.

Parameters:
company - Company instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Company

insertDepartment

public boolean insertDepartment(Department dep)
                         throws WFCIException
Insert a Department to organization.

Parameters:
dep - Department instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Department

insertMemberRecord

public boolean insertMemberRecord(MemberRecord mbr)
                           throws WFCIException
Insert a MemberRecord to organization.

Parameters:
mbr - MemberRecord instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
MemberRecord

insertProjectRole

public boolean insertProjectRole(ProjectRole role)
                          throws WFCIException
Insert a ProjectRole to organization.

Parameters:
role - ProjectRole instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
ProjectRole

insertRole

public boolean insertRole(Role role)
                   throws WFCIException
Insert a Role to organization.

Parameters:
role - Role instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Role

newDepartment

public Department newDepartment()
                         throws WFCIException
Create a Department instance.

Returns:
Department
Throws:
WFCIException
See Also:
Department

newMemberRecord

public MemberRecord newMemberRecord()
                             throws WFCIException
Create a MemberRecord instance.

Returns:
MemberRecord
Throws:
WFCIException
See Also:
MemberRecord

newProjectRole

public ProjectRole newProjectRole()
                           throws WFCIException
Create a ProjectRole instance.

Returns:
ProjectRole
Throws:
WFCIException
See Also:
ProjectRole

newRole

public Role newRole()
             throws WFCIException
Create a Role instance.

Returns:
Role
Throws:
WFCIException
See Also:
Role

updateAFProcess

public boolean updateAFProcess(AFProcess pro)
                        throws WFCIException
Update AFProcess instance in database.

Returns:
true if succeeded
Throws:
WFCIException
See Also:
AFProcess

updateArtifactState

public boolean updateArtifactState(PASEartState state)
                            throws WFCIException
Update PASEartState instance in database.

Returns:
true if succeeded
Throws:
WFCIException
See Also:
PASEartState

updateCompany

public boolean updateCompany(Company company)
                      throws WFCIException
Update a Company in organization.

Parameters:
company - Company instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Company

updateDepartment

public boolean updateDepartment(Department dep)
                         throws WFCIException
Update a Department in organization.

Parameters:
dep - Department instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Department

updateMemberRecord

public boolean updateMemberRecord(MemberRecord mbr)
                           throws WFCIException
Update a MemberRecord in organization.

Parameters:
mbr - MemberRecord instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
MemberRecord

updateProjectRole

public boolean updateProjectRole(ProjectRole role)
                          throws WFCIException
Update a ProjectRole in organization.

Parameters:
role - ProjectRole instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
ProjectRole

updateRole

public boolean updateRole(Role role)
                   throws WFCIException
Update a Role in organization.

Parameters:
role - Role instance
Returns:
true if succeeded
Throws:
WFCIException
See Also:
Role

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.