wt.templateutil.processor
Interface ContextHolder

All Known Subinterfaces:
ProcessorService
All Known Implementing Classes:
AbstractHTMLTemplateFactory, AbstractProcessorService, BasicTemplateProcessor, CADDocBaselineTemplateProcessor, CADDocProcessorService, ClientActionProcessService, CommonProcessorService, ContainerTemplateProcessor, DateProcessor, EPMProcessorService, FormTaskDelegate, HTTPState, JSCommonService, LifeCycleProcessorService, LinkProcessorService, PickerBrowserProcessor, PickerFormProcessor, PickerSearcherProcessor, ProjectlinkUtilProcessorService, RedirectPageProcessor, RoleHolderProcessorService, RulesCollectionSectionProcessor, RulesConfigurationSectionProcessor, RulesDependencyProcessor, RulesJavaScriptProcessor, RulesSectionProcessor, ServletSessionCookieProcessorService, StateProcessorService, SubTemplateService, TeamRoleHolderProcessorService, TemplateProcessorTableService, TypeInstanceAttributesService, UtilProcessorService, WorkProcessorService, WorkspaceCommonTemplateProcessor, WsPrefCommonTemplateProcessor

public interface ContextHolder

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. This class represents the interface all classes that want to have some concept of "State" relative Template Processing need to implement. an class that implements this interface will be conversive with an an HTTPState object that is used to encapsulate the current "state" of a template processing session.
The most common way to implement this interface is to have an aggregated instance of an HTTPState object and then have all of methods in this interface actually proxy for the HTTPState object. Then, if you would like to pass off the current state, you only need to pass off the aggregated HTTPState object.


Supported API: true

Extendable: false


Field Summary
static String CONTEXT_ACTION
          Deprecated.  
static String CONTEXT_CLASS_NAME
          Deprecated.  
static String CONTEXT_OBJ
          Deprecated.  
static String CONTEXT_PROPERTIES
          Deprecated.  
static String FORM_DATA
          Deprecated.  
static String QUERY_DATA
          Deprecated.  
static String RESPONSE_EXCEPTIONS
          Deprecated.  
static String RESPONSE_FOOTERS
          Deprecated.  
static String RESPONSE_HEADERS
          Deprecated.  
static String RESPONSE_MESSAGES
          Deprecated.  
static String RESPONSE_STRING
          Deprecated.  
static String STATUS
          Deprecated.  
 
Method Summary
 void addToResponseExceptions(Exception newException)
          Deprecated.  
 void addToResponseFooters(LocalizableMessage newFooter)
          Deprecated.  
 void addToResponseHeaders(LocalizableMessage newHeader)
          Deprecated.  
 void addToResponseMessages(LocalizableMessage newMessage)
          Deprecated.  
 String getContextAction()
          Deprecated.  
 String getContextClassName()
          Deprecated.  
 Object getContextObj()
          Deprecated.  
 Properties getContextProperties()
          Deprecated.  
 Properties getFormData()
          Deprecated.  
 Properties getQueryData()
          Deprecated.  
 Vector getResponseExceptions()
          Deprecated.  
 Vector getResponseFooters()
          Deprecated.  
 Vector getResponseHeaders()
          Deprecated.  
 Vector getResponseMessages()
          Deprecated.  
 String getResponseString()
          Deprecated.  
 int getStatus()
          Deprecated.  
 void setContextAction(String a_ContextAction)
          Deprecated.  
 void setContextClassName(String a_ContextClassName)
          Deprecated.  
 void setContextObj(Object a_ContextObj)
          Deprecated.  
 void setContextProperties(Properties a_ContextProperties)
          Deprecated.  
 void setFormData(Properties a_FormData)
          Deprecated.  
 void setQueryData(Properties a_QueryData)
          Deprecated.  
 void setResponseExceptions(Vector a_ResponseExceptions)
          Deprecated.  
 void setResponseFooters(Vector a_ResponseFooters)
          Deprecated.  
 void setResponseHeaders(Vector a_ResponseHeaders)
          Deprecated.  
 void setResponseMessages(Vector a_ResponseMessages)
          Deprecated.  
 void setResponseString(String a_ResponseString)
          Deprecated.  
 void setStatus(int a_Status)
          Deprecated.  
 

