com.ptc.windchill.cadx.common.pageBuilder
Class ActionStatusTaskDelegate

java.lang.Object
  extended bywt.templateutil.processor.FormTaskDelegate
      extended bycom.ptc.windchill.cadx.common.pageBuilder.ActionStatusTaskDelegate
All Implemented Interfaces:
ContextHolder, Serializable

public class ActionStatusTaskDelegate
extends FormTaskDelegate
implements Serializable

This task delegate will be called when the action is done. It will check on the status of the action. It will retrieve the properties of the form that were saved in the cookie and will use the REDIRECT_CLASS property to construct an instance odf ActionRedirect object to redirect to appropriate page.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
static String ACTION_NAME
          

Supported API: false
private static String CLASSNAME
           
static String CONTEXT_ACTION_KEY
          

Supported API: false
static String REDIRECT_CLASS
          

Supported API: false
private static String RESOURCE
           
static String STATUS_COOKIE
           
private static boolean VERBOSE
           
 
Fields inherited from class wt.templateutil.processor.FormTaskDelegate
 
Fields inherited from interface wt.templateutil.processor.ContextHolder
CONTEXT_ACTION, CONTEXT_CLASS_NAME, CONTEXT_OBJ, CONTEXT_PROPERTIES, FORM_DATA, QUERY_DATA, RESPONSE_EXCEPTIONS, RESPONSE_FOOTERS, RESPONSE_HEADERS, RESPONSE_MESSAGES, RESPONSE_STRING, STATUS
 
Constructor Summary
ActionStatusTaskDelegate()
           
 
Method Summary
 Locale getLocale()
          Gets the locale associated with the http request.
 void processAction(ContentHTTPStream contentStream)
          Deprecated.  
 
Methods inherited from class wt.templateutil.processor.FormTaskDelegate
addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, deleteFormDataFromSession, getContextAction, getContextClassName, getContextObj, getContextProperties, getFormData, getQueryData, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getState, getStatus, saveFormDataInSession, setContextAction, setContextClassName, setContextObj, setContextProperties, setFormData, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setState, setStatus, switchPages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

CONTEXT_ACTION_KEY

public static final String CONTEXT_ACTION_KEY


Supported API: false

See Also:
Constant Field Values

REDIRECT_CLASS

public static final String REDIRECT_CLASS


Supported API: false

See Also:
Constant Field Values

ACTION_NAME

public static final String ACTION_NAME


Supported API: false

See Also:
Constant Field Values

STATUS_COOKIE

public static final String STATUS_COOKIE
See Also:
Constant Field Values

VERBOSE

private static boolean VERBOSE
Constructor Detail

ActionStatusTaskDelegate

public ActionStatusTaskDelegate()
Method Detail

processAction

public void processAction(ContentHTTPStream contentStream)
                   throws Exception
Deprecated.  

Processed the desired action and then updates the state so that the desired response page can be generated.

Use the addToResponse methods to pass back messages on the status/results of the action.

Supported API: true

Specified by:
processAction in class FormTaskDelegate
Parameters:
contentStream -
Throws:
Exception

getLocale

public Locale getLocale()
                 throws WTException
Gets the locale associated with the http request.

Returns:
Throws:
WTException