org.kuali.hr.time.earncodegroup.service
Interface EarnCodeGroupService

All Known Implementing Classes:
EarnCodeGroupServiceImpl

public interface EarnCodeGroupService


Method Summary
 EarnCodeGroup getEarnCodeGroup(String hrEarnCodeGroupId)
           
 EarnCodeGroup getEarnCodeGroup(String earnCodeGroup, Date asOfDate)
          Fetch earn group for a particular date
 int getEarnCodeGroupCount(String earnGroup)
          get the count of earn groups by given earnGroup
 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 earnGroup, Date effdt)
          get the count of newer version of earn groups by given earnGroup and date
 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> timeBlockList)
          Returns list of warning text from earn group that is used by time blocks of the timesheetDocument
 

Method Detail

getEarnCodeGroup

EarnCodeGroup getEarnCodeGroup(String earnCodeGroup,
                               Date asOfDate)
Fetch earn group for a particular date

Parameters:
earnCodeGroup -
asOfDate -
Returns:

getEarnCodeGroupForEarnCode

EarnCodeGroup getEarnCodeGroupForEarnCode(String earnCode,
                                          Date asOfDate)
Fetch earn group for an earn code as of a particular date

Parameters:
earnCode -
asOfDate -
Returns:

getEarnCodeListForEarnCodeGroup

Set<String> getEarnCodeListForEarnCodeGroup(String earnCodeGroup,
                                            Date asOfDate)
Fetch Set of earn codes for earn group

Parameters:
earnGroup -
asOfDate -
Returns:

getEarnCodeGroupSummaryForEarnCode

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


getEarnCodeGroup

EarnCodeGroup getEarnCodeGroup(String hrEarnCodeGroupId)

warningTextFromEarnCodeGroupsOfDocument

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

Parameters:
timesheetDocument -
Returns:

warningTextFromEarnCodeGroupsOfTimeblocks

List<String> warningTextFromEarnCodeGroupsOfTimeblocks(List<TimeBlock> timeBlockList)
Returns list of warning text from earn group that is used by time blocks of the timesheetDocument

Parameters:
timeBlockList -
Returns:

getEarnCodeGroupCount

int getEarnCodeGroupCount(String earnGroup)
get the count of earn groups by given earnGroup

Parameters:
earnGroup -
Returns:
int

getNewerEarnCodeGroupCount

int getNewerEarnCodeGroupCount(String earnGroup,
                               Date effdt)
get the count of newer version of earn groups by given earnGroup and date

Parameters:
earnGroup -
effdt -
Returns:
int


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