|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.lm.leavecalendar.service.LeaveCalendarServiceImpl
public class LeaveCalendarServiceImpl
Constructor Summary | |
---|---|
LeaveCalendarServiceImpl()
|
Method Summary | |
---|---|
void |
approveLeaveCalendar(String principalId,
LeaveCalendarDocument leaveCalendarDocument)
|
void |
approveLeaveCalendar(String principalId,
LeaveCalendarDocument leaveCalendarDocument,
String action)
|
void |
disapproveLeaveCalendar(String principalId,
LeaveCalendarDocument leaveCalendarDocument)
|
BigDecimal |
getCarryOverForCurrentCalendar(String principalId)
|
LeaveCalendarDao |
getLeaveCalendarDao()
|
LeaveCalendarDocument |
getLeaveCalendarDocument(String documentId)
|
LeaveCalendarDocument |
getLeaveCalendarDocument(String principalId,
CalendarEntries calendarEntry)
|
protected LeaveCalendarDocument |
initiateWorkflowDocument(String principalId,
Date payBeginDate,
Date payEndDate,
CalendarEntries calendarEntries,
String documentType,
String title)
|
boolean |
isLeavePlanningCalendar(String principalId,
Date beginDate,
Date endDate)
Determine if Leave Calendar is planning or reporting calendar |
boolean |
isReadyToApprove(LeaveCalendarDocument document)
|
protected void |
leaveCalendarDocumentAction(String action,
String principalId,
LeaveCalendarDocument leaveCalendarDocument)
|
protected void |
loadLeaveCalendarDocumentData(LeaveCalendarDocument ldoc,
String principalId,
CalendarEntries calEntry)
Preload the document data. |
LeaveCalendarDocument |
openLeaveCalendarDocument(String principalId,
CalendarEntries calEntry)
|
void |
routeLeaveCalendar(String principalId,
LeaveCalendarDocument leaveCalendarDocument)
Route the given leaveCalendarDocument |
void |
routeLeaveCalendar(String principalId,
LeaveCalendarDocument leaveCalendarDocument,
String action)
|
void |
setLeaveCalendarDao(LeaveCalendarDao leaveCalendarDao)
|
boolean |
shouldCreateLeaveDocument(String principalId,
CalendarEntries calEntry)
Determine if Leave Calendar document should be created for given principalId and calendar entry Should only create leave calendar document if active jobs were found with flsa elig = no and ben elg = yes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LeaveCalendarServiceImpl()
Method Detail |
---|
public LeaveCalendarDocument getLeaveCalendarDocument(String documentId)
getLeaveCalendarDocument
in interface LeaveCalendarService
public LeaveCalendarDocument openLeaveCalendarDocument(String principalId, CalendarEntries calEntry) throws org.kuali.rice.kew.api.exception.WorkflowException
openLeaveCalendarDocument
in interface LeaveCalendarService
org.kuali.rice.kew.api.exception.WorkflowException
public boolean shouldCreateLeaveDocument(String principalId, CalendarEntries calEntry)
LeaveCalendarService
shouldCreateLeaveDocument
in interface LeaveCalendarService
protected LeaveCalendarDocument initiateWorkflowDocument(String principalId, Date payBeginDate, Date payEndDate, CalendarEntries calendarEntries, String documentType, String title) throws org.kuali.rice.kew.api.exception.WorkflowException
org.kuali.rice.kew.api.exception.WorkflowException
protected void loadLeaveCalendarDocumentData(LeaveCalendarDocument ldoc, String principalId, CalendarEntries calEntry)
ldoc
- principalId
- calEntry
- public LeaveCalendarDao getLeaveCalendarDao()
public void setLeaveCalendarDao(LeaveCalendarDao leaveCalendarDao)
public LeaveCalendarDocument getLeaveCalendarDocument(String principalId, CalendarEntries calendarEntry)
getLeaveCalendarDocument
in interface LeaveCalendarService
public void routeLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument)
LeaveCalendarService
routeLeaveCalendar
in interface LeaveCalendarService
public void routeLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument, String action)
routeLeaveCalendar
in interface LeaveCalendarService
public void approveLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument)
approveLeaveCalendar
in interface LeaveCalendarService
public void approveLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument, String action)
approveLeaveCalendar
in interface LeaveCalendarService
public void disapproveLeaveCalendar(String principalId, LeaveCalendarDocument leaveCalendarDocument)
disapproveLeaveCalendar
in interface LeaveCalendarService
public boolean isReadyToApprove(LeaveCalendarDocument document)
isReadyToApprove
in interface LeaveCalendarService
protected void leaveCalendarDocumentAction(String action, String principalId, LeaveCalendarDocument leaveCalendarDocument)
public boolean isLeavePlanningCalendar(String principalId, Date beginDate, Date endDate)
LeaveCalendarService
isLeavePlanningCalendar
in interface LeaveCalendarService
public BigDecimal getCarryOverForCurrentCalendar(String principalId)
getCarryOverForCurrentCalendar
in interface LeaveCalendarService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |