com.ptc.windchill.cadx.revise
Class ReviseFormTaskDelegate

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

public class ReviseFormTaskDelegate
extends FormTaskDelegate
implements Serializable



Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private  String lifeCycle
           
private static Comparator PERSISTABLE_COMPARATOR
           
private  String project
           
private static String RESOURCE
           
private  Folder reviseFolder
           
private  int reviseOption
           
 
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
ReviseFormTaskDelegate()
           
 
Method Summary
private  HashMap getEPMDocumentsInWS(EPMWorkspace activeWS)
           
 void processAction(ContentHTTPStream contentStream)
          Deprecated.  
private  Versioned revise(Versioned originalVersion, TeamTemplate teamTemplate, ReviseOptions.ObjectOptions options)
           
 
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

reviseFolder

private Folder reviseFolder

reviseOption

private int reviseOption

project

private String project

lifeCycle

private String lifeCycle

PERSISTABLE_COMPARATOR

private static final Comparator PERSISTABLE_COMPARATOR
Constructor Detail

ReviseFormTaskDelegate

public ReviseFormTaskDelegate()
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

revise

private Versioned revise(Versioned originalVersion,
                         TeamTemplate teamTemplate,
                         ReviseOptions.ObjectOptions options)
                  throws WTException,
                         WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

getEPMDocumentsInWS

private HashMap getEPMDocumentsInWS(EPMWorkspace activeWS)
                             throws WTException
Throws:
WTException