org.kuali.hr.earncodesec.service
Class EarnCodeSecurityServiceImpl

java.lang.Object
  extended by org.kuali.hr.earncodesec.service.EarnCodeSecurityServiceImpl
All Implemented Interfaces:
EarnCodeSecurityService

public class EarnCodeSecurityServiceImpl
extends Object
implements EarnCodeSecurityService


Constructor Summary
EarnCodeSecurityServiceImpl()
           
 
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)
           
 void setEarnCodeSecurityDao(EarnCodeSecurityDao earnCodeSecurityDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarnCodeSecurityServiceImpl

public EarnCodeSecurityServiceImpl()
Method Detail

setEarnCodeSecurityDao

public void setEarnCodeSecurityDao(EarnCodeSecurityDao earnCodeSecurityDao)

getEarnCodeSecurities

public List<EarnCodeSecurity> getEarnCodeSecurities(String department,
                                                    String hrSalGroup,
                                                    String location,
                                                    Date asOfDate)
Description copied from interface: EarnCodeSecurityService
This should handle wild cards on department and hr_sal_group.

Specified by:
getEarnCodeSecurities in interface EarnCodeSecurityService

getEarnCodeSecurity

public EarnCodeSecurity getEarnCodeSecurity(String hrEarnCodeSecId)
Description copied from interface: EarnCodeSecurityService
Fetch department earn code by id

Specified by:
getEarnCodeSecurity in interface EarnCodeSecurityService
Returns:

searchEarnCodeSecurities

public List<EarnCodeSecurity> searchEarnCodeSecurities(String dept,
                                                       String salGroup,
                                                       String earnCode,
                                                       String location,
                                                       Date fromEffdt,
                                                       Date toEffdt,
                                                       String active,
                                                       String showHistory)
Specified by:
searchEarnCodeSecurities in interface EarnCodeSecurityService

getEarnCodeSecurityCount

public int getEarnCodeSecurityCount(String dept,
                                    String salGroup,
                                    String earnCode,
                                    String employee,
                                    String approver,
                                    String location,
                                    String active,
                                    Date effdt,
                                    String hrDeptEarnCodeId)
Description copied from interface: EarnCodeSecurityService
get the count of Department Earn Code by given parameters

Specified by:
getEarnCodeSecurityCount in interface EarnCodeSecurityService
Returns:
int

getNewerEarnCodeSecurityCount

public int getNewerEarnCodeSecurityCount(String earnCode,
                                         Date effdt)
Description copied from interface: EarnCodeSecurityService
get the count of newer versions of the given earnCode

Specified by:
getNewerEarnCodeSecurityCount in interface EarnCodeSecurityService
Returns:
int


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