Class WorkProcessorService

java.lang.Object
wt.workflow.work.WorkProcessorService
All Implemented Interfaces:
Externalizable, Serializable, ContextHolder, ProcessorService

public class WorkProcessorService extends Object implements ProcessorService, Externalizable
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

See Also:
  • Method Details

    • projectLinkAttributes

      public void projectLinkAttributes(Properties parameters, Locale locale, OutputStream os)
      If the context object was created in a ProjectLink context (i.e. has a projectContainer) print attributes of the parent project: Project Name Project hosting organization Project manager Project description

      Supported API: true
      Parameters:
      parameters - the arguments that were passed to the Windchill script call
      locale - the Locale to send to the invoked methods for localization
      os - the output stream
    • 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 -