Field Detail

CONTEXT_ACTION

public static final String CONTEXT_ACTION
Deprecated.  

Label for the attribute; Context Action is the name of the action of the current page

Supported API: true

See Also:
Constant Field Values

CONTEXT_OBJ

public static final String CONTEXT_OBJ
Deprecated.  

Label for the attribute; Context Object is the reference object of the current page

Supported API: true

See Also:
Constant Field Values

CONTEXT_CLASS_NAME

public static final String CONTEXT_CLASS_NAME
Deprecated.  

Label for the attribute; Context Object Name is the name of the class of the current page

Supported API: true

See Also:
Constant Field Values

CONTEXT_PROPERTIES

public static final String CONTEXT_PROPERTIES
Deprecated.  

Label for the attribute.

Supported API: true

See Also:
Constant Field Values

RESPONSE_EXCEPTIONS

public static final String RESPONSE_EXCEPTIONS
Deprecated.  

Label for the attribute.

Supported API: true

See Also:
Constant Field Values

RESPONSE_FOOTERS

public static final String RESPONSE_FOOTERS
Deprecated.  

Label for the attribute.

Supported API: true

See Also:
Constant Field Values

RESPONSE_HEADERS

public static final String RESPONSE_HEADERS
Deprecated.  

Label for the attribute.

Supported API: true

See Also:
Constant Field Values

RESPONSE_MESSAGES

public static final String RESPONSE_MESSAGES
Deprecated.  

Label for the attribute.

Supported API: true

See Also:
Constant Field Values

RESPONSE_STRING

public static final String RESPONSE_STRING
Deprecated.  

Label for the attribute.

Supported API: true

See Also:
Constant Field Values

STATUS

public static final String STATUS
Deprecated.  

Label for the attribute.

Supported API: true

See Also:
Constant Field Values

FORM_DATA

public static final String FORM_DATA
Deprecated.  

Label for the attribute; Form Data is the data present in the form of the current HTML page.

Supported API: true

See Also:
Constant Field Values

QUERY_DATA

public static final String QUERY_DATA
Deprecated.  

Label for the attribute; Query Data is the information present after the "?" mark on the URL of the current page.

Supported API: true

See Also:
Constant Field Values
Method Detail

getContextAction

public String getContextAction()
Deprecated.  

Gets the value of the attribute: CONTEXT_ACTION. Context Action is the name of the action of the current page

Supported API: true

Returns:
String

setContextAction

public void setContextAction(String a_ContextAction)
Deprecated.  

Sets the value of the attribute: CONTEXT_ACTION. Context Action is the name of the action of the current page

Supported API: true

Parameters:
a_ContextAction -

getContextObj

public Object getContextObj()
Deprecated.  

Gets the value of the attribute: CONTEXT_OBJ. Context Object is the reference object of the current page

Supported API: true

Returns:
Object

setContextObj

public void setContextObj(Object a_ContextObj)
Deprecated.  

Sets the value of the attribute: CONTEXT_OBJ. Context Object is the reference object of the current page

Supported API: true

Parameters:
a_ContextObj -

getContextClassName

public String getContextClassName()
Deprecated.  

Gets the value of the attribute: CONTEXT_CLASS_NAME. Context Object Name is the name of the class of the current page

Supported API: true

Returns:
String

setContextClassName

public void setContextClassName(String a_ContextClassName)
Deprecated.  

Sets the value of the attribute: CONTEXT_CLASS_NAME. Context Object Name is the name of the class of the current page

Supported API: true

Parameters:
a_ContextClassName -

getContextProperties

public Properties getContextProperties()
Deprecated.  

Gets the value of the attribute: CONTEXT_PROPERTIES.

Supported API: true

Returns:
Properties

setContextProperties

public void setContextProperties(Properties a_ContextProperties)
Deprecated.  

Sets the value of the attribute: CONTEXT_PROPERTIES.

