|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.templateutil.processor.AbstractProcessorService
Provides a default, abstract implementation of ProcessorService so that
developers can focus on subclasses business logic rather than trying to
satisfy ProcessorService interface. The implementation of the ProcessorService
methods in this abstract class are represntative of the standard usage
of HTTPState to handle the information defined by the getters/settters.
If you are going to implement a ProcessorService subclass, you should
subclass the AbstractProcessorService unless you have an explicit reason
to implement the ProcessorService interface differently. Even then, you should
subclass AbstractProcessorService and only over those methods that require
a non-default implementation.
Supported API: false
Extendable: false
Field Summary | |
private HTTPState |
state
Deprecated. |
private static boolean |
VERBOSE
Deprecated. |
Fields inherited from interface wt.templateutil.processor.ProcessorService |
STATE |
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 | |
AbstractProcessorService()
Deprecated. |
Method Summary | |
void |
addToResponseExceptions(Exception newException)
Deprecated. Adds a LocalizableMessage message to the list of stackTraces that can be presented with the Windchill Script call |
void |
addToResponseFooters(LocalizableMessage newFooter)
Deprecated. Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script call |
void |
addToResponseHeaders(LocalizableMessage newHeader)
Deprecated. Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script call |
void |
addToResponseMessages(LocalizableMessage newMessage)
Deprecated. Adds a LocalizableMessage message to the list of localizable messages that can be presented with the Windchill Script call |
String |
getContextAction()
Deprecated. Gets the value of the attribute: CONTEXT_ACTION. |
String |
getContextClassName()
Deprecated. Gets the value of the attribute: CONTEXT_CLASS_NAME. |
Object |
getContextObj()
Deprecated. Gets the value of the attribute: CONTEXT_OBJ. |
Properties |
getContextProperties()
Deprecated. Gets the value of the attribute: CONTEXT_PROPERTIES. |
Properties |
getFormData()
Deprecated. Gets the value of the attribute: FORM_DATA. |
Properties |
getQueryData()
Deprecated. Gets the value of the attribute: QUERY_DATA. |
Vector |
getResponseExceptions()
Deprecated. Gets the value of the attribute: RESPONSE_EXCEPTIONS. |
Vector |
getResponseFooters()
Deprecated. Gets the value of the attribute: RESPONSE_FOOTERS. |
Vector |
getResponseHeaders()
Deprecated. Gets the value of the attribute: RESPONSE_HEADERS. |
Vector |
getResponseMessages()
Deprecated. Gets the value of the attribute: RESPONSE_MESSAGES. |
String |
getResponseString()
Deprecated. Gets the value of the attribute: RESPONSE_STRING. |
HTTPState |
getState()
Deprecated. Gets the object for the association that plays role: STATE. |
int |
getStatus()
Deprecated. Gets the value of the attribute: STATUS. |
void |
setContextAction(String a_ContextAction)
Deprecated. Sets the value of the attribute: CONTEXT_ACTION. |
void |
setContextClassName(String a_ContextClassName)
Deprecated. Sets the value of the attribute: CONTEXT_CLASS_NAME. |
void |
setContextObj(Object a_ContextObj)
Deprecated. Sets the value of the attribute: CONTEXT_OBJ. |
void |
setContextProperties(Properties a_ContextProperties)
Deprecated. Sets the value of the attribute: CONTEXT_PROPERTIES. |
void |
setFormData(Properties a_FormData)
Deprecated. Sets the value of the attribute: FORM_DATA. |
void |
setQueryData(Properties a_QueryData)
Deprecated. Sets the value of the attribute: QUERY_DATA. |
void |
setResponseExceptions(Vector a_ResponseExceptions)
Deprecated. Sets the value of the attribute: RESPONSE_EXCEPTIONS. |
void |
setResponseFooters(Vector a_ResponseFooters)
Deprecated. Sets the value of the attribute: RESPONSE_FOOTERS. |
void |
setResponseHeaders(Vector a_ResponseHeaders)
Deprecated. Sets the value of the attribute: RESPONSE_HEADERS. |
void |
setResponseMessages(Vector a_ResponseMessages)
Deprecated. Sets the value of the attribute: RESPONSE_MESSAGES. |
void |
setResponseString(String a_ResponseString)
Deprecated. Sets the value of the attribute: RESPONSE_STRING. |
void |
setState(HTTPState state)
Deprecated. Sets the object for the association that plays role: STATE. |
void |
setStatus(int a_Status)
Deprecated. Sets the value of the attribute: STATUS. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private HTTPState state
private static final boolean VERBOSE
Constructor Detail |
public AbstractProcessorService()
Method Detail |
public HTTPState getState()
ProcessorService
getState
in interface ProcessorService
public void setState(HTTPState state)
ProcessorService
setState
in interface ProcessorService
state
- public String getContextAction()
ContextHolder
getContextAction
in interface ContextHolder
public void setContextAction(String a_ContextAction)
ContextHolder
setContextAction
in interface ContextHolder
a_ContextAction
- public Object getContextObj()
ContextHolder
getContextObj
in interface ContextHolder
public void setContextObj(Object a_ContextObj)
ContextHolder
setContextObj
in interface ContextHolder
a_ContextObj
- public String getContextClassName()
ContextHolder
getContextClassName
in interface ContextHolder
public void setContextClassName(String a_ContextClassName)
ContextHolder
setContextClassName
in interface ContextHolder
a_ContextClassName
- public Properties getContextProperties()
ContextHolder
getContextProperties
in interface ContextHolder
public void setContextProperties(Properties a_ContextProperties)
ContextHolder
setContextProperties
in interface ContextHolder
a_ContextProperties
- public Vector getResponseExceptions()
ContextHolder
getResponseExceptions
in interface ContextHolder
public void setResponseExceptions(Vector a_ResponseExceptions)
ContextHolder
setResponseExceptions
in interface ContextHolder
a_ResponseExceptions
- public Vector getResponseFooters()
ContextHolder
getResponseFooters
in interface ContextHolder
public void setResponseFooters(Vector a_ResponseFooters)
ContextHolder
setResponseFooters
in interface ContextHolder
a_ResponseFooters
- public Vector getResponseHeaders()
ContextHolder
getResponseHeaders
in interface ContextHolder
public void setResponseHeaders(Vector a_ResponseHeaders)
ContextHolder
setResponseHeaders
in interface ContextHolder
a_ResponseHeaders
- public Vector getResponseMessages()
ContextHolder
getResponseMessages
in interface ContextHolder
public void setResponseMessages(Vector a_ResponseMessages)
ContextHolder
setResponseMessages
in interface ContextHolder
a_ResponseMessages
- public String getResponseString()
ContextHolder
getResponseString
in interface ContextHolder
public void setResponseString(String a_ResponseString)
ContextHolder
setResponseString
in interface ContextHolder
a_ResponseString
- public int getStatus()
ContextHolder
getStatus
in interface ContextHolder
public void setStatus(int a_Status)
ContextHolder
setStatus
in interface ContextHolder
a_Status
- public Properties getFormData()
ContextHolder
getFormData
in interface ContextHolder
public void setFormData(Properties a_FormData)
ContextHolder
setFormData
in interface ContextHolder
a_FormData
- public Properties getQueryData()
ContextHolder
getQueryData
in interface ContextHolder
public void setQueryData(Properties a_QueryData)
ContextHolder
setQueryData
in interface ContextHolder
a_QueryData
- public void addToResponseExceptions(Exception newException)
ContextHolder
showResponseExceptions
Supported API: true
addToResponseExceptions
in interface ContextHolder
newException
- public void addToResponseMessages(LocalizableMessage newMessage)
ContextHolder
showResponseMessages
Supported API: true
addToResponseMessages
in interface ContextHolder
newMessage
- public void addToResponseHeaders(LocalizableMessage newHeader)
ContextHolder
showResponseHeaders
Supported API: true
addToResponseHeaders
in interface ContextHolder
newHeader
- public void addToResponseFooters(LocalizableMessage newFooter)
ContextHolder
showResponseFooters
Supported API: true
addToResponseFooters
in interface ContextHolder
newFooter
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |