|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.action.Action
org.apache.struts.actions.DispatchAction
org.kuali.rice.kns.web.struts.action.KualiAction
org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase
org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentActionBase
org.kuali.kfs.module.ec.document.web.struts.EffortCertificationAction
org.kuali.kfs.module.ec.document.web.struts.CertificationReportAction
public class CertificationReportAction
This class handles Actions for EffortCertification document approval.
Field Summary | |
---|---|
protected static org.apache.log4j.Logger |
LOG
|
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase |
---|
DOCUMENT_LOAD_COMMANDS |
Fields inherited from class org.kuali.rice.kns.web.struts.action.KualiAction |
---|
FORM_ACTION, FORWARD_NEXT, FORWARD_TEXT_AREA_UPDATE, METHOD_TO_CALL, POST_TEXT_AREA_TO_PARENT, TEXT_AREA_FIELD_ANCHOR, TEXT_AREA_FIELD_LABEL, TEXT_AREA_FIELD_NAME, TEXT_AREA_MAX_LENGTH, TEXT_AREA_READ_ONLY |
Fields inherited from class org.apache.struts.actions.DispatchAction |
---|
clazz, log, messages, methods, types |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
CertificationReportAction()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
add(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
add New Effort Certification Detail Lines |
org.apache.struts.action.ActionForward |
addSummarizedDetailLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
add a new detail line and make a corresponding update on the underlying detail lines |
org.apache.struts.action.ActionForward |
approve(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected Map<String,String> |
convertSummarizedDetailToChartAccountMap(List<EffortCertificationDetail> summaryDetail)
Transforms the summarized effort detail lines into a chart/account number map |
protected List<EffortCertificationDetail> |
createSummarizedDetailLines(CertificationReportForm certificationReportForm)
|
org.apache.struts.action.ActionForward |
delete(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
delete detail line |
org.apache.struts.action.ActionForward |
deleteSummarizedDetailLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
delete a detail line from summarized detail lines and make a corresponding update on the underlying detail lines |
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)
|
protected List<EffortCertificationDetail> |
findDetailLinesInGroup(List<EffortCertificationDetail> detailLines,
String groupId)
find the detail lines belonging to the given group from the given detail lines |
protected String |
getPropsalNumberForProjectDirector(String projectDirectorId,
List<EffortCertificationDetail> summarizedDetailLines)
Retrieves a proposal number for a project director from a list of awards pulled by chart/account number. |
org.apache.struts.action.ActionForward |
insertBONote(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected boolean |
isSummarizeDetailLinesRendered(CertificationReportForm certificationReportForm)
determine whether the summarized detail lines need to be rendered |
protected void |
loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase)
|
protected void |
populateAuthorizationFields(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase formBase)
Do one additional check on Use Transactional for Summary Tab |
org.apache.struts.action.ActionForward |
recalculate(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
recalculate the detail line |
protected void |
recalculateAllDetailLines(CertificationReportForm certificationReportForm)
recalculate all detail lines with the information in summarized detail lines |
org.apache.struts.action.ActionForward |
recalculateSummarizedDetailLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
recalculate a detail line in summarized detail lines and make a corresponding update on the underlying detail lines |
org.apache.struts.action.ActionForward |
refresh(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected Map<String,DetailLineGroup> |
refreshDetailLineGroupMap(CertificationReportForm certificationReportForm)
rebuild the detail line group map from the detail lines of the current document |
protected void |
resetPersistedFields(EffortCertificationDetail detailLine)
reset the persisted fields of the given detail line |
org.apache.struts.action.ActionForward |
revert(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
revert the detail line to the original values |
protected void |
revertDetaiLine(List<EffortCertificationDetail> detailLines,
EffortCertificationDetail lineToRevert)
find the given detail line from the given collection of detail lines and revert it |
protected void |
revertDetaiLine(List<EffortCertificationDetail> detailLines,
int lineToRevertIndex)
revert the detail line in the specified position |
org.apache.struts.action.ActionForward |
revertSummarizedDetailLine(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
revert a detail line in summarized detail lines and make a corresponding update on the underlying detail lines |
protected void |
sortDetailLine(CertificationReportForm certificationReportForm,
List<EffortCertificationDetail> detailLines,
String... sortColumn)
sort the detail lines based on the values of the sort order and sort column |
org.apache.struts.action.ActionForward |
sortDetailLineByColumn(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
sort the detail lines by column |
protected void |
toggleSortOrder(CertificationReportForm certificationReportForm)
Toggles the sort order between ascending and descending. |
protected void |
updateDetailLineGroup(DetailLineGroup detailLineGroup,
EffortCertificationDetail detailLine,
org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount)
update detail line group with the the information in the given detail line |
protected void |
updateDetailLinesFromSummaryLines(CertificationReportForm certificationReportForm)
recalculate all detail lines with the information in summarized detail lines |
Methods inherited from class org.kuali.kfs.module.ec.document.web.struts.EffortCertificationAction |
---|
invokeRules, processDetailLineOverrides, updateDetailLineOverrideCode |
Methods inherited from class org.kuali.kfs.sys.document.web.struts.FinancialSystemTransactionalDocumentActionBase |
---|
correct |
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase |
---|
copy |
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase |
---|
acknowledge, attemptLockRelease, blanketApprove, buildAuthorizationException, cancel, cancelBOAttachment, canSave, checkAndWarnAboutSensitiveData, checkAuthorization, close, combineAdHocRecipients, convertSetToMap, createDocument, deleteAdHocRoutePerson, deleteAdHocRouteWorkgroup, deleteBONote, determineNoteWorkflowNotificationAction, disapprove, docHandler, doProcessingAfterPost, downloadBOAttachment, exitingDocument, fyi, generatePessimisticLockMessage, getAttachmentService, getBusinessObjectAuthorizationService, getBusinessObjectMetaDataService, getBusinessObjectService, getDataDictionaryService, getDocumentHelperService, getDocumentService, getEntityManagerFactory, getIdentityManagementService, getKualiConfigurationService, getKualiRuleService, getNoteService, getParameterService, getPessimisticLockService, getQuestion, hideAllTabs, insertAdHocRoutePerson, insertAdHocRouteWorkgroup, isFormRepresentingLockObject, performRouteReport, populateAdHocActionRequestCodes, promptBeforeValidation, promptBeforeValidation, refreshAdHocRoutingWorkgroupLookups, releaseLocks, reload, returnToSender, route, save, selectedAttachmentIndex, sendAdHocRequests, sendNoteWorkflowNotification, setupDocumentExit, setupPessimisticLockMessages, showAllTabs, streamToResponse, supervisorFunctions, toggleTab |
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction |
---|
addMethodToCallToUncheckedList, defaultDispatch, dispatchMethod, findMethodToCall, getApplicationBaseUrl, getBasePath, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, retrieveLookupParameterValue, updateTextArea, validateLookupInquiryFullParameter |
Methods inherited from class org.apache.struts.actions.DispatchAction |
---|
cancelled, getMethod, getMethodName, getParameter, unspecified |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger LOG
Constructor Detail |
---|
public CertificationReportAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward recalculate(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 add(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 delete(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
delete
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
public org.apache.struts.action.ActionForward revert(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
protected void loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase kualiDocumentFormBase) throws org.kuali.rice.kew.exception.WorkflowException
loadDocument
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
org.kuali.rice.kew.exception.WorkflowException
KualiDocumentActionBase.loadDocument(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
public org.apache.struts.action.ActionForward refresh(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
refresh
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiAction.refresh(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
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 org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
Action.execute(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward sortDetailLineByColumn(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 recalculateSummarizedDetailLine(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 addSummarizedDetailLine(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 deleteSummarizedDetailLine(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 revertSummarizedDetailLine(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
protected List<EffortCertificationDetail> findDetailLinesInGroup(List<EffortCertificationDetail> detailLines, String groupId)
detailLines
- the given detail linesgroupId
- the given group id
protected boolean isSummarizeDetailLinesRendered(CertificationReportForm certificationReportForm)
certificationReportForm
- the action form
protected void recalculateAllDetailLines(CertificationReportForm certificationReportForm)
certificationReportForm
- the given action formprotected void updateDetailLinesFromSummaryLines(CertificationReportForm certificationReportForm)
certificationReportForm
- the given action formprotected void updateDetailLineGroup(DetailLineGroup detailLineGroup, EffortCertificationDetail detailLine, org.kuali.rice.kns.util.KualiDecimal totalPayrollAmount)
detailLineGroup
- the given detail line groupdetailLine
- the given detail linetotalPayrollAmount
- the total payroll amount of the document associating with the detail line groupprotected void toggleSortOrder(CertificationReportForm certificationReportForm)
protected void sortDetailLine(CertificationReportForm certificationReportForm, List<EffortCertificationDetail> detailLines, String... sortColumn)
protected Map<String,DetailLineGroup> refreshDetailLineGroupMap(CertificationReportForm certificationReportForm)
protected void revertDetaiLine(List<EffortCertificationDetail> detailLines, EffortCertificationDetail lineToRevert)
protected void revertDetaiLine(List<EffortCertificationDetail> detailLines, int lineToRevertIndex)
protected void resetPersistedFields(EffortCertificationDetail detailLine)
public org.apache.struts.action.ActionForward approve(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
approve
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.approve(org.apache.struts.action.ActionMapping,
org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
public org.apache.struts.action.ActionForward insertBONote(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
insertBONote
in class org.kuali.rice.kns.web.struts.action.KualiDocumentActionBase
Exception
KualiDocumentActionBase.insertBONote(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
protected void populateAuthorizationFields(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase formBase)
populateAuthorizationFields
in class org.kuali.rice.kns.web.struts.action.KualiTransactionalDocumentActionBase
KualiTransactionalDocumentActionBase.populateAuthorizationFields(org.kuali.rice.kns.web.struts.form.KualiDocumentFormBase)
protected String getPropsalNumberForProjectDirector(String projectDirectorId, List<EffortCertificationDetail> summarizedDetailLines)
projectDirectorId
-
protected List<EffortCertificationDetail> createSummarizedDetailLines(CertificationReportForm certificationReportForm)
protected Map<String,String> convertSummarizedDetailToChartAccountMap(List<EffortCertificationDetail> summaryDetail)
summaryDetail
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |