|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.lifecycle.LifeCycleProcessorService
When executed from a class that extends BasicTemplateProcessor, these script call can be invoked by using the 'useProcessorService service = ' html template entry.
Supported API: true
Extendable: false
BasicTemplateProcessor
,
ProcessorService
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private HTTPState |
theState
|
private static boolean |
VERBOSE
|
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 | |
LifeCycleProcessorService()
|
Method Summary | |
void |
addToResponseExceptions(Exception newException)
Deprecated. |
void |
addToResponseFooters(LocalizableMessage newFooter)
Deprecated. |
void |
addToResponseHeaders(LocalizableMessage newHeader)
Deprecated. |
void |
addToResponseMessages(LocalizableMessage newMessage)
Deprecated. |
String |
getContextAction()
Gets the value of the attribute: contextAction; Context Action is the name of the action of the current page Supported API: true |
String |
getContextClassName()
Gets the value of the attribute: contextClassName; Context Object Name is the name of the class of the current page Supported API: true |
Object |
getContextObj()
Gets the value of the attribute: contextObj; Context Object is the reference object of the current page Supported API: true |
Properties |
getContextProperties()
Gets the value of the attribute: contextProperties. |
Properties |
getFormData()
Gets the value of the attribute: formData; Form Data is the data present in the form of the current HTML page. |
void |
getLCStates(Properties parameters,
Locale locale,
OutputStream os)
If the context object is a life cycle template, return the states of the Life Cycle Template. |
private PrintWriter |
getPrintWriter(OutputStream out,
Locale locale)
|
Properties |
getQueryData()
Gets the value of the attribute: queryData; Query Data is the information present after the "?" mark on the URL of the current page. |
Vector |
getResponseExceptions()
Gets the value of the attribute: responseExceptions. |
Vector |
getResponseFooters()
Gets the value of the attribute: responseFooters. |
Vector |
getResponseHeaders()
Gets the value of the attribute: responseHeaders. |
Vector |
getResponseMessages()
Gets the value of the attribute: responseMessages. |
String |
getResponseString()
Gets the value of the attribute: responseString. |
HTTPState |
getState()
Gets the object for the association that plays role: theState. |
int |
getStatus()
Gets the value of the attribute: status. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(LifeCycleProcessorService thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setContextAction(String a_ContextAction)
Sets the value of the attribute: contextAction; Context Action is the name of the action of the current page Supported API: true |
void |
setContextClassName(String a_ContextClassName)
Sets the value of the attribute: contextClassName; Context Object Name is the name of the class of the current page Supported API: true |
void |
setContextObj(Object a_ContextObj)
Sets the value of the attribute: contextObj; Context Object is the reference object of the current page Supported API: true |
void |
setContextProperties(Properties a_ContextProperties)
Sets the value of the attribute: contextProperties. |
void |
setFormData(Properties a_FormData)
Sets the value of the attribute: formData; Form Data is the data present in the form of the current HTML page. |
void |
setQueryData(Properties a_QueryData)
Sets the value of the attribute: queryData; Query Data is the information present after the "?" mark on the URL of the current page. |
void |
setResponseExceptions(Vector a_ResponseExceptions)
Sets the value of the attribute: responseExceptions. |
void |
setResponseFooters(Vector a_ResponseFooters)
Sets the value of the attribute: responseFooters. |
void |
setResponseHeaders(Vector a_ResponseHeaders)
Sets the value of the attribute: responseHeaders. |
void |
setResponseMessages(Vector a_ResponseMessages)
Sets the value of the attribute: responseMessages. |
void |
setResponseString(String a_ResponseString)
Sets the value of the attribute: responseString. |
void |
setState(HTTPState a_State)
Sets the object for the association that plays role: theState. |
void |
setStatus(int a_Status)
Sets the value of the attribute: status. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private HTTPState theState
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final boolean VERBOSE
Constructor Detail |
public LifeCycleProcessorService()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(LifeCycleProcessorService thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void getLCStates(Properties parameters, Locale locale, OutputStream os)
parameters
- the arguments that were passed to the Windchill script calllocale
- the Locale to send to the invoked methods for localizationos
- the output streampublic HTTPState getState()
getState
in interface ProcessorService
public void setState(HTTPState a_State)
setState
in interface ProcessorService
a_State
- public String getContextAction()
getContextAction
in interface ContextHolder
public void setContextAction(String a_ContextAction)
setContextAction
in interface ContextHolder
a_ContextAction
- public Object getContextObj()
getContextObj
in interface ContextHolder
public void setContextObj(Object a_ContextObj)
setContextObj
in interface ContextHolder
a_ContextObj
- public String getContextClassName()
getContextClassName
in interface ContextHolder
public void setContextClassName(String a_ContextClassName)
setContextClassName
in interface ContextHolder
a_ContextClassName
- public Properties getContextProperties()
getContextProperties
in interface ContextHolder
public void setContextProperties(Properties a_ContextProperties)
setContextProperties
in interface ContextHolder
a_ContextProperties
- public Vector getResponseExceptions()
getResponseExceptions
in interface ContextHolder
public void setResponseExceptions(Vector a_ResponseExceptions)
setResponseExceptions
in interface ContextHolder
a_ResponseExceptions
- public Vector getResponseFooters()
getResponseFooters
in interface ContextHolder
public void setResponseFooters(Vector a_ResponseFooters)
setResponseFooters
in interface ContextHolder
a_ResponseFooters
- public Vector getResponseHeaders()
getResponseHeaders
in interface ContextHolder
public void setResponseHeaders(Vector a_ResponseHeaders)
setResponseHeaders
in interface ContextHolder
a_ResponseHeaders
- public Vector getResponseMessages()
getResponseMessages
in interface ContextHolder
public void setResponseMessages(Vector a_ResponseMessages)
setResponseMessages
in interface ContextHolder
a_ResponseMessages
- public String getResponseString()
getResponseString
in interface ContextHolder
public void setResponseString(String a_ResponseString)
setResponseString
in interface ContextHolder
a_ResponseString
- public int getStatus()
getStatus
in interface ContextHolder
public void setStatus(int a_Status)
setStatus
in interface ContextHolder
a_Status
- public Properties getFormData()
getFormData
in interface ContextHolder
public void setFormData(Properties a_FormData)
setFormData
in interface ContextHolder
a_FormData
- public Properties getQueryData()
getQueryData
in interface ContextHolder
public void setQueryData(Properties a_QueryData)
setQueryData
in interface ContextHolder
a_QueryData
- public void addToResponseExceptions(Exception newException)
showResponseExceptions
Supported API: true
addToResponseExceptions
in interface ContextHolder
newException
- public void addToResponseMessages(LocalizableMessage newMessage)
showResponseMessages
Supported API: true
addToResponseMessages
in interface ContextHolder
newMessage
- public void addToResponseHeaders(LocalizableMessage newHeader)
showResponseHeaders
Supported API: true
addToResponseHeaders
in interface ContextHolder
newHeader
- public void addToResponseFooters(LocalizableMessage newFooter)
showResponseFooters
Supported API: true
addToResponseFooters
in interface ContextHolder
newFooter
- private PrintWriter getPrintWriter(OutputStream out, Locale locale)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |