org.kuali.hr.time.earncodegroup.service
Class EarnCodeGroupServiceImpl

java.lang.Object
  extended by org.kuali.hr.time.earncodegroup.service.EarnCodeGroupServiceImpl
All Implemented Interfaces:
EarnCodeGroupService

public class EarnCodeGroupServiceImpl
extends Object
implements EarnCodeGroupService


Constructor Summary
EarnCodeGroupServiceImpl()
           
 
Method Summary
 EarnCodeGroup getEarnCodeGroup(String hrEarnCodeGroupId)
           
 EarnCodeGroup getEarnCodeGroup(String earnCodeGroup, Date asOfDate)
          Fetch earn group for a particular date
 int getEarnCodeGroupCount(String earnCodeGroup)
          get the count of earn groups by given earnGroup
 EarnCodeGroupDaoService getEarnCodeGroupDao()
           
 EarnCodeGroup getEarnCodeGroupForEarnCode(String earnCode, Date asOfDate)
          Fetch earn group for an earn code as of a particular date
 EarnCodeGroup getEarnCodeGroupSummaryForEarnCode(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
 Set<String> getEarnCodeListForEarnCodeGroup(String earnCodeGroup, Date asOfDate)
          Fetch Set of earn codes for earn group
 int getNewerEarnCodeGroupCount(String earnCodeGroup, Date effdt)
          get the count of newer version of earn groups by given earnGroup and date
 void setEarnCodeGroupDao(EarnCodeGroupDaoService earnCodeGroupDao)
           
 List<String> warningTextFromEarnCodeGroupsOfDocument(TimesheetDocument timesheetDocument)
          Returns list of warning text from earn group that is used by time blocks of the timesheetDocument
 List<String> warningTextFromEarnCodeGroupsOfTimeblocks(List<TimeBlock> tbList)
          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

EarnCodeGroupServiceImpl

public EarnCodeGroupServiceImpl()
Method Detail

getEarnCodeGroup

public EarnCodeGroup getEarnCodeGroup(String earnCodeGroup,
                                      Date asOfDate)
Description copied from interface: EarnCodeGroupService
Fetch earn group for a particular date

Specified by:
getEarnCodeGroup in interface EarnCodeGroupService
Returns:

getEarnCodeGroupDao

public EarnCodeGroupDaoService getEarnCodeGroupDao()

setEarnCodeGroupDao

public void setEarnCodeGroupDao(EarnCodeGroupDaoService earnCodeGroupDao)

getEarnCodeGroupSummaryForEarnCode

public EarnCodeGroup getEarnCodeGroupSummaryForEarnCode(String earnCode,
                                                        Date asOfDate)
Description copied from interface: EarnCodeGroupService
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:
getEarnCodeGroupSummaryForEarnCode in interface EarnCodeGroupService

getEarnCodeGroupForEarnCode

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

Specified by:
getEarnCodeGroupForEarnCode in interface EarnCodeGroupService
Returns:

getEarnCodeListForEarnCodeGroup

public Set<String> getEarnCodeListForEarnCodeGroup(String earnCodeGroup,
                                                   Date asOfDate)
Description copied from interface: EarnCodeGroupService
Fetch Set of earn codes for earn group

Specified by:
getEarnCodeListForEarnCodeGroup in interface EarnCodeGroupService
Returns:

getEarnCodeGroup

public EarnCodeGroup getEarnCodeGroup(String hrEarnCodeGroupId)
Specified by:
getEarnCodeGroup in interface EarnCodeGroupService

warningTextFromEarnCodeGroupsOfTimeblocks

public List<String> warningTextFromEarnCodeGroupsOfTimeblocks(List<TimeBlock> tbList)
Description copied from interface: EarnCodeGroupService
Returns list of warning text from earn group that is used by time blocks of the timesheetDocument

Specified by:
warningTextFromEarnCodeGroupsOfTimeblocks in interface EarnCodeGroupService
Returns:

warningTextFromEarnCodeGroupsOfDocument

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

Specified by:
warningTextFromEarnCodeGroupsOfDocument in interface EarnCodeGroupService
Returns:

getEarnCodeGroupCount

public int getEarnCodeGroupCount(String earnCodeGroup)
Description copied from interface: EarnCodeGroupService
get the count of earn groups by given earnGroup

Specified by:
getEarnCodeGroupCount in interface EarnCodeGroupService
Returns:
int

getNewerEarnCodeGroupCount

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

Specified by:
getNewerEarnCodeGroupCount in interface EarnCodeGroupService
Returns:
int


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