org.kuali.hr.earncodesec.service
Interface EarnCodeSecurityService

All Known Implementing Classes:
EarnCodeSecurityServiceImpl

public interface EarnCodeSecurityService


Method Summary
 List<EarnCodeSecurity> getEarnCodeSecurities(String department, String hrSalGroup, String location, Date asOfDate)
          This should handle wild cards on department and hr_sal_group.
 EarnCodeSecurity getEarnCodeSecurity(String hrEarnCodeSecId)
          Fetch department earn code by id
 int getEarnCodeSecurityCount(String dept, String salGroup, String earnCode, String employee, String approver, String location, String active, Date effdt, String hrDeptEarnCodeId)
          get the count of Department Earn Code by given parameters
 int getNewerEarnCodeSecurityCount(String earnCode, Date effdt)
          get the count of newer versions of the given earnCode
 List<EarnCodeSecurity> searchEarnCodeSecurities(String dept, String salGroup, String earnCode, String location, Date fromEffdt, Date toEffdt, String active, String showHistory)
           
 

Method Detail

getEarnCodeSecurities

@Cacheable(value="KPME/EarnCodeSecurity",
           key="\'department=\' + #p0+ \'|\' + \'hrSalGroup=\' + #p1+ \'|\' + \'location=\' + #p2+ \'|\' + \'asOfDate=\' + #p3")
List<EarnCodeSecurity> getEarnCodeSecurities(String department,
                                                       String hrSalGroup,
                                                       String location,
                                                       Date asOfDate)
This should handle wild cards on department and hr_sal_group.


getEarnCodeSecurity

@Cacheable(value="KPME/EarnCodeSecurity",
           key="\'hrEarnCodeSecId=\' + #p0")
EarnCodeSecurity getEarnCodeSecurity(String hrEarnCodeSecId)
Fetch department earn code by id

Parameters:
hrDeptEarnCodeId -
Returns:

searchEarnCodeSecurities

List<EarnCodeSecurity> searchEarnCodeSecurities(String dept,
                                                String salGroup,
                                                String earnCode,
                                                String location,
                                                Date fromEffdt,
                                                Date toEffdt,
                                                String active,
                                                String showHistory)

getEarnCodeSecurityCount

int getEarnCodeSecurityCount(String dept,
                             String salGroup,
                             String earnCode,
                             String employee,
                             String approver,
                             String location,
                             String active,
                             Date effdt,
                             String hrDeptEarnCodeId)
get the count of Department Earn Code by given parameters

Parameters:
earnGroup -
Returns:
int

getNewerEarnCodeSecurityCount

int getNewerEarnCodeSecurityCount(String earnCode,
                                  Date effdt)
get the count of newer versions of the given earnCode

Parameters:
earnCode -
effdt -
Returns:
int


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