org.kuali.hr.time.earncode.service
Class EarnCodeServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.earncode.service.EarnCodeServiceImpl
All Implemented Interfaces:
EarnCodeService

public class EarnCodeServiceImpl
extends Object
implements EarnCodeService


Constructor Summary
EarnCodeServiceImpl()
           
 
Method Summary
 EarnCode getEarnCode(String earnCode, Date asOfDate)
          Fetch an EarnCode as of a particular date
 EarnCode getEarnCodeById(String earnCodeId)
          Fetch earn code by id
 int getEarnCodeCount(String earnCode)
          get count of earn code with give earnCode
 List<EarnCode> getEarnCodes(Assignment a, Date asOfDate)
          Fetch a list of earn codes for a particular assignment
 List<EarnCode> getEarnCodes(Assignment a, Date asOfDate, String earnTypeCode)
          Fetch a list of earn codes for a particular assignment and earnTypeCode
 List<EarnCode> getEarnCodes(String earnCode, String ovtEarnCode, String descr, Date fromEffdt, Date toEffdt, String active, String showHist)
           
 List<EarnCode> getEarnCodesForTime(Assignment a, Date asOfDate)
           
 String getEarnCodeType(String earnCode, Date asOfDate)
          Fetch the earn code type for a particular date
 int getNewerEarnCodeCount(String earnCode, Date effdt)
          get count of newer version of earn code with give earnCode and date
 List<EarnCode> getOvertimeEarnCodes(Date asOfDate)
          Fetch list of system defined overtime earn codes
 List<String> getOvertimeEarnCodesStrs(Date asOfDate)
          Fetch list of system defined overtime earn codes as strings
 void setEarnCodeDao(EarnCodeDao earnCodeDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarnCodeServiceImpl

public EarnCodeServiceImpl()
Method Detail

setEarnCodeDao

public void setEarnCodeDao(EarnCodeDao earnCodeDao)

getEarnCodes

public List<EarnCode> getEarnCodes(Assignment a,
                                   Date asOfDate)
Description copied from interface: EarnCodeService
Fetch a list of earn codes for a particular assignment

Specified by:
getEarnCodes in interface EarnCodeService
Returns:

getEarnCodes

public List<EarnCode> getEarnCodes(Assignment a,
                                   Date asOfDate,
                                   String earnTypeCode)
Description copied from interface: EarnCodeService
Fetch a list of earn codes for a particular assignment and earnTypeCode

Specified by:
getEarnCodes in interface EarnCodeService
Returns:

getEarnCode

public EarnCode getEarnCode(String earnCode,
                            Date asOfDate)
Description copied from interface: EarnCodeService
Fetch an EarnCode as of a particular date

Specified by:
getEarnCode in interface EarnCodeService
Returns:

getEarnCodeType

public String getEarnCodeType(String earnCode,
                              Date asOfDate)
Description copied from interface: EarnCodeService
Fetch the earn code type for a particular date

Specified by:
getEarnCodeType in interface EarnCodeService
Returns:

getEarnCodeById

public EarnCode getEarnCodeById(String earnCodeId)
Description copied from interface: EarnCodeService
Fetch earn code by id

Specified by:
getEarnCodeById in interface EarnCodeService
Returns:

getOvertimeEarnCodes

public List<EarnCode> getOvertimeEarnCodes(Date asOfDate)
Description copied from interface: EarnCodeService
Fetch list of system defined overtime earn codes

Specified by:
getOvertimeEarnCodes in interface EarnCodeService
Returns:

getOvertimeEarnCodesStrs

public List<String> getOvertimeEarnCodesStrs(Date asOfDate)
Description copied from interface: EarnCodeService
Fetch list of system defined overtime earn codes as strings

Specified by:
getOvertimeEarnCodesStrs in interface EarnCodeService
Returns:

getEarnCodeCount

public int getEarnCodeCount(String earnCode)
Description copied from interface: EarnCodeService
get count of earn code with give earnCode

Specified by:
getEarnCodeCount in interface EarnCodeService
Returns:
int

getNewerEarnCodeCount

public int getNewerEarnCodeCount(String earnCode,
                                 Date effdt)
Description copied from interface: EarnCodeService
get count of newer version of earn code with give earnCode and date

Specified by:
getNewerEarnCodeCount in interface EarnCodeService
Returns:
int

getEarnCodes

public List<EarnCode> getEarnCodes(String earnCode,
                                   String ovtEarnCode,
                                   String descr,
                                   Date fromEffdt,
                                   Date toEffdt,
                                   String active,
                                   String showHist)
Specified by:
getEarnCodes in interface EarnCodeService

getEarnCodesForTime

public List<EarnCode> getEarnCodesForTime(Assignment a,
                                          Date asOfDate)
Specified by:
getEarnCodesForTime in interface EarnCodeService


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