com.imcode.imcms.flow
Class EditDocumentPageFlow

java.lang.Object
  extended by com.imcode.imcms.flow.PageFlow
      extended by com.imcode.imcms.flow.DocumentPageFlow
          extended by com.imcode.imcms.flow.EditDocumentPageFlow
All Implemented Interfaces:
HttpSessionAttribute, java.io.Serializable
Direct Known Subclasses:
EditDocumentInformationPageFlow, EditDocumentPermissionsPageFlow, EditFileDocumentPageFlow, EditHtmlDocumentPageFlow, EditUrlDocumentPageFlow

public abstract class EditDocumentPageFlow
extends DocumentPageFlow

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.imcode.imcms.flow.DocumentPageFlow
DocumentPageFlow.SaveDocumentCommand
 
Field Summary
protected  DocumentDomainObject document
           
static java.lang.String PAGE__EDIT
           
static java.lang.String 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
protected EditDocumentPageFlow(DocumentDomainObject document, DispatchCommand returnCommand, DocumentPageFlow.SaveDocumentCommand saveDocumentCommand)
           
 
Method Summary
protected abstract  void dispatchFromEditPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String page)
           
protected  void dispatchFromPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String page)
           
protected  void dispatchOk(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String page)
           
protected abstract  void dispatchOkFromEditPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 DocumentDomainObject getDocument()
           
 
Methods inherited from class com.imcode.imcms.flow.DocumentPageFlow
fromRequest, saveDocument, saveDocumentAndReturn
 
Methods inherited from class com.imcode.imcms.flow.PageFlow
dispatch, dispatchReturn, dispatchToFirstPage, getSessionAttributeName, setSessionAttributeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

document

protected DocumentDomainObject document

URL_I15D_PAGE__PREFIX

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

PAGE__EDIT

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

EditDocumentPageFlow

protected EditDocumentPageFlow(DocumentDomainObject document,
                               DispatchCommand returnCommand,
                               DocumentPageFlow.SaveDocumentCommand saveDocumentCommand)
Method Detail

getDocument

public DocumentDomainObject getDocument()
Specified by:
getDocument in class DocumentPageFlow

dispatchFromPage

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

dispatchOk

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

dispatchFromEditPage

protected abstract void dispatchFromEditPage(javax.servlet.http.HttpServletRequest request,
                                             javax.servlet.http.HttpServletResponse response,
                                             java.lang.String page)
                                      throws java.io.IOException,
                                             javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException

dispatchOkFromEditPage

protected abstract void dispatchOkFromEditPage(javax.servlet.http.HttpServletRequest request,
                                               javax.servlet.http.HttpServletResponse response)
                                        throws java.io.IOException,
                                               javax.servlet.ServletException
Throws:
java.io.IOException
javax.servlet.ServletException