com.openedit.page
Class PageStreamer

java.lang.Object
  extended by com.openedit.page.PageStreamer

public class PageStreamer
extends java.lang.Object

Author:
Matthew Avery, mavery@einnovation.com

Constructor Summary
PageStreamer()
           
 
Method Summary
 boolean canDo(java.lang.String inDo, java.lang.String inPath)
           
 WebPageRequest canDoPermissions(java.lang.String inPath)
           
 boolean canEdit(java.lang.String inPath)
           
 boolean canView(java.lang.String inPath)
           
 PageStreamer copy()
           
 boolean doesExist(java.lang.String inPath)
           
 void forward(java.lang.String path, WebPageRequest inReq)
           
 java.util.List getChildContentList()
           
 OpenEditEngine getEngine()
           
 int getMaxLoop()
           
 Output getOutput()
           
 Page getPage(java.lang.String inPath)
           
 PageManager getPageManager()
           
 WebPageRequest getWebPageRequest()
           
 java.util.Map getWebPageRequestedCount()
           
 void include(Page inPage)
           
 void include(Page inPage, WebPageRequest inContext)
          Allows a page to be streamed that uses this request as the parent request
 void include(java.lang.String inPath)
           
 void include(java.lang.String inPath, WebPageRequest inReq)
           
 void includeContent()
           
 boolean isDebug()
           
 void render()
          This is called only once We need to exec all the page actions ahead of time And check the read permissions ahead of time Then we can do the rendering
 void renderContent()
          Deprecated. use includeContent()
 void setDebug(boolean inDebug)
           
 void setEngine(OpenEditEngine engine)
           
 void setMaxLoop(int inMaxLoop)
           
 void setOutput(Output inOutput)
           
 void setWebPageRequest(WebPageRequest WebPageRequest)
           
 void stream(Page inPage)
          Deprecated.  
 void stream(Page inPage, WebPageRequest inContext)
          Deprecated.  
 void stream(java.lang.String inPath)
          Deprecated.  
 void stream(java.lang.String inPath, WebPageRequest inReq)
          Deprecated.  
 void streamContent()
          Deprecated. use includeContent()
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageStreamer

public PageStreamer()
Method Detail

render

public void render()
            throws OpenEditException
This is called only once We need to exec all the page actions ahead of time And check the read permissions ahead of time Then we can do the rendering

Throws:
OpenEditException

streamContent

public void streamContent()
                   throws OpenEditException
Deprecated. use includeContent()

Throws:
OpenEditException

renderContent

public void renderContent()
                   throws OpenEditException
Deprecated. use includeContent()

Throws:
OpenEditException

includeContent

public void includeContent()
                    throws OpenEditException
Throws:
OpenEditException

include

public void include(Page inPage)
             throws OpenEditException
Throws:
OpenEditException

include

public void include(Page inPage,
                    WebPageRequest inContext)
             throws OpenEditException
Allows a page to be streamed that uses this request as the parent request

Throws:
OpenEditException

include

public void include(java.lang.String inPath,
                    WebPageRequest inReq)
             throws OpenEditException
Throws:
OpenEditException

include

public void include(java.lang.String inPath)
             throws OpenEditException
Throws:
OpenEditException

stream

public void stream(Page inPage)
            throws OpenEditException
Deprecated. 

Use include

Throws:
OpenEditException

stream

public void stream(Page inPage,
                   WebPageRequest inContext)
            throws OpenEditException
Deprecated. 

Use include

Throws:
OpenEditException

stream

public void stream(java.lang.String inPath,
                   WebPageRequest inReq)
            throws OpenEditException
Deprecated. 

Use include

Throws:
OpenEditException

stream

public void stream(java.lang.String inPath)
            throws OpenEditException
Deprecated. 

Use include

Throws:
OpenEditException

getWebPageRequestedCount

public java.util.Map getWebPageRequestedCount()

doesExist

public boolean doesExist(java.lang.String inPath)
                  throws OpenEditException
Throws:
OpenEditException

getPage

public Page getPage(java.lang.String inPath)
             throws OpenEditException
Throws:
OpenEditException

getPageManager

public PageManager getPageManager()

getEngine

public OpenEditEngine getEngine()

setEngine

public void setEngine(OpenEditEngine engine)

getWebPageRequest

public WebPageRequest getWebPageRequest()

setWebPageRequest

public void setWebPageRequest(WebPageRequest WebPageRequest)

forward

public void forward(java.lang.String path,
                    WebPageRequest inReq)
             throws OpenEditException
Throws:
OpenEditException

copy

public PageStreamer copy()

getChildContentList

public java.util.List getChildContentList()

getOutput

public Output getOutput()

setOutput

public void setOutput(Output inOutput)

canView

public boolean canView(java.lang.String inPath)
                throws OpenEditException
Throws:
OpenEditException

canDo

public boolean canDo(java.lang.String inDo,
                     java.lang.String inPath)
              throws OpenEditException
Throws:
OpenEditException

canDoPermissions

public WebPageRequest canDoPermissions(java.lang.String inPath)
                                throws OpenEditException
Throws:
OpenEditException

canEdit

public boolean canEdit(java.lang.String inPath)
                throws OpenEditException
Throws:
OpenEditException

getMaxLoop

public int getMaxLoop()

setMaxLoop

public void setMaxLoop(int inMaxLoop)

isDebug

public boolean isDebug()

setDebug

public void setDebug(boolean inDebug)