com.ptc.windchill.cadx.common
Class ClientActionProcessService

java.lang.Object
  extended bycom.ptc.windchill.cadx.common.ClientActionProcessService
All Implemented Interfaces:
ContextHolder, ProcessorService

public class ClientActionProcessService
extends Object
implements ProcessorService



Supported API: true

Extendable: false


Field Summary
static String ACTIONOIDS
           
static String ASSOCIATE
           
static String CHECKIN
           
static String CHECKOUT
           
private static String CLASSNAME
           
static String CODEBASE
           
static String DISASSOCIATE
           
static String DOWNLOADCONTENT
           
static String FROMACTION
           
static String NEW_PART
           
static String NEWCADDOC
           
static String RENAME
           
private static String RESOURCE
           
static String REVISE
           
private  HTTPState theState
           
 
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
ClientActionProcessService()
           
 
Method Summary
 void addClientAction(Properties parameters, Locale locale, OutputStream os)
          

Supported API: false
 void addClientData(Properties parameters, Locale locale, OutputStream os)
          

Supported API: false
 void addClientInclude(Properties parameters, Locale locale, OutputStream os)
          

Supported API: false
 void addLogMsgField(Properties parameters, Locale locale, OutputStream os)
           
 void addToResponseExceptions(Exception newException)
          Deprecated.  
 void addToResponseFooters(LocalizableMessage newFooter)
          Deprecated.  
 void addToResponseHeaders(LocalizableMessage newHeader)
          Deprecated.  
 void addToResponseMessages(LocalizableMessage newMessage)
          Deprecated.  
static Vector getActionObjects(String oid_string)
           
 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.
static Vector getDownloadContentFlags(String download_string)
           
 Properties getFormData()
          Gets the value of the attribute: formData; Form Data is the data present in the form of the current HTML page.
static Properties getFromActionProperties(Properties formData, String action, Vector objects)
           
static Properties getFromActionProperties(Properties formData, String action, Vector objects, Vector downloadFlags)
           
static Properties getFromActionProperties(String action)
           
static String getOid(Persistable obj)
           
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 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.
 
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
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME

theState

private HTTPState theState

FROMACTION

public static final String FROMACTION
See Also:
Constant Field Values

NEW_PART

public static final String NEW_PART
See Also:
Constant Field Values

REVISE

public static final String REVISE
See Also:
Constant Field Values

RENAME

public static final String RENAME
See Also:
Constant Field Values

CHECKIN

public static final String CHECKIN
See Also:
Constant Field Values

CHECKOUT

public static final String CHECKOUT
See Also:
Constant Field Values

ASSOCIATE

public static final String ASSOCIATE
See Also:
Constant Field Values

DISASSOCIATE

public static final String DISASSOCIATE
See Also:
Constant Field Values

ACTIONOIDS

public static final String ACTIONOIDS
See Also:
Constant Field Values

DOWNLOADCONTENT

public static final String DOWNLOADCONTENT
See Also:
Constant Field Values

NEWCADDOC

public static final String NEWCADDOC
See Also:
Constant Field Values

CODEBASE

public static String CODEBASE
Constructor Detail

ClientActionProcessService

public ClientActionProcessService()
Method Detail

addClientAction

public void addClientAction(Properties parameters,
                            Locale locale,
                            OutputStream os)


Supported API: false

Parameters:
parameters -
locale -
os -

addClientData

public void addClientData(Properties parameters,
                          Locale locale,
                          OutputStream os)


Supported API: false

Parameters:
parameters -
locale -
os -

addClientInclude

public void addClientInclude(Properties parameters,
                             Locale locale,
                             OutputStream os)


Supported API: false

Parameters:
parameters -
locale -
os -

getState

public HTTPState getState()
Gets the object for the association that plays role: theState.

Supported API: true

Specified by:
getState in interface ProcessorService
Returns:
HTTPState

setState

public void setState(HTTPState a_State)
Sets the object for the association that plays role: theState.

Supported API: true

Specified by:
setState in interface ProcessorService
Parameters:
a_State -

getContextAction

public String getContextAction()
Gets the value of the attribute: contextAction; Context Action is the name of the action of the current page

Supported API: true

Specified by:
getContextAction in interface ContextHolder
Returns:
String

setContextAction

public 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

Specified by:
setContextAction in interface ContextHolder
Parameters:
a_ContextAction -

getContextObj

public Object getContextObj()
Gets the value of the attribute: contextObj; Context Object is the reference object of the current page

Supported API: true

Specified by:
getContextObj in interface ContextHolder
Returns:
Object

setContextObj

public 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

Specified by:
setContextObj in interface ContextHolder
Parameters:
a_ContextObj -

getContextClassName

public 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

