org.kuali.kpme.core.earncode.security
Class EarnCodeSecurity

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.earncode.security.EarnCodeSecurity
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, HrBusinessObjectContract, EarnCodeSecurityContract, 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 EarnCodeSecurity
extends HrBusinessObject
implements EarnCodeSecurityContract

See Also:
Serialized Form

Field Summary
static com.google.common.collect.ImmutableList<String> CACHE_FLUSH
           
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
EarnCodeSecurity()
           
 
Method Summary
 Department getDepartmentObj()
          The Department object the EarnCodeSecurity is associated with
 String getDept()
          The department name the EarnCodeSecurity is associated with
 String getEarnCode()
          The EarnCode name the EarnCodeSecurity is associated with
 EarnCode getEarnCodeObj()
          The EarnCode object the EarnCodeSecurity is associated with
 String getEarnCodeType()
          Determines if Earn Code should be displayed on Timesheet, Leave Calendar, or Both
 String getHistory()
          The history flag for EarnCodeSecurity lookups
 String getHrEarnCodeSecurityId()
          The primary key of an EarnCodeSecurity entry saved in a database
 String getHrSalGroup()
          The hrSalGroup the EarnCodeSecurity is associated with
 String getId()
          The unique id defined by the object, could be a combination of multiple fields
 Job getJobObj()
          The Job object the EarnCodeSecurity is associated with
 String getLocation()
          The Location name the EarnCodeSecurity is associated with
 Location getLocationObj()
          The Location object the EarnCodeSecurity is associated with
 SalaryGroup getSalaryGroupObj()
          The SalaryGroup object the EarnCodeSecurity is associated with
 String getUniqueKey()
           
 boolean isApprover()
          The flag to indicate approver role will see specific earn codes on Timesheet, Leave Calendar, or Both
 boolean isEmployee()
          The flag to indicate employee role will see specific earn codes on Timesheet, Leave Calendar, or Both
 boolean isPayrollProcessor()
          The flag to indicate payrollProcessor role will see specific earn codes on Timesheet, Leave Calendar, or Both
 void setApprover(boolean approver)
           
 void setDepartmentObj(Department departmentObj)
           
 void setDept(String dept)
           
 void setEarnCode(String earnCode)
           
 void setEarnCodeObj(EarnCode earnCodeObj)
           
 void setEarnCodeType(String earnCodeType)
           
 void setEmployee(boolean employee)
           
 void setHistory(String history)
           
 void setHrEarnCodeSecurityId(String hrEarnCodeSecurityId)
           
 void setHrSalGroup(String hrSalGroup)
           
 void setId(String id)
           
 void setJobObj(Job jobObj)
           
 void setLocation(String location)
           
 void setLocationObj(Location locationObj)
           
 void setPayrollProcessor(boolean payrollProcessor)
           
 void setSalaryGroupObj(SalaryGroup salaryGroupObj)
           
 
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

CACHE_FLUSH

public static final com.google.common.collect.ImmutableList<String> CACHE_FLUSH

EQUAL_TO_FIELDS

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

EarnCodeSecurity

public EarnCodeSecurity()
Method Detail

getHrEarnCodeSecurityId

public String getHrEarnCodeSecurityId()
Description copied from interface: EarnCodeSecurityContract
The primary key of an EarnCodeSecurity entry saved in a database

hrEarnCodeSecurityId of an EarnCodeSecurity

Specified by:
getHrEarnCodeSecurityId in interface EarnCodeSecurityContract
Returns:
hrEarnCodeSecurityId for EarnCodeSecurity

setHrEarnCodeSecurityId

public void setHrEarnCodeSecurityId(String hrEarnCodeSecurityId)

getEarnCodeType

public String getEarnCodeType()
Description copied from interface: EarnCodeSecurityContract
Determines if Earn Code should be displayed on Timesheet, Leave Calendar, or Both

earnCodeType of an EarnCodeSecurity

Specified by:
getEarnCodeType in interface EarnCodeSecurityContract
Returns:
earnCodeType for EarnCodeSecurity

setEarnCodeType

public void setEarnCodeType(String earnCodeType)

getSalaryGroupObj

public SalaryGroup getSalaryGroupObj()
Description copied from interface: EarnCodeSecurityContract
The SalaryGroup object the EarnCodeSecurity is associated with

If a salary group is defined, only entries associated with a job rcd in this salary group will be subject.

Specified by:
getSalaryGroupObj in interface EarnCodeSecurityContract
Returns:
salaryGroupObj for EarnCodeSecurity

setSalaryGroupObj

public void setSalaryGroupObj(SalaryGroup salaryGroupObj)

