org.kuali.kpme.tklm.time.timeblock.service
Class TimeBlockHistoryServiceImpl

java.lang.Object
  extended by org.kuali.kpme.tklm.time.timeblock.service.TimeBlockHistoryServiceImpl
All Implemented Interfaces:
TimeBlockHistoryService

public class TimeBlockHistoryServiceImpl
extends Object
implements TimeBlockHistoryService


Constructor Summary
TimeBlockHistoryServiceImpl()
           
 
Method Summary
 void addTimeBlockHistoryDetails(TimeBlockHistory timeBlockHistory, TimeBlock timeBlock)
          Add Time Block history Details to Time Block History using timeHourDetails of given time block
 List<TimeBlockHistory> getTimeBlockHistoriesForLookup(String documentId, String principalId, String userPrincipalId, org.joda.time.LocalDate fromDate, org.joda.time.LocalDate toDate)
           
 List<TimeBlockHistory> getTimeBlockHistoryByTkTimeBlockId(String tkTimeBlockId)
          Fetch a TimeBlockHistory by a particular id
 void saveTimeBlockHistory(TimeBlockHistory tbh)
          Save TimeBlock history
 List<TimeBlockHistory> saveTimeBlockHistoryList(List<TimeBlockHistory> tbhs)
          Save a List of TimeBlockHistory objects
 void setTimeBlockHistoryDao(TimeBlockHistoryDao timeBlockHistoryDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeBlockHistoryServiceImpl

public TimeBlockHistoryServiceImpl()
Method Detail

saveTimeBlockHistory

public void saveTimeBlockHistory(TimeBlockHistory tbh)
Description copied from interface: TimeBlockHistoryService
Save TimeBlock history

Specified by:
saveTimeBlockHistory in interface TimeBlockHistoryService

saveTimeBlockHistoryList

public List<TimeBlockHistory> saveTimeBlockHistoryList(List<TimeBlockHistory> tbhs)
Description copied from interface: TimeBlockHistoryService
Save a List of TimeBlockHistory objects

Specified by:
saveTimeBlockHistoryList in interface TimeBlockHistoryService
Returns:

setTimeBlockHistoryDao

public void setTimeBlockHistoryDao(TimeBlockHistoryDao timeBlockHistoryDao)

getTimeBlockHistoryByTkTimeBlockId

public List<TimeBlockHistory> getTimeBlockHistoryByTkTimeBlockId(String tkTimeBlockId)
Description copied from interface: TimeBlockHistoryService
Fetch a TimeBlockHistory by a particular id

Specified by:
getTimeBlockHistoryByTkTimeBlockId in interface TimeBlockHistoryService
Returns:

addTimeBlockHistoryDetails

public void addTimeBlockHistoryDetails(TimeBlockHistory timeBlockHistory,
                                       TimeBlock timeBlock)
Description copied from interface: TimeBlockHistoryService
Add Time Block history Details to Time Block History using timeHourDetails of given time block

Specified by:
addTimeBlockHistoryDetails in interface TimeBlockHistoryService

getTimeBlockHistoriesForLookup

public List<TimeBlockHistory> getTimeBlockHistoriesForLookup(String documentId,
                                                             String principalId,
                                                             String userPrincipalId,
                                                             org.joda.time.LocalDate fromDate,
                                                             org.joda.time.LocalDate toDate)
Specified by:
getTimeBlockHistoriesForLookup in interface TimeBlockHistoryService


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