org.kuali.hr.time.earngroup.service
Interface EarnGroupService

All Known Implementing Classes:
EarnGroupServiceImpl

public interface EarnGroupService


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
 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
 List<String> warningTextFromEarnGroupsOfDocument(TimesheetDocument timesheetDocument)
          Returns list of warning text from earn group that is used by time blocks of the timesheetDocument
 

Method Detail

getEarnGroup

EarnGroup getEarnGroup(String earnGroup,
                       Date asOfDate)
Fetch earn group for a particular date

Parameters:
earnGroup -
asOfDate -
Returns:

getEarnGroupForEarnCode

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

Parameters:
earnCode -
asOfDate -
Returns:

getEarnCodeListForEarnGroup

Set<String> getEarnCodeListForEarnGroup(String earnGroup,
                                        Date asOfDate)
Fetch Set of earn codes for earn group

Parameters:
earnGroup -
asOfDate -
Returns:

getEarnGroupSummaryForEarnCode

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


getEarnGroup

EarnGroup getEarnGroup(String hrEarnGroupId)

warningTextFromEarnGroupsOfDocument

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

Parameters:
timesheetDocument -
Returns:

getEarnGroupCount

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

Parameters:
earnGroup -
Returns:
int

getNewerEarnGroupCount

int getNewerEarnGroupCount(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-2012 The Kuali Foundation. All Rights Reserved.