|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.oodt.cas.workflow.util.XmlRpcStructFactory
public final class XmlRpcStructFactory
A Struct Factory for creating and unpacking Workflow Objects to be sent and received across the XML-RPC wire.
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Hashtable getXmlRpcWorkflowInstancePage(WorkflowInstancePage page)
Hashtable
representation of a WorkflowInstancePage
that is serializable over the XML-RPC wire.
page
- The WorkflowInstancePage
to turn into a
Hashtable
.
Hashtable
representation of a
WorkflowInstancePage
.public static WorkflowInstancePage getWorkflowInstancePageFromXmlRpc(Hashtable pageHash)
WorkflowInstancePage
off of the XML-RPC wire by converting
the XML-RPC Hashtable
representation of the page into a
WorkflowInstancePage
.
pageHash
- The XML-RPC Hashtable
representation of this
WorkflowInstancePage
.
WorkflowInstancePage
that this XML-RPC
Hashtable
provided represents.public static Hashtable getXmlRpcWorkflowInstance(WorkflowInstance wInst)
Gets a Hashtable
representation of a WorkflowInstance
to
be sent across the XML-RPC wire.
wInst
- The WorkflowInstance to turned into a java.util.Hashtable.
Hashtable
representation of a WorkflowInstance
.public static WorkflowInstance getWorkflowInstanceFromXmlRpc(Hashtable workflowInstance)
public static List getWorkflowInstancesFromXmlRpc(Vector instsVector)
List
of WorkflowInstance
s from their
representations as Hashtable
s in XML-RPC.
instsVector
- The Vector
of Hashtable
representations of
WorkflowInstance
s.
List
of WorkflowInstance
s from their
representations as Hashtable
s in XML-RPC.public static Vector getXmlRpcWorkflowInstances(List wInsts)
Vector
of Hashtable
representations of WorkflowInstance
s.
wInsts
- The List
of WorkflowInstance
s to serialize.
Vector
of Hashtable
representations of WorkflowInstance
s.public static Hashtable getXmlRpcWorkflow(Workflow w)
Gets a Hashtable
representation of a Workflow
to be sent
across the XML-RPC wire.
w
- The Workflow to be turned into a java.util.Hashtable
Hashtable
representation of a Workflow
.public static Workflow getWorkflowFromXmlRpc(Hashtable w)
Gets a Workflow
from the XML-RPC Hashtable
version.
w
- The Hashtable to obtain a Workflow from.
Workflow
from the XML-RPC Hashtable
version.public static Hashtable getXmlRpcWorkflowTask(WorkflowTask t)
Gets an XML-RPC version of the WorkflowTask
to send over the
wire.
t
- The WorkflowTask to obtain an XML-RPC Hashtable from.
WorkflowTask
to send over the
wire.public static Vector getXmlRpcWorkflowTasks(List tasks)
Gets a Vector
representation of a List
of
WorkflowTask
s to be sent across the XML-RPC wire.
tasks
- The List
of WorkflowTask
s.
Vector
representation of a List
of
WorkflowTask
s.public static WorkflowTask getWorkflowTaskFromXmlRpc(Hashtable task)
Gets a WorkflowTask
from an XML-RPC Hashtable
sent over
the wire.
task
- The XML-RPC Hashtable version of the WorkflowTask.
WorkflowTask
from an XML-RPC Hashtable
sent
over the wire.public static List getWorkflowTasksFromXmlRpc(Vector tsks)
Gets a List
of WorkflowTask
s from an XML-RPC
Vector
.
tsks
- The Vector
of WorkflowTask
s.
List
of WorkflowTask
s from an XML-RPC
Vector
.public static Hashtable getXmlRpcWorkflowCondition(WorkflowCondition c)
Gets an XML-RPC Hashtable
representation of the
WorkflowCondition
to send over the wire.
c
- The WorkflowCondition to turn into an XML-RPC Hashtable.
Hashtable
representation of the
WorkflowCondition
to send over the wire.public static Hashtable getXmlRpcWorkflowConditionConfig(WorkflowConditionConfiguration conf)
WorkflowConditionConfiguration
.
conf
- The WorkflowConditionConfiguration
to transform into an XML-RPC Hashtable
.
WorkflowConditionConfiguration
.public static Vector getXmlRpcWorkflowConditions(List conditions)
Gets a Vector
representation of the List
of
WorkflowCondition
s to be sent across the XML-RPC wire.
conditions
- The List of WorkflowConditions to turn into a Vector.
Vector
representation of a List
of
WorkflowCondition
s.public static List getWorkflowTaskReqMetFieldsFromXmlRpc(Vector fields)
List
of String
met fields for this
WorkflowTask
.
fields
- The fields required for this task.
List
of String
met fields for this
WorkflowTask
.public static Vector getXmlRpcWorkflowTaskReqMetFields(List metFields)
List
of String
s that are required
Metadata
fields for this WorkflowTask
.
metFields
- The required Metadata
fields.
List
of String
s that are required for this
WorkflowTask
.public static WorkflowCondition getWorkflowConditionFromXmlRpc(Hashtable cond)
Gets a WorkflowCondition
from an XML-RPC Hashtable
.
cond
- The Hashtable to turn into a real WorkflowCondition.
WorkflowCondition
from an XML-RPC Hashtable
.public static WorkflowConditionConfiguration getWorkflowConditionConfigurationFromXmlRpc(Hashtable conf)
WorkflowConditionConfiguration
from XML-RPC.
conf
- XML-RPC friendly Hashtable representing a
WorkflowConditionConfiguration
.
WorkflowConditionConfiguration
from XML-RPC.public static List getWorkflowConditionsFromXmlRpc(Vector conds)
Gets a List
of WorkflowCondition
s from an XML-RPC
Vector
.
conds
- The Vector
of WorkflowCondition
s.
List
of WorkflowCondition
s from an XML-RPC
Vector
.public static Hashtable getXmlRpcWorkflowTaskConfiguration(WorkflowTaskConfiguration config)
Gets a Hashtable
representation of the passed in
WorkflowTaskConfiguration
's Properties
to be sent across
the XML-RPC wire.
config
- The WorkflowTaskConfiguration to convert to a Hashtable.
Hashtable
representation of the passed in
WorkflowTaskConfiguration
's Properties
.public static WorkflowTaskConfiguration getWorkflowTaskConfigurationFromXmlRpc(Hashtable config)
Gets a WorkflowTaskConfiguration
from an XML-RPC
Hashtable
.
config
- The original Hashtable version of the
WorkflowTaskConfiguration.
WorkflowTaskConfiguration
from an XML-RPC
Hashtable
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |