oracle.cle.process
Class DisplayGroup

java.lang.Object
  |
  +--oracle.cle.process.Process
        |
        +--oracle.cle.process.GenericProcess
              |
              +--oracle.cle.process.ParentProcess
                    |
                    +--oracle.cle.process.DisplayGroup
All Implemented Interfaces:
Child, java.lang.Cloneable, Parent, ProcessConstants, java.io.Serializable, State
Direct Known Subclasses:
LoginGroup, SecureDisplayGroup

public class DisplayGroup
extends ParentProcess

A sequence of processes, assembled to perform some task. Each DisplayGroup should be thought of as a "single shot flow" of Processes where control is returned to the Service when it reaches an ending state.

See Also:
Serialized Form

Field Summary
protected  boolean dtdValidation
           
protected  java.util.Hashtable groupNavigationTable
           
protected static java.lang.String PAGE_ID
           
 
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
DisplayGroup()
           
DisplayGroup(Service aService)
           
 
Method Summary
 java.lang.Object clone()
           
protected  java.util.Hashtable getGroupNavigationTable()
           
protected  void loadFromXML(java.lang.String urlString)
          Loads a Service's definition from the XML file at the specified URL.
 void loadPreprocessingProcesses(java.lang.String xmlDocument)
          This method is called to load the preprocessing groups.
static void main(java.lang.String[] args)
           
protected  void registerInfo()
          Here is where we register all ProcessParameters and potential ProcessResults.
protected  void setGroupNavigationTable(java.util.Hashtable aGroupNavigationTable)
           
protected  void setServiceInitialState()
          Use the groupNavigationTable to set the Service's next initial state
 void start()
          Calls super.start()
 
Methods inherited from class oracle.cle.process.ParentProcess
addTransition, buildTransitionTable, doSkip, getChildren, getEndStates, getInitialState, getSkipable, isReady, processParameters, processResults, registerProcess, registerProcesses, 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
 

Field Detail

groupNavigationTable

protected java.util.Hashtable groupNavigationTable

PAGE_ID

protected static final java.lang.String PAGE_ID

dtdValidation

protected boolean dtdValidation
Constructor Detail

DisplayGroup

public DisplayGroup()

DisplayGroup

public DisplayGroup(Service aService)
Method Detail

start

public void start()
           throws TransitionConditionException
Description copied from class: ParentProcess
Calls super.start()
Overrides:
start in class ParentProcess

setServiceInitialState

protected void setServiceInitialState()
Use the groupNavigationTable to set the Service's next initial state

registerInfo

protected void registerInfo()
Description copied from class: GenericProcess
Here is where we register all ProcessParameters and potential ProcessResults.
Overrides:
registerInfo in class GenericProcess

setGroupNavigationTable

protected void setGroupNavigationTable(java.util.Hashtable aGroupNavigationTable)

getGroupNavigationTable

protected java.util.Hashtable getGroupNavigationTable()

loadPreprocessingProcesses

public void loadPreprocessingProcesses(java.lang.String xmlDocument)
This method is called to load the preprocessing groups. The method should be called after the "main" processes have been defined.

main

public static void main(java.lang.String[] args)

loadFromXML

protected void loadFromXML(java.lang.String urlString)
                    throws CLEException
Loads a Service's definition from the XML file at the specified URL.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class ParentProcess


Copyright © 2003 ORACLE Corp. All Rights Reserved.