org.kuali.kfs.module.bc.service.impl
Class HumanResourcesPayrollServiceImpl

java.lang.Object
  extended by org.kuali.kfs.module.bc.service.impl.HumanResourcesPayrollServiceImpl
All Implemented Interfaces:
HumanResourcesPayrollService

public class HumanResourcesPayrollServiceImpl
extends Object
implements HumanResourcesPayrollService

Bootstrap implementation of HumanResourcesPayrollService. Only implements the methods so that Budget will function. Data is not correct and should not be used in production.

See Also:
HumanResourcesPayrollService

Constructor Summary
HumanResourcesPayrollServiceImpl()
           
 
Method Summary
 Incumbent getIncumbent(String emplid)
          This is just a bootstrap implementation.
protected  org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> getPersonService()
           
 Position getPosition(Integer universityFiscalYear, String positionNumber)
          This is just a bootstrap implementation.
 boolean isActiveJob(String emplid, String positionNumber, Integer fiscalYear, BCConstants.SynchronizationCheckType synchronizationCheckType)
          determine whether there is an active job for the given emplid on the specified position
 void setHumanResourcesPayrollDao(HumanResourcesPayrollDao humanResourcesPayrollDao)
          Sets the humanResourcesPayrollDao attribute value.
 boolean validatePositionUnionCode(String positionUnionCode)
          This is just a bootstrap implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HumanResourcesPayrollServiceImpl

public HumanResourcesPayrollServiceImpl()
Method Detail

validatePositionUnionCode

public boolean validatePositionUnionCode(String positionUnionCode)
This is just a bootstrap implementation. Should be replaced by the real integration with the payroll/hr system.

Specified by:
validatePositionUnionCode in interface HumanResourcesPayrollService
Returns:
See Also:
HumanResourcesPayrollService.validatePositionUnionCode(java.lang.String)

getPosition

@Transactional
public Position getPosition(Integer universityFiscalYear,
                                          String positionNumber)
                     throws PositionNotFoundException
This is just a bootstrap implementation. Should be replaced by the real integration with the payroll/hr system.

Specified by:
getPosition in interface HumanResourcesPayrollService
Parameters:
universityFiscalYear - position fiscal year, part of record key
positionNumber - position number, part of record key
Returns:
Position object
Throws:
PositionNotFoundException - thrown if no data was found for the position key
See Also:
HumanResourcesPayrollService.getPosition(java.lang.Integer, java.lang.String)

getIncumbent

@Transactional
public Incumbent getIncumbent(String emplid)
                       throws IncumbentNotFoundException
This is just a bootstrap implementation. Should be replaced by the real integration with the payroll/hr system.

Specified by:
getIncumbent in interface HumanResourcesPayrollService
Parameters:
emplid - university id for the incumbent to pull
Returns:
Incumbent object
Throws:
IncumbentNotFoundException - thrown if no data was found for the employee id
See Also:
HumanResourcesPayrollService.getIncumbent(java.lang.String)

isActiveJob

@Transactional
public boolean isActiveJob(String emplid,
                                         String positionNumber,
                                         Integer fiscalYear,
                                         BCConstants.SynchronizationCheckType synchronizationCheckType)
Description copied from interface: HumanResourcesPayrollService
determine whether there is an active job for the given emplid on the specified position

Specified by:
isActiveJob in interface HumanResourcesPayrollService
Parameters:
emplid - the given employee id
positionNumber - the specified position number
fiscalYear - the given fiscal year
synchronizationCheckType - the sync check type
Returns:
true there is an active job for the given emplid on the specified position; otherwise, false
See Also:
HumanResourcesPayrollService.isActiveJob(java.lang.String, java.lang.String, java.lang.Integer, org.kuali.kfs.module.bc.BCConstants.SynchronizationCheckType)

setHumanResourcesPayrollDao

public void setHumanResourcesPayrollDao(HumanResourcesPayrollDao humanResourcesPayrollDao)
Sets the humanResourcesPayrollDao attribute value.

Parameters:
humanResourcesPayrollDao - The humanResourcesPayrollDao to set.

getPersonService

protected org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> getPersonService()
Returns:
Returns the personService.


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.