org.kuali.kpme.core.department
Class Department

java.lang.Object
  extended by org.kuali.rice.krad.bo.BusinessObjectBase
      extended by org.kuali.rice.krad.bo.PersistableBusinessObjectBase
          extended by org.kuali.kpme.core.bo.HrBusinessObject
              extended by org.kuali.kpme.core.department.Department
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, DepartmentContract, org.kuali.rice.core.api.mo.common.active.Inactivatable, org.kuali.rice.core.api.mo.common.GloballyUnique, org.kuali.rice.core.api.mo.common.Versioned, org.kuali.rice.core.api.mo.ModelObjectBasic, org.kuali.rice.krad.bo.BusinessObject, org.kuali.rice.krad.bo.PersistableBusinessObject

public class Department
extends HrBusinessObject
implements DepartmentContract

See Also:
Serialized Form

Field Summary
static String CACHE_NAME
           
static com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
           
 
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
Department()
           
 
Method Summary
 void addInactiveRoleMember(DepartmentPrincipalRoleMemberBo inactiveRoleMemberBo)
           
 void addRoleMember(DepartmentPrincipalRoleMemberBo roleMemberBo)
           
 String getChart()
          Chart value under which the Department is defined
 Chart getChartObj()
          Chart object under which the Department is defined
 String getDept()
          Text field used to identify the Department
 String getDescription()
          Text which describes the department value
 String getHistory()
          History flag for Department lookups
 String getHrDeptId()
          The Primary Key of a Department entry saved in a database
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 List<DepartmentPrincipalRoleMemberBo> getInactiveRoleMembers()
          List of Inactive principal role approvers for this Department
 String getLocation()
          The name of the Location object associated with this Department
 Location getLocationObj()
          Location object associated with this Department
 String getOrg()
          Organization value under which the Department is defined
 Organization getOrgObj()
          Organization under which the Department is defined
 List<DepartmentPrincipalRoleMemberBo> getRoleMembers()
          List of Active principal role approvers for this Department
 String getUniqueKey()
           
 boolean isPayrollApproval()
          Indicates if this Department needs payroll approval
 void removeInactiveRoleMember(DepartmentPrincipalRoleMemberBo inactiveRoleMemberBo)
           
 void removeRoleMember(DepartmentPrincipalRoleMemberBo roleMemberBo)
           
 void setChart(String chart)
           
 void setChartObj(Chart chartObj)
           
 void setDept(String dept)
           
 void setDescription(String description)
           
 void setHistory(String history)
           
 void setHrDeptId(String hrDeptId)
           
 void setId(String id)
           
 void setInactiveRoleMembers(List<DepartmentPrincipalRoleMemberBo> inactiveRoleMembers)
           
 void setLocation(String location)
           
 void setLocationObj(Location locationObj)
           
 void setOrg(String org)
           
 void setOrgObj(Organization orgObj)
           
 void setPayrollApproval(boolean payrollApproval)
           
 void setRoleMembers(List<DepartmentPrincipalRoleMemberBo> roleMembers)
           
 
Methods inherited from class org.kuali.kpme.core.bo.HrBusinessObject
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp, isActive, setActive, setEffectiveDate, setEffectiveLocalDate, setRelativeEffectiveDate, setTimestamp
 
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from class org.kuali.rice.krad.bo.BusinessObjectBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kpme.core.api.bo.HrBusinessObjectContract
getEffectiveDate, getEffectiveLocalDate, getRelativeEffectiveDate, getTimestamp
 
Methods inherited from interface org.kuali.rice.krad.bo.PersistableBusinessObject
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.krad.bo.BusinessObject
refresh
 
Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic
toString
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned
getVersionNumber
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique
getObjectId
 
Methods inherited from interface org.kuali.rice.core.api.mo.common.active.Inactivatable
isActive
 

Field Detail

CACHE_NAME

public static final String CACHE_NAME
See Also:
Constant Field Values

EQUAL_TO_FIELDS

public static final com.google.common.collect.ImmutableList<String> EQUAL_TO_FIELDS
Constructor Detail

Department

public Department()
Method Detail

getUniqueKey

public String getUniqueKey()
Specified by:
getUniqueKey in class HrBusinessObject

getId

public String getId()
Description copied from interface: HrBusinessObjectContract
The unique id defined by the object, could be a combination of multiple fields

id of HrBusinessObject

Specified by:
getId in interface HrBusinessObjectContract
Specified by:
getId in class HrBusinessObject
Returns:
id of HrBusinessObject

