| |
|
| java.lang.Object de.schlund.pfixcore.workflow.app.ResdocSimpleFinalizer
ResdocSimpleFinalizer | public class ResdocSimpleFinalizer implements ResdocFinalizer(Code) | | Default implementation of the ResdocFinalizer interface.
Created: Fri Oct 12 22:00:21 2001
author: Jens Lautenbacher |
Method Summary | |
public void | onRetrieveStatus(IWrapperContainer container) onRetrieveStatus is called after a call to
IHandlerAction.inserCurrentStatus(container), that means whenever
all (currently active) IHandlers are called to insert their current status
Into the ResultDocument. | public void | onSuccess(IWrapperContainer container) onSuccess is called when there has been no error handling a request that submitted data. | public void | onWorkError(IWrapperContainer container) OnWorkError is called when an error happens while working with the data inside a
handler's handleSubmittedData() routine. | protected void | renderDefault(IWrapperContainer container) The default implementation does nothing. |
PROP_FINALIZER | final public static String PROP_FINALIZER(Code) | | |
onRetrieveStatus | public void onRetrieveStatus(IWrapperContainer container) throws Exception(Code) | | onRetrieveStatus is called after a call to
IHandlerAction.inserCurrentStatus(container), that means whenever
all (currently active) IHandlers are called to insert their current status
Into the ResultDocument. Use this Routine to do additional stuff here.
If you really know what you are doing you can add additional output to the ResultDocument here,
but this is almost always a bad idea.
The default implementation simply calls the
renderDefault(IWrapperContainer container) method.
Parameters: container - an IWrapperContainer value See Also: de.schlund.pfixcore.workflow.app.ResdocFinalizer.onRetrieveStatus(IWrapperContainer) See Also: |
onSuccess | public void onSuccess(IWrapperContainer container) throws Exception(Code) | | onSuccess is called when there has been no error handling a request that submitted data.
If you really know what you are doing you can add additional output to the ResultDocument here,
but this is almost always a bad idea.
The default implementation simply calls the
renderDefault(IWrapperContainer container) method.
Parameters: container - an IWrapperContainer value See Also: de.schlund.pfixcore.workflow.app.ResdocFinalizer.onSuccess(IWrapperContainer) See Also: |
onWorkError | public void onWorkError(IWrapperContainer container) throws Exception(Code) | | OnWorkError is called when an error happens while working with the data inside a
handler's handleSubmittedData() routine.
If you really know what you are doing you can add additional output to the ResultDocument here,
but this is almost always a bad idea.
The default implementation simply calls the
renderDefault(IWrapperContainer container) method.
Parameters: container - an IWrapperContainer value See Also: de.schlund.pfixcore.workflow.app.ResdocFinalizer.onWorkError(IWrapperContainer) See Also: |
renderDefault | protected void renderDefault(IWrapperContainer container) throws Exception(Code) | | The default implementation does nothing. You normally want to overwrite this but only if you really know what you are doing.
Adding output to the Resultdocument is almost always a bad idea. Doing additional other work may be useful, but keep in mind
that this method will not always be called (see the
onSuccess(IWrapperContainer container) method for an example).
Parameters: container - an IWrapperContainer value |
|
|
|