Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.4.0)
E10660-04


oracle.tip.pc.api.worklist.payload
Class PayloadFormGenerator

java.lang.Object
  extended by oracle.tip.pc.api.worklist.payload.PayloadFormGenerator


Deprecated. Replaced by classes in oracle.bpel.services.workflow package

public class PayloadFormGenerator
extends java.lang.Object

Constructor Summary
PayloadFormGenerator()
          Deprecated.  

 

Method Summary
static boolean canUpdate(IWorklistTask task)
          Deprecated. checks if this task is updatable
static java.lang.String constructDataTypeName(java.lang.String xpath)
          Deprecated. Use this function to construct the html form parameter datatype name by using xpath
static java.lang.String constructDisplayName(java.lang.String xpath)
          Deprecated. Use this function to construct the html form parameter datatype name by using xpath
static java.lang.String constructName(java.lang.String xpath)
          Deprecated. Use this function to construct the html form parameter name of the xpath
static java.lang.String constructXpath(java.lang.String name)
          Deprecated. receives a form parameter name that represents an xpath, return the xpath it represents.
static Form getMappingForm(IWorklistTask task)
          Deprecated. Get the mapping form associated with this payload
static java.util.Map getRequiredFormParameters(Form form, IWorklistTask task, IWorklistContext context, java.lang.String nextPage, java.lang.String loginPage, java.lang.String errorPage)
          Deprecated.  
static java.util.Map getRequiredFormParameters(java.util.Map namespaces, IWorklistTask task, IWorklistContext context, java.lang.String nextPage, java.lang.String loginPage, java.lang.String errorPage)
          Deprecated. a map of required form variable values keyed by form variable names
static void printElement(org.w3c.dom.Element elem, JspWriter out)
          Deprecated. Returns the string representation of the element
static java.util.List queryNodes(org.w3c.dom.Element elem, java.lang.String xpath, java.util.Map namespaces)
          Deprecated.  
static java.lang.String[] selectNodes(org.w3c.dom.Element elem, java.lang.String xpath, java.util.Map namespaces)
          Deprecated.  
static java.lang.String selectNodeValue(org.w3c.dom.Element elem, java.lang.String xpath, java.util.Map namespaces)
          Deprecated.  
static java.lang.String selectNodeValue(org.w3c.dom.Element elem, java.lang.String xpath, java.util.Map namespaces, java.lang.String datatype, java.util.Locale locale)
          Deprecated.  

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PayloadFormGenerator

public PayloadFormGenerator()
Deprecated. 

Method Detail

getMappingForm

public static Form getMappingForm(IWorklistTask task)
                           throws PCException
Deprecated. 
Get the mapping form associated with this payload
Parameters:
task -
Returns:
Form the mapping form associated with this payload
Throws:
PCException

getRequiredFormParameters

public static java.util.Map getRequiredFormParameters(Form form,
                                                      IWorklistTask task,
                                                      IWorklistContext context,
                                                      java.lang.String nextPage,
                                                      java.lang.String loginPage,
                                                      java.lang.String errorPage)
Deprecated. 
a map of required form variable values keyed by form variable names
Parameters:
errorPage - url
loginPage - url
nextPage - url
context - current worklist context
task - current worklist task
Form - Form
Returns:
a map of required form variable values keyed by form variable names

getRequiredFormParameters

public static java.util.Map getRequiredFormParameters(java.util.Map namespaces,
                                                      IWorklistTask task,
                                                      IWorklistContext context,
                                                      java.lang.String nextPage,
                                                      java.lang.String loginPage,
                                                      java.lang.String errorPage)
Deprecated. 
a map of required form variable values keyed by form variable names
Parameters:
errorPage - url
loginPage - url
nextPage - url
context - current worklist context
task - current worklist task
Map - namespaces used in the html form. keyed by local names. values are urls of string type
Returns:
a map of required form variable values keyed by form variable names

queryNodes

public static java.util.List queryNodes(org.w3c.dom.Element elem,
                                        java.lang.String xpath,
                                        java.util.Map namespaces)
Deprecated. 

selectNodeValue

public static java.lang.String selectNodeValue(org.w3c.dom.Element elem,
                                               java.lang.String xpath,
                                               java.util.Map namespaces)
Deprecated. 
Parameters:
namespaces - namespace map
xpath - xpath of the object
elem - the payload root
Returns:
string representation of the selected object. Use this function when you are sure only one object will be selected.

selectNodeValue

public static java.lang.String selectNodeValue(org.w3c.dom.Element elem,
                                               java.lang.String xpath,
                                               java.util.Map namespaces,
                                               java.lang.String datatype,
                                               java.util.Locale locale)
Deprecated. 
Parameters:
namespaces - namespace map
xpath - xpath of the object
elem - the payload root
Returns:
string representation of the selected object. Use this function when you are sure only one object will be selected.

selectNodes

public static java.lang.String[] selectNodes(org.w3c.dom.Element elem,
                                             java.lang.String xpath,
                                             java.util.Map namespaces)
Deprecated. 
Parameters:
namespaces -
xpath -
elem - payload element
Returns:
an array of selected objects in string format

constructName

public static java.lang.String constructName(java.lang.String xpath)
Deprecated. 
Use this function to construct the html form parameter name of the xpath
Parameters:
xpath -
Returns:
the html form parameter name of this xpath

constructDataTypeName

public static java.lang.String constructDataTypeName(java.lang.String xpath)
Deprecated. 
Use this function to construct the html form parameter datatype name by using xpath
Parameters:
xpath -
Returns:
the html form parameter name of this xpath

constructDisplayName

public static java.lang.String constructDisplayName(java.lang.String xpath)
Deprecated. 
Use this function to construct the html form parameter datatype name by using xpath
Parameters:
xpath -
Returns:
the html form parameter name of this xpath

constructXpath

public static java.lang.String constructXpath(java.lang.String name)
Deprecated. 
receives a form parameter name that represents an xpath, return the xpath it represents.
Parameters:
name -
Returns:
the xpath

canUpdate

public static boolean canUpdate(IWorklistTask task)
Deprecated. 
checks if this task is updatable
Parameters:
task -
Returns:
true if this task is upatable by the user, false otherwise

printElement

public static void printElement(org.w3c.dom.Element elem,
                                JspWriter out)
Deprecated. 
Returns the string representation of the element
Parameters:
elem -

Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.4.0)
E10660-04


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.