org.kuali.kfs.module.endow.web.struts
Class AssetStatementAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by org.apache.struts.actions.DispatchAction
          extended by org.kuali.rice.kns.web.struts.action.KualiAction
              extended by org.kuali.kfs.module.endow.web.struts.EndowmentReportBaseAction
                  extended by org.kuali.kfs.module.endow.web.struts.AssetStatementAction

public class AssetStatementAction
extends EndowmentReportBaseAction


Field Summary
 
Fields inherited from class org.kuali.kfs.module.endow.web.struts.EndowmentReportBaseAction
ERROR_BOTH_BEGINNING_AND_ENDING_DATE_REQUIRED, ERROR_REPORT_ENDING_DATE_NOT_GREATER_THAN_BEGINNING_DATE, ERROR_REPORT_KEMID_WITH_OTHER_CRITERIA, KEMID_SEPERATOR, OTHER_CRITERIA_SEPERATOR
 
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
AssetStatementAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Cancels the current page and goes to the start page
 org.apache.struts.action.ActionForward clear(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Clears the form when the "clear" button is pressed
protected  List<String> getKemidsSelected(List<AssetStatementReportDataHolder> transactionStatementReportDataHolder)
          Retrieves all the kemids used for the report
 org.apache.struts.action.ActionForward print(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Generates Transaction Statement in the PDF form
static void saveMimeZipOutputStreamAsFile(javax.servlet.http.HttpServletResponse response, String contentType, Map<String,ByteArrayOutputStream> outputStreamMap, String zipFileName)
          Zip and output files that are not of type text/plain or text/html.
 org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Directs to the start page
 
Methods inherited from class org.kuali.kfs.module.endow.web.struts.EndowmentReportBaseAction
parseValueString
 
Methods inherited from class org.kuali.rice.kns.web.struts.action.KualiAction
addMethodToCallToUncheckedList, checkAuthorization, defaultDispatch, dispatchMethod, doProcessingAfterPost, execute, findMethodToCall, getApplicationBaseUrl, getBasePath, getBusinessObjectAuthorizationService, getEncryptionService, getHeaderTabDispatch, getHeaderTabNavigateTo, getImageContext, getKualiModuleService, getLineToDelete, getReturnLocation, getRoleQualification, getSelectedLine, getTabToToggle, headerTab, hideAllTabs, performInquiry, performLookup, performQuestionWithInput, performQuestionWithInputAgainBecauseOfErrors, performQuestionWithoutInput, performWorkgroupLookup, postTextAreaToParent, refresh, retrieveLookupParameterValue, showAllTabs, toggleTab, 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
 

Constructor Detail

AssetStatementAction

public AssetStatementAction()
Method Detail

start

public org.apache.struts.action.ActionForward start(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
Directs to the start page

Parameters:
mapping -
form -
request -
response -
Returns:
Throws:
Exception

clear

public org.apache.struts.action.ActionForward clear(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
Clears the form when the "clear" button is pressed

Parameters:
mapping -
form -
request -
response -
Returns:
Throws:
Exception

cancel

public org.apache.struts.action.ActionForward cancel(org.apache.struts.action.ActionMapping mapping,
                                                     org.apache.struts.action.ActionForm form,
                                                     javax.servlet.http.HttpServletRequest request,
                                                     javax.servlet.http.HttpServletResponse response)
                                              throws Exception
Cancels the current page and goes to the start page

Parameters:
mapping -
form -
request -
response -
Returns:
Throws:
Exception

print

public org.apache.struts.action.ActionForward print(org.apache.struts.action.ActionMapping mapping,
                                                    org.apache.struts.action.ActionForm form,
                                                    javax.servlet.http.HttpServletRequest request,
                                                    javax.servlet.http.HttpServletResponse response)
                                             throws Exception
Generates Transaction Statement in the PDF form

Parameters:
mapping -
form -
request -
response -
Returns:
Throws:
Exception

saveMimeZipOutputStreamAsFile

public static void saveMimeZipOutputStreamAsFile(javax.servlet.http.HttpServletResponse response,
                                                 String contentType,
                                                 Map<String,ByteArrayOutputStream> outputStreamMap,
                                                 String zipFileName)
                                          throws IOException
Zip and output files that are not of type text/plain or text/html.

Parameters:
response -
contentType -
byteArrayOutputStreams -
fileNames -
zipFileName -
Throws:
IOException

getKemidsSelected

protected List<String> getKemidsSelected(List<AssetStatementReportDataHolder> transactionStatementReportDataHolder)
Retrieves all the kemids used for the report

Parameters:
transactionStatementReportDataHolder -
Returns:


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.