oracle.cle.process
Class PersistingProcess
java.lang.Object
|
+--oracle.cle.process.Process
|
+--oracle.cle.process.GenericProcess
|
+--oracle.cle.process.PersistingProcess
- All Implemented Interfaces:
- Child, java.lang.Cloneable, ProcessConstants, java.io.Serializable, State
- public abstract class PersistingProcess
- extends GenericProcess
Represents an Process that persists information to a datasource.
Defines the persists()
method and calls it in
start()
- See Also:
- Serialized Form
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 |
Methods inherited from class oracle.cle.process.GenericProcess |
clone, getBooleanInfo, getFloatInfo, getInfo, getInfo, getInfo, getInfoValue, getInfoValue, getInfoValueFromController, getInfoValueFromService, getIntegerInfo, getParameterNamed, getParameters, getParent, getParents, getResultNamed, getResults, getSessionId, getStringInfo, processParameters, processResults, registerBooleanParameter, registerBooleanResult, registerInfo, 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 |
PersistingProcess
public PersistingProcess(Parent aParent)
- Construct this PersistingProcess and pass the Parent that contains
and calls it.
PersistingProcess
public PersistingProcess(Service aService)
- Construct this PersistingProcess and pass the service that contains
and calls it.
PersistingProcess
public PersistingProcess()
- Construct this PersistingProcess
persist
public abstract void persist()
throws java.lang.Exception
- Use this method to do any persisting of data. Only define and use
transaction spaces in ths scope of this method.
getPersistFailureCondition
protected abstract TransitionCondition getPersistFailureCondition()
- Subclasses must define which condition to fire when a persisting
error happens. This could have complex logic in it, also, in case
the answer is not all that straightforward.
getPersistSuccessCondition
protected abstract TransitionCondition getPersistSuccessCondition()
- Subclasses must define which condition to fire when persisting
is successful. This could have complex logic in it, also, in case
the answer is not all that straightforward.
start
public final void start()
- Calls the
persist()
method. Subclasses of this
method should call super.start()
- Overrides:
start
in class GenericProcess
Copyright © 2003 ORACLE Corp. All Rights Reserved.