org.kuali.kfs.module.bc.service
Interface HumanResourcesPayrollService

All Known Implementing Classes:
HumanResourcesPayrollServiceImpl

public interface HumanResourcesPayrollService

Provides service methods for obtaining information from an external payroll/hr system. Used primarily by the Budget Construction and Labor Distribution modules to provide position data in the KFS.


Method Summary
 Incumbent getIncumbent(String emplid)
          Pulls incumbent data from an external system for the given employee id and populates a Incumbent object.
 Position getPosition(Integer universityFiscalYear, String positionNumber)
          Pulls position data from an external system for the given position identifying fields and populates a Position object.
 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
 boolean validatePositionUnionCode(String positionUnionCode)
           
 

Method Detail

validatePositionUnionCode

boolean validatePositionUnionCode(String positionUnionCode)
Parameters:
positionUnionCode -
Returns:

getPosition

Position getPosition(Integer universityFiscalYear,
                     String positionNumber)
                     throws PositionNotFoundException
Pulls position data from an external system for the given position identifying fields and populates a Position object.

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:
Position

getIncumbent

Incumbent getIncumbent(String emplid)
                       throws IncumbentNotFoundException
Pulls incumbent data from an external system for the given employee id and populates a Incumbent object.

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:
Incumbent

isActiveJob

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

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


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