Package wt.templateutil.processor
Interface ContextHolder
- All Known Subinterfaces:
ProcessorService
- All Known Implementing Classes:
AbstractHTMLTemplateFactory,BasicTemplateProcessor,CheckoutDownloadDelegateToOtherActions,ClientActionProcessService,ContainerTemplateProcessor,CreateWTDocumentTaskDelegate,DefaultHTMLTemplateFactory,DefaultTemplateProcessor,EditSecurityLabelsToolbarProcessor,ErrorProcessor,ExpandCollapseSectionProcessor,com.ptc.core.htmlcomp.exttp.ExtJSTToolBar2Processor,com.ptc.core.htmlcomp.exttp.ExtJSTToolBarProcessor,FormTaskDelegate,GenerateFormProcessor,GenWsprefFormTaskDelegate,com.ptc.windchill.cadx.common.HelpGenerationProcessor,wt.templateutil.processor.HelpHTMLTemplateFactory,HTTPState,IBADisplayUnitsFormTaskDelegate,LifeCycleProcessorService,LinkProcessorService,NavigateFoldersTaskDelegate,NavigateFormProcessor,com.ptc.core.htmlcomp.util.NonTableHelpGenerationProcessor,ObjectPropertiesTableProcessor,PartReferencesProcessor,PartReplacementsProcessor,PickerFormProcessor,PlmConfigurationsProcessor,ProductInstancesProcessor,RedirectPageProcessor,ReferencedByProcessor,RoleHolderProcessorService,StateProcessorService,SubTemplateService,TeamRoleHolderProcessorService,TemplateProcessorTableService,TutorialTemplateFactory,com.ptc.core.htmlcomp.collection.presentation.UIExtCollectionTableToolbarProcessor,UtilProcessorService,VersionHistoryProcessor,WorkProcessorService,WsPrefCommonTemplateProcessor,WTDocumentTemplateFormTaskDelegate
public interface ContextHolder
Deprecated.
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
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToResponseExceptions(Exception newException) Deprecated.voidaddToResponseFooters(LocalizableMessage newFooter) Deprecated.voidaddToResponseHeaders(LocalizableMessage newHeader) Deprecated.voidaddToResponseMessages(LocalizableMessage newMessage) Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.voidsetContextAction(String a_ContextAction) Deprecated.voidsetContextClassName(String a_ContextClassName) Deprecated.voidsetContextObj(Object a_ContextObj) Deprecated.voidsetContextProperties(Properties a_ContextProperties) Deprecated.voidsetFormData(Properties a_FormData) Deprecated.voidsetQueryData(Properties a_QueryData) Deprecated.voidsetResponseExceptions(Vector a_ResponseExceptions) Deprecated.voidsetResponseFooters(Vector a_ResponseFooters) Deprecated.voidsetResponseHeaders(Vector a_ResponseHeaders) Deprecated.voidsetResponseMessages(Vector a_ResponseMessages) Deprecated.voidsetResponseString(String a_ResponseString) Deprecated.voidsetStatus(int a_Status) Deprecated.
-
Field Details
-
CONTEXT_ACTION
Deprecated.Label for the attribute; Context Action is the name of the action of the current page
Supported API: true- See Also:
-
CONTEXT_OBJ
Deprecated.Label for the attribute; Context Object is the reference object of the current page
Supported API: true- See Also:
-
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:
-
CONTEXT_PROPERTIES
Deprecated.Label for the attribute.
Supported API: true- See Also:
-
RESPONSE_EXCEPTIONS
Deprecated.Label for the attribute.
Supported API: true- See Also:
-
RESPONSE_FOOTERS
Deprecated.Label for the attribute.
Supported API: true- See Also:
-
RESPONSE_HEADERS
Deprecated.Label for the attribute.
Supported API: true- See Also:
-
RESPONSE_MESSAGES
Deprecated.Label for the attribute.
Supported API: true- See Also:
-
RESPONSE_STRING
Deprecated.Label for the attribute.
Supported API: true- See Also:
-
STATUS
Deprecated.Label for the attribute.
Supported API: true- See Also:
-
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:
-
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:
-
-
Method Details
-
getContextAction
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
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
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
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
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
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
Properties getContextProperties()Deprecated.Gets the value of the attribute: CONTEXT_PROPERTIES.
Supported API: true- Returns:
- Properties
-
setContextProperties
Deprecated.Sets the value of the attribute: CONTEXT_PROPERTIES.
Supported API: true- Parameters:
a_ContextProperties-
-
getResponseExceptions
Vector getResponseExceptions()Deprecated.Gets the value of the attribute: RESPONSE_EXCEPTIONS.
Supported API: true- Returns:
- Vector
-
setResponseExceptions
Deprecated.Sets the value of the attribute: RESPONSE_EXCEPTIONS.
Supported API: true- Parameters:
a_ResponseExceptions-
-
getResponseHeaders
Vector getResponseHeaders()Deprecated.Gets the value of the attribute: RESPONSE_HEADERS.
Supported API: true- Returns:
- Vector
-
setResponseHeaders
Deprecated.Sets the value of the attribute: RESPONSE_HEADERS.
Supported API: true- Parameters:
a_ResponseHeaders-
-
getResponseMessages
Vector getResponseMessages()Deprecated.Gets the value of the attribute: RESPONSE_MESSAGES.
Supported API: true- Returns:
- Vector
-
setResponseMessages
Deprecated.Sets the value of the attribute: RESPONSE_MESSAGES.
Supported API: true- Parameters:
a_ResponseMessages-
-
getResponseString
String getResponseString()Deprecated.Gets the value of the attribute: RESPONSE_STRING.
Supported API: true- Returns:
- String
-
setResponseString
Deprecated.Sets the value of the attribute: RESPONSE_STRING.
Supported API: true- Parameters:
a_ResponseString-
-
getStatus
int getStatus()Deprecated.Gets the value of the attribute: STATUS.
Supported API: true- Returns:
- int
-
setStatus
void setStatus(int a_Status) Deprecated.Sets the value of the attribute: STATUS.
Supported API: true- Parameters:
a_Status-
-
getFormData
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
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
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
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
Deprecated.Adds a LocalizableMessage message to the list of stackTraces that can be presented with the Windchill Script callshowResponseExceptions
Supported API: true- Parameters:
newException-
-
addToResponseMessages
Deprecated.Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script callshowResponseMessages
Supported API: true- Parameters:
newMessage-
-
addToResponseHeaders
Deprecated.Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script callshowResponseHeaders
Supported API: true- Parameters:
newHeader-
-