getDepartmentObj

public Department getDepartmentObj()
Description copied from interface: EarnCodeSecurityContract
The Department object the EarnCodeSecurity is associated with

If a department is defined, only entries associated with a job record in this department will be subject.

Specified by:
getDepartmentObj in interface EarnCodeSecurityContract
Returns:
departmentObj for EarnCodeSecurity

setDepartmentObj

public void setDepartmentObj(Department departmentObj)

isEmployee

public boolean isEmployee()
Description copied from interface: EarnCodeSecurityContract
The flag to indicate employee role will see specific earn codes on Timesheet, Leave Calendar, or Both

employee of EarnCodeSecurity

Specified by:
isEmployee in interface EarnCodeSecurityContract
Returns:
true if emploeye role will see specific earn codes, false if not

setEmployee

public void setEmployee(boolean employee)

isApprover

public boolean isApprover()
Description copied from interface: EarnCodeSecurityContract
The flag to indicate approver role will see specific earn codes on Timesheet, Leave Calendar, or Both

approver of EarnCodeSecurity

Specified by:
isApprover in interface EarnCodeSecurityContract
Returns:
true if approver role will see specific earn codes, false if not

setApprover

public void setApprover(boolean approver)

isPayrollProcessor

public boolean isPayrollProcessor()
Description copied from interface: EarnCodeSecurityContract
The flag to indicate payrollProcessor role will see specific earn codes on Timesheet, Leave Calendar, or Both

payrollProcessor of EarnCodeSecurity

Specified by:
isPayrollProcessor in interface EarnCodeSecurityContract
Returns:
true if payrollProcessor role will see specific earn codes, false if not

setPayrollProcessor

public void setPayrollProcessor(boolean payrollProcessor)

getEarnCodeObj

public EarnCode getEarnCodeObj()
Description copied from interface: EarnCodeSecurityContract
The EarnCode object the EarnCodeSecurity is associated with

earnCodeObj of an EarnCodeSecurity

Specified by:
getEarnCodeObj in interface EarnCodeSecurityContract
Returns:
earnCodeObj for EarnCodeSecurity

setEarnCodeObj

public void setEarnCodeObj(EarnCode earnCodeObj)

getDept

public String getDept()
Description copied from interface: EarnCodeSecurityContract
The department name the EarnCodeSecurity is associated with

dept of an EarnCodeSecurity

Specified by:
getDept in interface EarnCodeSecurityContract
Returns:
dept for EarnCodeSecurity

setDept

public void setDept(String dept)

getHrSalGroup

public String getHrSalGroup()
Description copied from interface: EarnCodeSecurityContract
The hrSalGroup the EarnCodeSecurity is associated with

hrSalGroup of an EarnCodeSecurity

Specified by:
getHrSalGroup in interface EarnCodeSecurityContract
Returns:
hrSalGroup for EarnCodeSecurity

setHrSalGroup

public void setHrSalGroup(String hrSalGroup)

getEarnCode

public String getEarnCode()
Description copied from interface: EarnCodeSecurityContract
The EarnCode name the EarnCodeSecurity is associated with

earnCode of an EarnCodeSecurity

Specified by:
getEarnCode in interface EarnCodeSecurityContract
Returns:
earnCode for EarnCodeSecurity

setEarnCode

public void setEarnCode(String earnCode)

getJobObj

public Job getJobObj()
Description copied from interface: EarnCodeSecurityContract
The Job object the EarnCodeSecurity is associated with

jobObj of an EarnCodeSecurity

Specified by:
getJobObj in interface EarnCodeSecurityContract
Returns:
jobObj for EarnCodeSecurity

setJobObj

public void setJobObj(Job jobObj)

getLocationObj

public Location getLocationObj()
Description copied from interface: EarnCodeSecurityContract
The Location object the EarnCodeSecurity is associated with

If a location is defined, only entries associated with a job rcd in this location will be subject.

Specified by:
getLocationObj in interface EarnCodeSecurityContract
Returns:
jobObj for EarnCodeSecurity

setLocationObj

public void setLocationObj(Location locationObj)

getLocation

public String getLocation()
Description copied from interface: EarnCodeSecurityContract
The Location name the EarnCodeSecurity is associated with

location of an EarnCodeSecurity

Specified by:
getLocation in interface EarnCodeSecurityContract
Returns:
location for EarnCodeSecurity

setLocation

public void setLocation(String location)

getUniqueKey

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

getHistory

public String getHistory()
Description copied from interface: EarnCodeSecurityContract
The history flag for EarnCodeSecurity lookups

history of an EarnCodeSecurity

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

setHistory

public void setHistory(String history)

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


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