Supported API: true

Parameters:
a_ContextProperties -

getResponseExceptions

public Vector getResponseExceptions()
Deprecated.  

Gets the value of the attribute: RESPONSE_EXCEPTIONS.

Supported API: true

Returns:
Vector

setResponseExceptions

public void setResponseExceptions(Vector a_ResponseExceptions)
Deprecated.  

Sets the value of the attribute: RESPONSE_EXCEPTIONS.

Supported API: true

Parameters:
a_ResponseExceptions -

getResponseFooters

public Vector getResponseFooters()
Deprecated.  

Gets the value of the attribute: RESPONSE_FOOTERS.

Supported API: true

Returns:
Vector

setResponseFooters

public void setResponseFooters(Vector a_ResponseFooters)
Deprecated.  

Sets the value of the attribute: RESPONSE_FOOTERS.

Supported API: true

Parameters:
a_ResponseFooters -

getResponseHeaders

public Vector getResponseHeaders()
Deprecated.  

Gets the value of the attribute: RESPONSE_HEADERS.

Supported API: true

Returns:
Vector

setResponseHeaders

public void setResponseHeaders(Vector a_ResponseHeaders)
Deprecated.  

Sets the value of the attribute: RESPONSE_HEADERS.

Supported API: true

Parameters:
a_ResponseHeaders -

getResponseMessages

public Vector getResponseMessages()
Deprecated.  

Gets the value of the attribute: RESPONSE_MESSAGES.

Supported API: true

Returns:
Vector

setResponseMessages

public void setResponseMessages(Vector a_ResponseMessages)
Deprecated.  

Sets the value of the attribute: RESPONSE_MESSAGES.

Supported API: true

Parameters:
a_ResponseMessages -

getResponseString

public String getResponseString()
Deprecated.  

Gets the value of the attribute: RESPONSE_STRING.

Supported API: true

Returns:
String

setResponseString

public void setResponseString(String a_ResponseString)
Deprecated.  

Sets the value of the attribute: RESPONSE_STRING.

Supported API: true

Parameters:
a_ResponseString -

getStatus

public int getStatus()
Deprecated.  

Gets the value of the attribute: STATUS.

Supported API: true

Returns:
int

setStatus

public void setStatus(int a_Status)
Deprecated.  

Sets the value of the attribute: STATUS.

Supported API: true

Parameters:
a_Status -

getFormData

public Properties getFormData()
Deprecated.  

Gets the value of the attribute: FORM_DATA. Form Data is the data present in the form of the current HTML page.

Supported API: true

Returns:
Properties

setFormData

public void setFormData(Properties a_FormData)
Deprecated.  

Sets the value of the attribute: FORM_DATA. Form Data is the data present in the form of the current HTML page.

Supported API: true

Parameters:
a_FormData -

getQueryData

public Properties getQueryData()
Deprecated.  

Gets the value of the attribute: QUERY_DATA. Query Data is the information present after the "?" mark on the URL of the current page.

Supported API: true

Returns:
Properties

setQueryData

public void setQueryData(Properties a_QueryData)
Deprecated.  

Sets the value of the attribute: QUERY_DATA. Query Data is the information present after the "?" mark on the URL of the current page.

Supported API: true

Parameters:
a_QueryData -

addToResponseExceptions

public void addToResponseExceptions(Exception newException)
Deprecated.  

Adds a LocalizableMessage message to the list of stackTraces that can be presented with the Windchill Script call

showResponseExceptions

Supported API: true

Parameters:
newException -

addToResponseMessages

public void addToResponseMessages(LocalizableMessage newMessage)
Deprecated.  

Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script call

showResponseMessages

Supported API: true

Parameters:
newMessage -

addToResponseHeaders

public void addToResponseHeaders(LocalizableMessage newHeader)
Deprecated.  

Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script call

showResponseHeaders

Supported API: true

Parameters:
newHeader -

addToResponseFooters

public void addToResponseFooters(LocalizableMessage newFooter)
Deprecated.  

Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script call

showResponseFooters

Supported API: true

Parameters:
newFooter -