public class ClockAction extends TimesheetAction
Modifier and Type | Field and Description |
---|---|
static String |
DOCUMENT_NOT_INITIATE_ERROR |
static SimpleDateFormat |
SDF |
static String |
SEPERATOR |
static String |
TIME_BLOCK_OVERLAP_ERROR |
toLeaveBlockBuilder, toTimeBlockBuilder
Constructor and Description |
---|
ClockAction() |
Modifier and Type | Method and Description |
---|---|
org.apache.struts.action.ActionForward |
addTimeBlock(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
assignShowDistributeButton(ClockActionForm caf) |
protected void |
checkTKAuthorization(org.apache.struts.action.ActionForm form,
String methodToCall) |
org.apache.struts.action.ActionForward |
clockAction(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
distributeTimeBlocks(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
editTimeBlock(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
saveNewTimeBlocks(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.struts.action.ActionForward |
validateNewTimeBlock(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
validateOverlapping(org.joda.time.LocalDate asOfDate,
List<TimeBlock> tbList,
org.joda.time.DateTime beginDateTime,
org.joda.time.DateTime endDateTime,
Assignment assignment) |
docHandler, getCalendarEntries, setMessages
setCalendarFields
userLogout
addMethodToCallToUncheckedList, checkAuthorization, defaultDispatch, dispatchMethod, doProcessingAfterPost, findMethodToCall, getApplicationBaseUrl, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getLineToEdit, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, isModuleLocked, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, refresh, retrieveLookupParameterValue, showAllTabs, toggleTab, updateTextArea, validateLookupInquiryFullParameter
cancelled, getMethod, getMethodName, getParameter, unspecified
addErrors, addMessages, execute, generateToken, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
public static final SimpleDateFormat SDF
public static final String SEPERATOR
public static final String DOCUMENT_NOT_INITIATE_ERROR
public static final String TIME_BLOCK_OVERLAP_ERROR
public ClockAction()
protected void checkTKAuthorization(org.apache.struts.action.ActionForm form, String methodToCall) throws org.kuali.rice.krad.exception.AuthorizationException
checkTKAuthorization
in class TimesheetAction
org.kuali.rice.krad.exception.AuthorizationException
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
execute
in class TimesheetAction
Exception
public void assignShowDistributeButton(ClockActionForm caf)
public org.apache.struts.action.ActionForward clockAction(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public boolean validateOverlapping(org.joda.time.LocalDate asOfDate, List<TimeBlock> tbList, org.joda.time.DateTime beginDateTime, org.joda.time.DateTime endDateTime, Assignment assignment)
public org.apache.struts.action.ActionForward distributeTimeBlocks(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception
public org.apache.struts.action.ActionForward editTimeBlock(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward addTimeBlock(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward saveNewTimeBlocks(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public org.apache.struts.action.ActionForward validateNewTimeBlock(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.