setId

public void setId(String id)
Specified by:
setId in class HrBusinessObject

getHrDeptId

public String getHrDeptId()
Description copied from interface: DepartmentContract
The Primary Key of a Department entry saved in a database

hrDeptId of Department

Specified by:
getHrDeptId in interface DepartmentContract
Returns:
hrDeptId for Department

setHrDeptId

public void setHrDeptId(String hrDeptId)

getDept

public String getDept()
Description copied from interface: DepartmentContract
Text field used to identify the Department

dept of Department

Specified by:
getDept in interface DepartmentContract
Returns:
dept for Department

setDept

public void setDept(String dept)

getDescription

public String getDescription()
Description copied from interface: DepartmentContract
Text which describes the department value

description of Department

Specified by:
getDescription in interface DepartmentContract
Returns:
description for Department

setDescription

public void setDescription(String description)

getLocation

public String getLocation()
Description copied from interface: DepartmentContract
The name of the Location object associated with this Department

location of Department

Specified by:
getLocation in interface DepartmentContract
Returns:
location for Department

setLocation

public void setLocation(String location)

getChart

public String getChart()
Description copied from interface: DepartmentContract
Chart value under which the Department is defined

chart of Department

Specified by:
getChart in interface DepartmentContract
Returns:
chart for Department

setChart

public void setChart(String chart)

getOrg

public String getOrg()
Description copied from interface: DepartmentContract
Organization value under which the Department is defined

org of Department

Specified by:
getOrg in interface DepartmentContract
Returns:
org for Department

setOrg

public void setOrg(String org)

getLocationObj

public Location getLocationObj()
Description copied from interface: DepartmentContract
Location object associated with this Department

locationObj of Department

Specified by:
getLocationObj in interface DepartmentContract
Returns:
locationObj for Department

setLocationObj

public void setLocationObj(Location locationObj)

getChartObj

public Chart getChartObj()
Description copied from interface: DepartmentContract
Chart object under which the Department is defined

chartObj of Department

Specified by:
getChartObj in interface DepartmentContract
Returns:
chartObj for Department

setChartObj

public void setChartObj(Chart chartObj)

getOrgObj

public Organization getOrgObj()
Description copied from interface: DepartmentContract
Organization under which the Department is defined

org of Department

Specified by:
getOrgObj in interface DepartmentContract
Returns:
org for Department

setOrgObj

public void setOrgObj(Organization orgObj)

getRoleMembers

public List<DepartmentPrincipalRoleMemberBo> getRoleMembers()
Description copied from interface: DepartmentContract
List of Active principal role approvers for this Department

roleMembers of WorkArea

Specified by:
getRoleMembers in interface DepartmentContract
Returns:
roleMembers for WorkArea

addRoleMember

public void addRoleMember(DepartmentPrincipalRoleMemberBo roleMemberBo)

removeRoleMember

public void removeRoleMember(DepartmentPrincipalRoleMemberBo roleMemberBo)

setRoleMembers

public void setRoleMembers(List<DepartmentPrincipalRoleMemberBo> roleMembers)

getInactiveRoleMembers

public List<DepartmentPrincipalRoleMemberBo> getInactiveRoleMembers()
Description copied from interface: DepartmentContract
List of Inactive principal role approvers for this Department

inactiveRoleMembers of WorkArea

Specified by:
getInactiveRoleMembers in interface DepartmentContract
Returns:
inactiveRoleMembers for WorkArea

addInactiveRoleMember

public void addInactiveRoleMember(DepartmentPrincipalRoleMemberBo inactiveRoleMemberBo)

removeInactiveRoleMember

public void removeInactiveRoleMember(DepartmentPrincipalRoleMemberBo inactiveRoleMemberBo)

setInactiveRoleMembers

public void setInactiveRoleMembers(List<DepartmentPrincipalRoleMemberBo> inactiveRoleMembers)

getHistory

public String getHistory()
Description copied from interface: DepartmentContract
History flag for Department lookups

history of Department

Specified by:
getHistory in interface DepartmentContract
Returns:
Y if want to show history, N if not

setHistory

public void setHistory(String history)

isPayrollApproval

public boolean isPayrollApproval()
Description copied from interface: DepartmentContract
Indicates if this Department needs payroll approval

payrollApproval of Department

Specified by:
isPayrollApproval in interface DepartmentContract
Returns:
true if needs payroll approval, false if not

setPayrollApproval

public void setPayrollApproval(boolean payrollApproval)


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.