org.kuali.hr.lm.leaverequest.service
Class LeaveRequestDocumentServiceImpl

java.lang.Object
  extended by org.kuali.hr.lm.leaverequest.service.LeaveRequestDocumentServiceImpl
All Implemented Interfaces:
LeaveRequestDocumentService

public class LeaveRequestDocumentServiceImpl
extends Object
implements LeaveRequestDocumentService


Constructor Summary
LeaveRequestDocumentServiceImpl()
           
 
Method Summary
 void approveLeave(String documentId, String principalId, String reason)
           
 LeaveRequestDocument createLeaveRequestDocument(String leaveBlockId)
           
 void deferLeave(String documentId, String principalId, String reason)
           
 void disapproveLeave(String documentId, String principalId, String reason)
           
 List<String> getApproverIdList(String documentId)
          Get a list of principal ids of approvers that have taken "approve" action on the given document
 LeaveRequestDocument getLeaveRequestDocument(String documentId)
           
 LeaveRequestDocumentDao getLeaveRequestDocumentDao()
           
 List<LeaveRequestDocument> getLeaveRequestDocumentsByLeaveBlockId(String leaveBlockId)
           
 void recallAndCancelLeave(String documentId, String principalId, String reason)
           
 void requestLeave(String documentId)
           
 LeaveRequestDocument saveLeaveRequestDocument(LeaveRequestDocument document)
           
 void setLeaveRequestDocumentDao(LeaveRequestDocumentDao leaveRequestDocumentDao)
           
 void suBlanketApproveLeave(String documentId, String principalId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaveRequestDocumentServiceImpl

public LeaveRequestDocumentServiceImpl()
Method Detail

getLeaveRequestDocument

public LeaveRequestDocument getLeaveRequestDocument(String documentId)
Specified by:
getLeaveRequestDocument in interface LeaveRequestDocumentService

getLeaveRequestDocumentsByLeaveBlockId

public List<LeaveRequestDocument> getLeaveRequestDocumentsByLeaveBlockId(String leaveBlockId)
Specified by:
getLeaveRequestDocumentsByLeaveBlockId in interface LeaveRequestDocumentService

saveLeaveRequestDocument

public LeaveRequestDocument saveLeaveRequestDocument(LeaveRequestDocument document)
Specified by:
saveLeaveRequestDocument in interface LeaveRequestDocumentService

createLeaveRequestDocument

public LeaveRequestDocument createLeaveRequestDocument(String leaveBlockId)
Specified by:
createLeaveRequestDocument in interface LeaveRequestDocumentService

requestLeave

public void requestLeave(String documentId)
Specified by:
requestLeave in interface LeaveRequestDocumentService

approveLeave

public void approveLeave(String documentId,
                         String principalId,
                         String reason)
Specified by:
approveLeave in interface LeaveRequestDocumentService

disapproveLeave

public void disapproveLeave(String documentId,
                            String principalId,
                            String reason)
Specified by:
disapproveLeave in interface LeaveRequestDocumentService

deferLeave

public void deferLeave(String documentId,
                       String principalId,
                       String reason)
Specified by:
deferLeave in interface LeaveRequestDocumentService

recallAndCancelLeave

public void recallAndCancelLeave(String documentId,
                                 String principalId,
                                 String reason)
Specified by:
recallAndCancelLeave in interface LeaveRequestDocumentService

suBlanketApproveLeave

public void suBlanketApproveLeave(String documentId,
                                  String principalId)
Specified by:
suBlanketApproveLeave in interface LeaveRequestDocumentService

getLeaveRequestDocumentDao

public LeaveRequestDocumentDao getLeaveRequestDocumentDao()

setLeaveRequestDocumentDao

public void setLeaveRequestDocumentDao(LeaveRequestDocumentDao leaveRequestDocumentDao)

getApproverIdList

public List<String> getApproverIdList(String documentId)
Description copied from interface: LeaveRequestDocumentService
Get a list of principal ids of approvers that have taken "approve" action on the given document

Specified by:
getApproverIdList in interface LeaveRequestDocumentService
Returns:


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