|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.time.timeblock.service.TimeBlockServiceImpl
public class TimeBlockServiceImpl
Constructor Summary | |
---|---|
TimeBlockServiceImpl()
|
Method Summary | |
---|---|
List<TimeBlock> |
buildTimeBlocks(Assignment assignment,
String earnCode,
TimesheetDocument timesheetDocument,
Timestamp beginTimestamp,
Timestamp endTimestamp,
BigDecimal hours,
BigDecimal amount,
Boolean isClockLogCreated,
Boolean isLunchDeleted)
Build a TimeBlock with the given criteria |
List<TimeBlock> |
buildTimeBlocksSpanDates(Assignment assignment,
String earnCode,
TimesheetDocument timesheetDocument,
Timestamp beginTimestamp,
Timestamp endTimestamp,
BigDecimal hours,
BigDecimal amount,
Boolean isClockLogCreated,
Boolean isLunchDeleted,
String spanningWeeks)
Build a List of TimeBlocks over a span of multiple days |
TimeBlock |
createTimeBlock(TimesheetDocument timesheetDocument,
Timestamp beginTime,
Timestamp endTime,
Assignment assignment,
String earnCode,
BigDecimal hours,
BigDecimal amount,
Boolean clockLogCreated,
Boolean lunchDeleted)
Create a TimeBlock for the given criteria |
List<TimeBlockHistory> |
createTimeBlockHistories(TimeBlock tb,
String actionHistory)
|
void |
deleteLunchDeduction(String tkTimeHourDetailId)
|
void |
deleteTimeBlock(TimeBlock timeBlock)
Delete a given TimeBlock |
void |
deleteTimeBlocksAssociatedWithDocumentId(String documentId)
|
List<TimeBlock> |
getLatestEndTimestamp()
|
List<TimeBlock> |
getOvernightTimeBlocks(String clockLogEndId)
Get overnight timeblocks by the clock log begin id |
TimeBlock |
getTimeBlock(String tkTimeBlockId)
Fetch a TimeBlock by a given ID |
List<TimeBlock> |
getTimeBlocks()
|
List<TimeBlock> |
getTimeBlocks(String documentId)
Get the List of TimeBlock of a given document id |
List<TimeBlock> |
getTimeBlocksForAssignment(Assignment assign)
Get the List of TimeBlock of a given Assignment |
List<TimeBlock> |
getTimeBlocksForClockLogBeginId(String tkClockLogId)
|
List<TimeBlock> |
getTimeBlocksForClockLogEndId(String tkClockLogId)
|
List<TimeBlock> |
getTimeBlocksWithEarnCode(String earnCode,
Date effDate)
|
Boolean |
isTimeBlockEditable(TimeBlock tb)
|
void |
resetTimeHourDetail(List<TimeBlock> origTimeBlocks)
Reset the TimeHourDetail object associated with the TimeBlock object on a List of TimeBlocks |
void |
saveTimeBlocks(List<TimeBlock> tbList)
Save a list of new TimeBlocks |
void |
saveTimeBlocks(List<TimeBlock> oldTimeBlocks,
List<TimeBlock> newTimeBlocks)
Save a list of new TimeBlocks does a comparison for the old versus the new and only saves changed/new/deleted TimeBlocks |
void |
setTimeBlockDao(TimeBlockDao timeBlockDao)
|
void |
updateTimeBlock(TimeBlock tb)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeBlockServiceImpl()
Method Detail |
---|
public void setTimeBlockDao(TimeBlockDao timeBlockDao)
public List<TimeBlock> buildTimeBlocksSpanDates(Assignment assignment, String earnCode, TimesheetDocument timesheetDocument, Timestamp beginTimestamp, Timestamp endTimestamp, BigDecimal hours, BigDecimal amount, Boolean isClockLogCreated, Boolean isLunchDeleted, String spanningWeeks)
TimeBlockService
buildTimeBlocksSpanDates
in interface TimeBlockService
public List<TimeBlock> buildTimeBlocks(Assignment assignment, String earnCode, TimesheetDocument timesheetDocument, Timestamp beginTimestamp, Timestamp endTimestamp, BigDecimal hours, BigDecimal amount, Boolean isClockLogCreated, Boolean isLunchDeleted)
TimeBlockService
buildTimeBlocks
in interface TimeBlockService
public void saveTimeBlocks(List<TimeBlock> oldTimeBlocks, List<TimeBlock> newTimeBlocks)
TimeBlockService
saveTimeBlocks
in interface TimeBlockService
public void saveTimeBlocks(List<TimeBlock> tbList)
TimeBlockService
saveTimeBlocks
in interface TimeBlockService
public void updateTimeBlock(TimeBlock tb)
updateTimeBlock
in interface TimeBlockService
public TimeBlock createTimeBlock(TimesheetDocument timesheetDocument, Timestamp beginTime, Timestamp endTime, Assignment assignment, String earnCode, BigDecimal hours, BigDecimal amount, Boolean clockLogCreated, Boolean lunchDeleted)
TimeBlockService
createTimeBlock
in interface TimeBlockService
public TimeBlock getTimeBlock(String tkTimeBlockId)
TimeBlockService
getTimeBlock
in interface TimeBlockService
public void deleteTimeBlock(TimeBlock timeBlock)
TimeBlockService
deleteTimeBlock
in interface TimeBlockService
public void resetTimeHourDetail(List<TimeBlock> origTimeBlocks)
TimeBlockService
resetTimeHourDetail
in interface TimeBlockService
public List<TimeBlockHistory> createTimeBlockHistories(TimeBlock tb, String actionHistory)
createTimeBlockHistories
in interface TimeBlockService
public List<TimeBlock> getTimeBlocks(String documentId)
TimeBlockService
getTimeBlocks
in interface TimeBlockService
public List<TimeBlock> getTimeBlocksForAssignment(Assignment assign)
TimeBlockService
getTimeBlocksForAssignment
in interface TimeBlockService
public void deleteTimeBlocksAssociatedWithDocumentId(String documentId)
deleteTimeBlocksAssociatedWithDocumentId
in interface TimeBlockService
public Boolean isTimeBlockEditable(TimeBlock tb)
isTimeBlockEditable
in interface TimeBlockService
public List<TimeBlock> getTimeBlocksForClockLogEndId(String tkClockLogId)
getTimeBlocksForClockLogEndId
in interface TimeBlockService
public List<TimeBlock> getTimeBlocksForClockLogBeginId(String tkClockLogId)
getTimeBlocksForClockLogBeginId
in interface TimeBlockService
public List<TimeBlock> getTimeBlocks()
getTimeBlocks
in interface TimeBlockService
public List<TimeBlock> getLatestEndTimestamp()
getLatestEndTimestamp
in interface TimeBlockService
public List<TimeBlock> getOvernightTimeBlocks(String clockLogEndId)
TimeBlockService
getOvernightTimeBlocks
in interface TimeBlockService
public void deleteLunchDeduction(String tkTimeHourDetailId)
deleteLunchDeduction
in interface TimeBlockService
public List<TimeBlock> getTimeBlocksWithEarnCode(String earnCode, Date effDate)
getTimeBlocksWithEarnCode
in interface TimeBlockService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |