|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.panama.adapter.AdapterHelper
RuntimeAdapterHelper
A helper class for Panama Adapter programmers.
Constructor Summary |
AdapterHelper()
Deprecated. Empty Constructor |
Method Summary |
Type | Method |
---|---|
static boolean |
checkConditions(ServiceRequest sr,
org.w3c.dom.Element wResult)
Deprecated. Checks if OutputFilter-condition match against value. |
static AdapterDefinition |
createAdapterDefinition()
Deprecated. Helper to create an new AdapterDefinition instance. |
static void |
createInputFields(org.w3c.dom.Element simpleForm,
java.lang.String[] missingParameters,
Arguments arg)
Deprecated. Creates a SimpleFormItem for every missing parameter. |
static org.w3c.dom.NodeList |
format(org.w3c.dom.Document owner,
java.lang.String name,
Arguments args,
java.lang.Object[] objs)
Deprecated. Formats an argument caption string. |
static java.lang.String |
getURLPAoidParameter(Arguments args)
Deprecated. Creates an URL pointing to the currently running Service. |
static java.lang.String |
getURLPathParameter(Arguments args)
Deprecated. replaced by getURLPAoidParameter(Arguments) . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AdapterHelper()
Method Detail |
public static AdapterDefinition createAdapterDefinition()
AdapterDefinition
public static java.lang.String getURLPathParameter(Arguments args)
getURLPAoidParameter(Arguments)
.
args
- Arguments passed to this Adapter.public static java.lang.String getURLPAoidParameter(Arguments args)
args
- Arguments passed to this Adapter.public static void createInputFields(org.w3c.dom.Element simpleForm, java.lang.String[] missingParameters, Arguments arg)
If a parameter caption exists, this caption is used as display text, otherwise the name of the parameter is used.
SimpleFormItem is only created for parameters who have usage = USER or if PAdebug is true.
simpleForm
- The parent SimpleForm.missingParameters
- An array with missing parameter names.arg
- Arguments passed to this Adapter.public static org.w3c.dom.NodeList format(org.w3c.dom.Document owner, java.lang.String name, Arguments args, java.lang.Object[] objs)
owner
- the owner document.name
- the argument name.args
- the arguments.objs
- the format argument list.public static boolean checkConditions(ServiceRequest sr, org.w3c.dom.Element wResult)
sr
- ServiceRequestwResult
- The proposed result from the Adapter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |