com.imcode.imcms.flow
Class PublishDocumentPageFlow

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

public class PublishDocumentPageFlow
extends DocumentPageFlow

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.imcode.imcms.flow.DocumentPageFlow
DocumentPageFlow.SaveDocumentCommand
 
Field Summary
 
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
PublishDocumentPageFlow(DocumentDomainObject document, DispatchCommand returnCommand, DocumentPageFlow.SaveDocumentCommand saveDocumentCommand, UserDomainObject user)
           
 
Method Summary
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  void dispatchToFirstPage(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, getSessionAttributeName, setSessionAttributeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishDocumentPageFlow

public PublishDocumentPageFlow(DocumentDomainObject document,
                               DispatchCommand returnCommand,
                               DocumentPageFlow.SaveDocumentCommand saveDocumentCommand,
                               UserDomainObject user)
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

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