Specified by:
getContextClassName in interface ContextHolder
Returns:
String

setContextClassName

public 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

Specified by:
setContextClassName in interface ContextHolder
Parameters:
a_ContextClassName -

getContextProperties

public Properties getContextProperties()
Gets the value of the attribute: contextProperties.

Supported API: true

Specified by:
getContextProperties in interface ContextHolder
Returns:
Properties

setContextProperties

public void setContextProperties(Properties a_ContextProperties)
Sets the value of the attribute: contextProperties.

Supported API: true

Specified by:
setContextProperties in interface ContextHolder
Parameters:
a_ContextProperties -

getResponseExceptions

public Vector getResponseExceptions()
Gets the value of the attribute: responseExceptions.

Supported API: true

Specified by:
getResponseExceptions in interface ContextHolder
Returns:
Vector

setResponseExceptions

public void setResponseExceptions(Vector a_ResponseExceptions)
Sets the value of the attribute: responseExceptions.

Supported API: true

Specified by:
setResponseExceptions in interface ContextHolder
Parameters:
a_ResponseExceptions -

getResponseFooters

public Vector getResponseFooters()
Gets the value of the attribute: responseFooters.

Supported API: true

Specified by:
getResponseFooters in interface ContextHolder
Returns:
Vector

setResponseFooters

public void setResponseFooters(Vector a_ResponseFooters)
Sets the value of the attribute: responseFooters.

Supported API: true

Specified by:
setResponseFooters in interface ContextHolder
Parameters:
a_ResponseFooters -

getResponseHeaders

public Vector getResponseHeaders()
Gets the value of the attribute: responseHeaders.

Supported API: true

Specified by:
getResponseHeaders in interface ContextHolder
Returns:
Vector

setResponseHeaders

public void setResponseHeaders(Vector a_ResponseHeaders)
Sets the value of the attribute: responseHeaders.

Supported API: true

Specified by:
setResponseHeaders in interface ContextHolder
Parameters:
a_ResponseHeaders -

getResponseMessages

public Vector getResponseMessages()
Gets the value of the attribute: responseMessages.

Supported API: true

Specified by:
getResponseMessages in interface ContextHolder
Returns:
Vector

setResponseMessages

public void setResponseMessages(Vector a_ResponseMessages)
Sets the value of the attribute: responseMessages.

Supported API: true

Specified by:
setResponseMessages in interface ContextHolder
Parameters:
a_ResponseMessages -

getResponseString

public String getResponseString()
Gets the value of the attribute: responseString.

Supported API: true

Specified by:
getResponseString in interface ContextHolder
Returns:
String

setResponseString

public void setResponseString(String a_ResponseString)
Sets the value of the attribute: responseString.

Supported API: true

Specified by:
setResponseString in interface ContextHolder
Parameters:
a_ResponseString -

getStatus

public int getStatus()
Gets the value of the attribute: status.

Supported API: true

Specified by:
getStatus in interface ContextHolder
Returns:
int

setStatus

public void setStatus(int a_Status)
Sets the value of the attribute: status.

Supported API: true

Specified by:
setStatus in interface ContextHolder
Parameters:
a_Status -

getFormData

public Properties getFormData()
Gets the value of the attribute: formData; Form Data is the data present in the form of the current HTML page.

Supported API: true

Specified by:
getFormData in interface ContextHolder
Returns:
Properties

setFormData

public 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.

Supported API: true

Specified by:
setFormData in interface ContextHolder
Parameters:
a_FormData -

getQueryData

public 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.

Supported API: true

Specified by:
getQueryData in interface ContextHolder
Returns:
Properties

setQueryData

public 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.

Supported API: true

Specified by:
setQueryData in interface ContextHolder
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

Specified by:
addToResponseExceptions in interface ContextHolder
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

Specified by:
addToResponseMessages in interface ContextHolder
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

Specified by:
addToResponseHeaders in interface ContextHolder
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

Specified by:
addToResponseFooters in interface ContextHolder
Parameters:
newFooter -

getPrintWriter

private PrintWriter getPrintWriter(OutputStream out,
                                   Locale locale)

getFromActionProperties

public static Properties getFromActionProperties(String action)

getFromActionProperties

public static Properties getFromActionProperties(Properties formData,
                                                 String action,
                                                 Vector objects)

getFromActionProperties

public static Properties getFromActionProperties(Properties formData,
                                                 String action,
                                                 Vector objects,
                                                 Vector downloadFlags)

getOid

public static String getOid(Persistable obj)

getDownloadContentFlags

public static Vector getDownloadContentFlags(String download_string)

getActionObjects

public static Vector getActionObjects(String oid_string)

addLogMsgField

public void addLogMsgField(Properties parameters,
                           Locale locale,
                           OutputStream os)