com.ptc.windchill.cadx.deletews
Class DeleteWorkspaceFormTaskDelegate

java.lang.Object
  extended by wt.templateutil.processor.FormTaskDelegate
      extended by com.ptc.windchill.cadx.deletews.DeleteWorkspaceFormTaskDelegate
All Implemented Interfaces:
Serializable, ContextHolder

public class DeleteWorkspaceFormTaskDelegate
extends FormTaskDelegate
implements Serializable

This class gets launched when the URL is crearted for the Action (DELETEWORKSPACE) and destroys a workspace in Standalone mode. In Wildfire mode the locale cache directory will be deleted once the code is incorporated for the same.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
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
 
Method Summary
 void processAction(wt.content.ContentHTTPStream contentStream)
          Deprecated.  
 
Methods inherited from class wt.templateutil.processor.FormTaskDelegate
addToResponseExceptions, addToResponseFooters, addToResponseHeaders, addToResponseMessages, getContextAction, getContextClassName, getContextObj, getContextProperties, getFormData, getQueryData, getResponseExceptions, getResponseFooters, getResponseHeaders, getResponseMessages, getResponseString, getStatus, setContextAction, setContextClassName, setContextObj, setContextProperties, setFormData, setQueryData, setResponseExceptions, setResponseFooters, setResponseHeaders, setResponseMessages, setResponseString, setStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

processAction

public void processAction(wt.content.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