wt.templateutil.processor
Class CreateWTDocumentTaskDelegate

java.lang.Object
  extended bywt.templateutil.processor.FormTaskDelegate
      extended bywt.templateutil.processor.CreateWTDocumentTaskDelegate
All Implemented Interfaces:
ContextHolder

public class CreateWTDocumentTaskDelegate
extends FormTaskDelegate

Deprecation Notice: This class is still valid for this release, however this serves as advance notice that it will be removed in the future. All user interfaces built using the Windchill HTML Template Processing client architecture will be rewritten using a different framework in an upcoming release.

Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
          Deprecated.  
private static boolean DEBUG
          Deprecated.  
private static ResourceBundle messagesResource
          Deprecated.  
private static String RESOURCE
          Deprecated.  
 
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
CreateWTDocumentTaskDelegate()
          Deprecated.  
 
Method Summary
private static WTDocument createDoc(Folder loc, String type, String name, String number, String title, String desc, String dept, String lifeCycle, String teamTemplate)
          Deprecated.  
 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
Deprecated. 
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Deprecated. 

messagesResource

private static ResourceBundle messagesResource
Deprecated. 

DEBUG

private static boolean DEBUG
Deprecated. 
Constructor Detail

CreateWTDocumentTaskDelegate

public CreateWTDocumentTaskDelegate()
Deprecated. 
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

createDoc

private static WTDocument createDoc(Folder loc,
                                    String type,
                                    String name,
                                    String number,
                                    String title,
                                    String desc,
                                    String dept,
                                    String lifeCycle,
                                    String teamTemplate)
                             throws WTException,
                                    WTPropertyVetoException
Deprecated. 
Throws:
WTException
WTPropertyVetoException