oracle.clex.process
Class CreatePage

java.lang.Object
  |
  +--oracle.cle.process.Process
        |
        +--oracle.cle.process.GenericProcess
              |
              +--oracle.cle.process.ParentProcess
                    |
                    +--oracle.clex.process.CreatePage
All Implemented Interfaces:
Child, java.lang.Cloneable, PageConstants, Parent, ProcessConstants, java.io.Serializable, State
Direct Known Subclasses:
CreateGenericBinaryPage, CreateGenericTextPage, CreateJSPPage, CreateMarlinBeanPage

public abstract class CreatePage
extends ParentProcess
implements PageConstants

Presents the web user with an HTML page result. This is the superclass for most of the createXXXPage processes.

See Also:
CreateHTMLPage, Serialized Form

Fields inherited from class oracle.cle.process.GenericProcess
parent
 
Fields inherited from class oracle.cle.process.Process
condition, DEBUG, endState, FAILURE, name, processes, service, stateMachine, SUCCESS, TRANSITION_CONDITION_FAILURE, TRANSITION_CONDITION_SUCCESS
 
Fields inherited from interface oracle.cle.process.ProcessConstants
ALLINFO, BINARYSIZE, CONNECTION_PROVIDER_DTD_NAME, CONNECTION_PROVIDER_VALIDATION_PROPERTY, CONTENTTYPE, CURRENTPAGEID, CURRENTSERVICE, ERRORMESSAGE, GENERICBINARYRESULT, GENERICTEXTRESULT, GETINFO_CHECK_ALL, GETINFO_CHECK_CONTROLLERONLY, GETINFO_CHECK_SERVICEONLY, HTML, HTMLRESULT, JSPRESULT, LOGOFF, NOMESSAGE, PAGEID, PDF, PDFRESULT, PRE_GROUP_DTD_NAME, PRE_GROUP_VALIDATION_PROPERTY, PROCESS_FEEDBACK, RESTART, RESULTTYPE, RULES_DTD_NAME, SERVICE_DESCRIPTOR, SERVICE_DTD_NAME, SERVICE_VALIDATION_PROPERTY, SERVICEINITIALSTATE, SERVICENAME, SESSIONID, SKIP, STACKTRACE, USER, USERROLE, WML, XML, XMLRESULT
 
Constructor Summary
CreatePage()
          Default constructor of CreatePage
 
Method Summary
 void buildTransitionTable(TransitionTable table)
          Dummy implementation
protected  java.lang.String getPageId()
          Returns a page id for this page.
protected  java.lang.String lookupPageLocation(java.lang.String key)
          Does the infoTable lookup for an HTML page keyed by the specified String.
protected abstract  void postStart()
           
protected abstract  void preStart()
           
protected abstract  void printPage(java.io.PrintWriter out)
           
protected  void registerInfo()
          This method registers the result(RESULTTYPE) info parameters.
protected  void registerProcesses()
          Dummy implementation
protected abstract  void setCreatePageResult(java.lang.String result)
           
 void start()
          Starts execution of this State Calls the printPage(PrintWriter out) to print page.
 
Methods inherited from class oracle.cle.process.ParentProcess
addTransition, clone, doSkip, getChildren, getEndStates, getInitialState, getSkipable, isReady, processParameters, processResults, registerProcess, setInitialState, setSkipable, skip
 
Methods inherited from class oracle.cle.process.GenericProcess
getBooleanInfo, getFloatInfo, getInfo, getInfo, getInfo, getInfoValue, getInfoValue, getInfoValueFromController, getInfoValueFromService, getIntegerInfo, getParameterNamed, getParameters, getParent, getParents, getResultNamed, getResults, getSessionId, getStringInfo, processParameters, processResults, registerBooleanParameter, registerBooleanResult, registerIntegerParameter, registerIntegerResult, registerParameter, registerProcessInfo, registerResult, registerStringArrayParameter, registerStringArrayResult, registerStringParameter, registerStringParameter, registerStringResult, registerStringResult, retrieveStringParameter, runTest, setParent, setResult, setResult, setResult
 
Methods inherited from class oracle.cle.process.Process
addCondition, addProcess, cloneProcess, debug, generateFailureCondition, generateSuccessCondition, getClassname, getCondition, getConditions, getIconName, getImageName, getName, getProcesses, getProcessNamed, getStateMachine, hashCode, isEndState, removeCondition, removeCondition, reportException, returnCondition, setCondition, setCondition, setEndState, setName, setService, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface oracle.cle.process.Parent
getInfo, getName, getParents
 
Methods inherited from interface oracle.cle.process.Child
getParameters, getParent, getParents, getResults, setParent
 

Constructor Detail

CreatePage

public CreatePage()
Default constructor of CreatePage
Method Detail

start

public void start()
Starts execution of this State Calls the printPage(PrintWriter out) to print page.
Overrides:
start in class ParentProcess

registerInfo

protected void registerInfo()
This method registers the result(RESULTTYPE) info parameters.
Overrides:
registerInfo in class GenericProcess

lookupPageLocation

protected java.lang.String lookupPageLocation(java.lang.String key)
                                       throws java.lang.Exception
Does the infoTable lookup for an HTML page keyed by the specified String.
Throws:
java.lang.Exception -  

getPageId

protected java.lang.String getPageId()
Returns a page id for this page. All Cleveland HttpServletController based pages must have a PageId defined dynamically. This method supports page id's based on groups or non-group design scenarios

buildTransitionTable

public void buildTransitionTable(TransitionTable table)
Dummy implementation
Overrides:
buildTransitionTable in class ParentProcess

registerProcesses

protected void registerProcesses()
Dummy implementation
Overrides:
registerProcesses in class ParentProcess

preStart

protected abstract void preStart()

postStart

protected abstract void postStart()

setCreatePageResult

protected abstract void setCreatePageResult(java.lang.String result)

printPage

protected abstract void printPage(java.io.PrintWriter out)


Copyright © 2003 ORACLE Corp. All Rights Reserved.