com.imcode.imcms.flow
Class EditFileDocumentPageFlow

java.lang.Object
  extended by com.imcode.imcms.flow.PageFlow
      extended by com.imcode.imcms.flow.DocumentPageFlow
          extended by com.imcode.imcms.flow.EditDocumentPageFlow
              extended by com.imcode.imcms.flow.EditFileDocumentPageFlow
All Implemented Interfaces:
HttpSessionAttribute, java.io.Serializable

public class EditFileDocumentPageFlow
extends EditDocumentPageFlow

See Also:
Serialized Form

Nested Class Summary
static class EditFileDocumentPageFlow.ArrayMimeTypeRestriction
           
static class EditFileDocumentPageFlow.FileDocumentEditPage
           
static class EditFileDocumentPageFlow.FileItemInputStreamSource
           
static interface EditFileDocumentPageFlow.MimeTypeRestriction
           
static class EditFileDocumentPageFlow.ValidMimeTypeRestriction
           
 
Nested classes/interfaces inherited from class com.imcode.imcms.flow.DocumentPageFlow
DocumentPageFlow.SaveDocumentCommand
 
Field Summary
static java.lang.String REQUEST_PARAMETER__DEFAULT_FILE
           
static java.lang.String REQUEST_PARAMETER__DELETE_FILE_BUTTON_PREFIX
           
static java.lang.String REQUEST_PARAMETER__FILE_DOC__FILE
           
static java.lang.String REQUEST_PARAMETER__FILE_DOC__MIME_TYPE
           
static java.lang.String REQUEST_PARAMETER__FILE_DOC__NEW_FILE_ID_PREFIX
           
static java.lang.String REQUEST_PARAMETER__FILE_DOC__SELECTED_FILE_ID
           
static java.lang.String REQUEST_PARAMETER__SAVE_FILE_BUTTON
           
static java.lang.String REQUEST_PARAMETER__SELECT_FILE_BUTTON_PREFIX
           
 
Fields inherited from class com.imcode.imcms.flow.EditDocumentPageFlow
document, PAGE__EDIT, URL_I15D_PAGE__PREFIX
 
Fields inherited from class com.imcode.imcms.flow.DocumentPageFlow
saveDocumentCommand
 
Fields inherited from class com.imcode.imcms.flow.PageFlow
REQUEST_ATTRIBUTE_OR_PARAMETER__FLOW, REQUEST_PARAMETER__CANCEL_BUTTON, REQUEST_PARAMETER__OK_BUTTON, REQUEST_PARAMETER__PAGE, returnCommand
 
Constructor Summary
EditFileDocumentPageFlow(FileDocumentDomainObject document, javax.servlet.ServletContext servletContext, DispatchCommand returnCommand, DocumentPageFlow.SaveDocumentCommand saveDocumentCommand, EditFileDocumentPageFlow.MimeTypeRestriction mimeTypeRestriction)
           
 
Method Summary
protected  void dispatchFromEditPage(javax.servlet.http.HttpServletRequest r, javax.servlet.http.HttpServletResponse response, java.lang.String page)
           
protected  void dispatchOkFromEditPage(javax.servlet.http.HttpServletRequest r, javax.servlet.http.HttpServletResponse response)
           
protected  void dispatchToFirstPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class com.imcode.imcms.flow.EditDocumentPageFlow
dispatchFromPage, dispatchOk, getDocument
 
Methods inherited from class com.imcode.imcms.flow.DocumentPageFlow
fromRequest, saveDocument, saveDocumentAndReturn
 
Methods inherited from class com.imcode.imcms.flow.PageFlow
dispatch, dispatchReturn, getSessionAttributeName, setSessionAttributeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_PARAMETER__FILE_DOC__FILE

public static final java.lang.String REQUEST_PARAMETER__FILE_DOC__FILE
See Also:
Constant Field Values

REQUEST_PARAMETER__FILE_DOC__MIME_TYPE

public static final java.lang.String REQUEST_PARAMETER__FILE_DOC__MIME_TYPE
See Also:
Constant Field Values

REQUEST_PARAMETER__SELECT_FILE_BUTTON_PREFIX

public static final java.lang.String REQUEST_PARAMETER__SELECT_FILE_BUTTON_PREFIX
See Also:
Constant Field Values

REQUEST_PARAMETER__DEFAULT_FILE

public static final java.lang.String REQUEST_PARAMETER__DEFAULT_FILE
See Also:
Constant Field Values

REQUEST_PARAMETER__DELETE_FILE_BUTTON_PREFIX

public static final java.lang.String REQUEST_PARAMETER__DELETE_FILE_BUTTON_PREFIX
See Also:
Constant Field Values

REQUEST_PARAMETER__FILE_DOC__SELECTED_FILE_ID

public static final java.lang.String REQUEST_PARAMETER__FILE_DOC__SELECTED_FILE_ID
See Also:
Constant Field Values

REQUEST_PARAMETER__SAVE_FILE_BUTTON

public static final java.lang.String REQUEST_PARAMETER__SAVE_FILE_BUTTON
See Also:
Constant Field Values

REQUEST_PARAMETER__FILE_DOC__NEW_FILE_ID_PREFIX

public static final java.lang.String REQUEST_PARAMETER__FILE_DOC__NEW_FILE_ID_PREFIX
See Also:
Constant Field Values
Constructor Detail

EditFileDocumentPageFlow

public EditFileDocumentPageFlow(FileDocumentDomainObject document,
                                javax.servlet.ServletContext servletContext,
                                DispatchCommand returnCommand,
                                DocumentPageFlow.SaveDocumentCommand saveDocumentCommand,
                                EditFileDocumentPageFlow.MimeTypeRestriction mimeTypeRestriction)
Method Detail

dispatchOkFromEditPage

protected void dispatchOkFromEditPage(javax.servlet.http.HttpServletRequest r,
                                      javax.servlet.http.HttpServletResponse response)
                               throws java.io.IOException,
                                      javax.servlet.ServletException
Specified by:
dispatchOkFromEditPage in class EditDocumentPageFlow
Throws:
java.io.IOException
javax.servlet.ServletException

dispatchToFirstPage

protected void dispatchToFirstPage(javax.servlet.http.HttpServletRequest request,
                                   javax.servlet.http.HttpServletResponse response)
                            throws java.io.IOException,
                                   javax.servlet.ServletException
Specified by:
dispatchToFirstPage in class PageFlow
Throws:
java.io.IOException
javax.servlet.ServletException

dispatchFromEditPage

protected void dispatchFromEditPage(javax.servlet.http.HttpServletRequest r,
                                    javax.servlet.http.HttpServletResponse response,
                                    java.lang.String page)
                             throws java.io.IOException,
                                    javax.servlet.ServletException
Specified by:
dispatchFromEditPage in class EditDocumentPageFlow
Throws:
java.io.IOException
javax.servlet.ServletException