Agentflow
V3.1

si.wfcidata
Class AFDepartment

java.lang.Object
  extended by pe.pase.Department
      extended by si.wfcidata.AFDepartment
All Implemented Interfaces:
com.flowring.entity.Entity, java.io.Serializable

public class AFDepartment
extends Department

AFDepartment

Version:
1.1.5,
Author:
Flowring co.
See Also:
Serialized Form

Constructor Summary
AFDepartment(WFCI wfci)
          Constructor
AFDepartment(WFCI wfci, Department department)
          Constructor
 
Method Summary
 java.util.Vector getAFRoleList()
          Get adjacent AFRoles of the AFDepartment
 java.util.Vector getAllAFRoleList()
          Get all AFRoles descendents of the AFDepartment
 java.util.Vector getAllSubAFDepartment()
          Get all sub-department descendents of this AFDepartment
 Department getDepartment()
          Get the Department instance in order to comunucate with PASE server
 AFRole getManager()
          Get the manager of the AFDepartment
 java.lang.Object getParent()
          Get parent of this AFDepartment
 java.util.Vector getSubAFDepartment()
          Get adjacent sub-department of this AFDepartment
 
Methods inherited from class pe.pase.Department
addRoleID, addSubDepartmentID, getHashKey, getID, getManagerID, getMyID, getName, getParentID, getResopnsibility, getRoleList, getSiblingOrder, getSubDepartmentList, getSynopsis, getUnitID, removeRoleID, removeSubDepartmentID, setID, setManagerID, setMyID, setName, setParentID, setResopnsibility, setRoleList, setSiblingOrder, setSubDepartmentList, setSynopsis, setUnitID, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AFDepartment

public AFDepartment(WFCI wfci)
Constructor

Parameters:
wfci - WFCI interface

AFDepartment

public AFDepartment(WFCI wfci,
                    Department department)
             throws WFCIException
Constructor

Parameters:
wfci - WFCI interface
department - Department object
Throws:
WFCIException
Method Detail

getAFRoleList

public java.util.Vector getAFRoleList()
                               throws WFCIException
Get adjacent AFRoles of the AFDepartment

Returns:
AFRole Vector(each element in Vector are AFRole)
Throws:
WFCIException

getAllAFRoleList

public java.util.Vector getAllAFRoleList()
                                  throws WFCIException
Get all AFRoles descendents of the AFDepartment

Returns:
AFRole Vector(each element in Vector are AFRole)
Throws:
WFCIException

getAllSubAFDepartment

public java.util.Vector getAllSubAFDepartment()
                                       throws WFCIException
Get all sub-department descendents of this AFDepartment

Returns:
sub-AFDepartment Vector(each element in Vector are AFDepartment)
Throws:
WFCIException

getDepartment

public Department getDepartment()
Get the Department instance in order to comunucate with PASE server

Returns:
a Department instance

getManager

public AFRole getManager()
                  throws WFCIException
Get the manager of the AFDepartment

Returns:
the manager AFRole
Throws:
WFCIException

getParent

public java.lang.Object getParent()
                           throws WFCIException
Get parent of this AFDepartment

Returns:
the parent object
Throws:
WFCIException

getSubAFDepartment

public java.util.Vector getSubAFDepartment()
                                    throws WFCIException
Get adjacent sub-department of this AFDepartment

Returns:
sub-AFDepartment Vector(each element in Vector are AFDepartment)
Throws:
WFCIException

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.