org.kuali.hr.time.earngroup.service
Class EarnGroupServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.earngroup.service.EarnGroupServiceImpl
All Implemented Interfaces:
EarnGroupService

public class EarnGroupServiceImpl
extends Object
implements EarnGroupService


Constructor Summary
EarnGroupServiceImpl()
           
 
Method Summary
 Set<String> getEarnCodeListForEarnGroup(String earnGroup, Date asOfDate)
          Fetch Set of earn codes for earn group
 EarnGroup getEarnGroup(String hrEarnGroupId)
           
 EarnGroup getEarnGroup(String earnGroup, Date asOfDate)
          Fetch earn group for a particular date
 int getEarnGroupCount(String earnGroup)
          get the count of earn groups by given earnGroup
 EarnGroupDaoService getEarnGroupDao()
           
 EarnGroup getEarnGroupForEarnCode(String earnCode, Date asOfDate)
          Fetch earn group for an earn code as of a particular date
 EarnGroup getEarnGroupSummaryForEarnCode(String earnCode, Date asOfDate)
          Used to get earn group that this earn code belongs on in context to the summary CAUTION this is used only for the timesheet summary
 int getNewerEarnGroupCount(String earnGroup, Date effdt)
          get the count of newer version of earn groups by given earnGroup and date
 void setEarnGroupDao(EarnGroupDaoService earnGroupDao)
           
 List<String> warningTextFromEarnGroupsOfDocument(TimesheetDocument timesheetDocument)
          Returns list of warning text from earn group that is used by time blocks of the timesheetDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarnGroupServiceImpl

public EarnGroupServiceImpl()
Method Detail

getEarnGroup

public EarnGroup getEarnGroup(String earnGroup,
                              Date asOfDate)
Description copied from interface: EarnGroupService
Fetch earn group for a particular date

Specified by:
getEarnGroup in interface EarnGroupService
Returns:

getEarnGroupDao

public EarnGroupDaoService getEarnGroupDao()

setEarnGroupDao

public void setEarnGroupDao(EarnGroupDaoService earnGroupDao)

getEarnGroupSummaryForEarnCode

public EarnGroup getEarnGroupSummaryForEarnCode(String earnCode,
                                                Date asOfDate)
Description copied from interface: EarnGroupService
Used to get earn group that this earn code belongs on in context to the summary CAUTION this is used only for the timesheet summary

Specified by:
getEarnGroupSummaryForEarnCode in interface EarnGroupService

getEarnGroupForEarnCode

public EarnGroup getEarnGroupForEarnCode(String earnCode,
                                         Date asOfDate)
Description copied from interface: EarnGroupService
Fetch earn group for an earn code as of a particular date

Specified by:
getEarnGroupForEarnCode in interface EarnGroupService
Returns:

getEarnCodeListForEarnGroup

public Set<String> getEarnCodeListForEarnGroup(String earnGroup,
                                               Date asOfDate)
Description copied from interface: EarnGroupService
Fetch Set of earn codes for earn group

Specified by:
getEarnCodeListForEarnGroup in interface EarnGroupService
Returns:

getEarnGroup

public EarnGroup getEarnGroup(String hrEarnGroupId)
Specified by:
getEarnGroup in interface EarnGroupService

warningTextFromEarnGroupsOfDocument

public List<String> warningTextFromEarnGroupsOfDocument(TimesheetDocument timesheetDocument)
Description copied from interface: EarnGroupService
Returns list of warning text from earn group that is used by time blocks of the timesheetDocument

Specified by:
warningTextFromEarnGroupsOfDocument in interface EarnGroupService
Returns:

getEarnGroupCount

public int getEarnGroupCount(String earnGroup)
Description copied from interface: EarnGroupService
get the count of earn groups by given earnGroup

Specified by:
getEarnGroupCount in interface EarnGroupService
Returns:
int

getNewerEarnGroupCount

public int getNewerEarnGroupCount(String earnGroup,
                                  Date effdt)
Description copied from interface: EarnGroupService
get the count of newer version of earn groups by given earnGroup and date

Specified by:
getNewerEarnGroupCount in interface EarnGroupService
Returns:
int


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