|
Agentflow V3.1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpe.pase.PASEOrgModel
public class PASEOrgModel
The class holds the information of company organization. In other words, this class records the all departments, roles, and members in the company.
| Constructor Summary | |
|---|---|
PASEOrgModel()
Constructor. |
|
| Method Summary | |
|---|---|
java.util.Vector |
getAllCompanys()
Get the all companies |
java.util.Vector |
getAllDepartment()
Get the all departments |
java.util.Vector |
getAllMember()
Get all members |
java.util.Vector |
getAllPASEGroup()
Get the all PASEGroups |
java.util.Vector |
getAllRole()
Get all roles. |
java.util.Vector |
getAllUnitType()
Get all unit types |
java.util.TreeMap |
getComMap()
Get company map |
Company |
getCompany()
Get company |
Company |
getCompany(java.lang.String comID)
Get the instance of Company with the specified
company id |
java.util.Vector |
getCompanys(java.util.Vector comIDList)
Get the instances of Company with the set of specified
department id |
Department |
getDepartment(java.lang.String depID)
Get the instance of Department with the specified
department id |
java.util.Vector |
getDepartments(java.util.Vector depIDList)
Get the instances of Department with the set of specified
department id |
java.util.TreeMap |
getDepMap()
Get department map |
java.lang.Object |
getHashKey()
|
MemberRecord |
getMemberRecord(java.lang.String memID)
Get the instance of MemberRecord with the specified member
id |
java.util.Vector |
getMembers(java.util.Vector mbrIDList)
Get the members with the set of the specified member id |
java.util.TreeMap |
getMemMap()
Get the member map |
PASEGroup |
getPASEGroup(java.lang.String groupID)
Get the instance of PASEGroup with the specified
group id |
java.util.TreeMap |
getPASEGroupMap()
Get PASEGroup map |
java.util.Vector |
getPASEGroups(java.util.Vector groupIDList)
Get the instances of PASEGroup with the set of specified
PASEGroup id |
Role |
getRole(java.lang.String rolID)
Get instance of Role with the specified role id |
java.util.Vector |
getRoles(java.util.Vector rolIDList)
Get the instances of Role with the set of specified role
id |
java.util.TreeMap |
getRolMap()
Get role map |
java.util.TreeMap |
getUnitMap()
Get the unit type map |
UnitType |
getUnitType(java.lang.String unitId)
Get the instance of UnitType with the specified unit type
id |
java.util.Vector |
getUnitTypes(java.util.Vector unitIdList)
Get the instances of UnitType with the set of specified
unit type id |
void |
setComMap(java.util.TreeMap map)
Set the company map |
void |
setCompany(Company c)
Set company |
void |
setDepMap(java.util.TreeMap map)
Set the department map |
void |
setMemMap(java.util.TreeMap map)
Set the member map |
void |
setPASEGroupMap(java.util.TreeMap map)
Set the PASEGroup map |
void |
setRolMap(java.util.TreeMap map)
Set role map |
void |
setUnitMap(java.util.TreeMap map)
Set the unit type map |
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 PASEOrgModel()
PASEOrgModel without
parameters.
| Method Detail |
|---|
public java.util.Vector getAllCompanys()
Vector is Company
instance)Companypublic java.util.Vector getAllDepartment()
Vector is Department
instance)Departmentpublic java.util.Vector getAllMember()
Vector is the MemberRecord
instance)MemberRecordpublic java.util.Vector getAllPASEGroup()
Vector is PASEGroup
instance)PASEGrouppublic java.util.Vector getAllRole()
Vector is the Role
instance)Rolepublic java.util.Vector getAllUnitType()
Vector is the UnitType
instance)UnitTypepublic java.util.TreeMap getComMap()
TreeMap instance. {key : value = company id :
Company instance}Companypublic Company getCompany()
Companypublic Company getCompany(java.lang.String comID)
Company with the specified
company id
comID - the given company id
CompanyCompanypublic java.util.Vector getCompanys(java.util.Vector comIDList)
Company with the set of specified
department id
comIDList - the given set of company id
Vector is Company
instance)Companypublic Department getDepartment(java.lang.String depID)
Department with the specified
department id
depID - the given department id
DepartmentDepartmentpublic java.util.Vector getDepartments(java.util.Vector depIDList)
Department with the set of specified
department id
depIDList - the given set of department id
Vector is Department
instance)Departmentpublic java.util.TreeMap getDepMap()
TreeMap instance. {key : value = department id :
Department instance}Departmentpublic java.lang.Object getHashKey()
getHashKey in interface com.flowring.entity.Entitypublic MemberRecord getMemberRecord(java.lang.String memID)
MemberRecord with the specified member
id
memID - the given member id
MemberRecord instanceMemberRecordpublic java.util.Vector getMembers(java.util.Vector mbrIDList)
mbrIDList - the given set of the specified member id
Vector is the MemberRecord
instance)MemberRecordpublic java.util.TreeMap getMemMap()
TreeMap instance. {key : value = member id :
MemberRecord instance}MemberRecordpublic PASEGroup getPASEGroup(java.lang.String groupID)
PASEGroup with the specified
group id
groupID - the given pase group id
PASEGroupPASEGrouppublic java.util.TreeMap getPASEGroupMap()
TreeMap instance. {key : value = PASEGroup id :
PASEGroup instance}PASEGrouppublic java.util.Vector getPASEGroups(java.util.Vector groupIDList)
PASEGroup with the set of specified
PASEGroup id
PASEGroupIDList - the given set of PASEGroup id
Vector is PASEGroup
instance)PASEGrouppublic Role getRole(java.lang.String rolID)
Role with the specified role id
rolID - the given role id
Role instanceRolepublic java.util.Vector getRoles(java.util.Vector rolIDList)
Role with the set of specified role
id
rolIDList - the given set of role id
Vector is the Role
instance)Rolepublic java.util.TreeMap getRolMap()
TreeMap instance. {key : value = role id :
Role instance}Rolepublic java.util.TreeMap getUnitMap()
TreeMap instance. {key : value = unit type id :
UnitType instance}UnitTypepublic UnitType getUnitType(java.lang.String unitId)
UnitType with the specified unit type
id
unitId - the given unit type id
UnitType instanceUnitTypepublic java.util.Vector getUnitTypes(java.util.Vector unitIdList)
UnitType with the set of specified
unit type id
unitIdList - the given set of unit type id
Vector is UnitType
instance)UnitTypepublic void setComMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
company id : Company instance}Companypublic void setCompany(Company c)
c - the given Company instanceCompanypublic void setDepMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
department id : Department instance}Departmentpublic void setMemMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
member id : MemberRecord instance}MemberRecordpublic void setPASEGroupMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value =
PASEGroup id : PASEGroup instance}PASEGrouppublic void setRolMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value = role
id : Role instance}Rolepublic void setUnitMap(java.util.TreeMap map)
map - the given TreeMap instance. {key : value = unit
type id : UnitType instance}UnitTypepublic 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 | ||||||||