public class TaskDefinitionUtil
extends oracle.bpel.services.workflow.common.util.AbstractMLSJaxbUtil
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getDisplayValueForValueType(java.util.Locale locale, TaskDefinition taskDefinition, Task task, java.lang.String taskDefId, java.lang.String currValue, TranslatableValueType tType)
Helper method to return the display string for a given TranslatableValueType.
|
static TaskDefinitionUtil |
getInstance()
Get the TaskDefinitionUtil instance
|
java.lang.String |
getJaxbContextString()
Get the Jaxb Context String
|
java.lang.String |
getSchemaLocation()
Get the XSD location.
|
static TaskDefinition |
getTaskDefinition(java.io.File file) |
static TaskDefinition |
getTaskDefinitionCopy(TaskDefinition taskDefinition)
Get the taskDefinition copy object
|
cloneObject, cloneObject, createURL, getAbsoluteSchemaLocation, getClassLoader, getSchemaValidationErrors, marshal, marshal, marshal, marshal, schemaValidate, toElement, toString, unmarshal, unmarshal, unmarshal, unmarshal, unmarshalpublic java.lang.String getJaxbContextString()
getJaxbContextString in class AbstractJaxbUtilString valuepublic java.lang.String getSchemaLocation()
getSchemaLocation in class AbstractJaxbUtilString valuepublic static TaskDefinitionUtil getInstance()
TaskDefinitionUtil value
public static java.lang.String getDisplayValueForValueType(java.util.Locale locale,
TaskDefinition taskDefinition,
Task task,
java.lang.String taskDefId,
java.lang.String currValue,
TranslatableValueType tType)
throws WorkflowException
locale -taskDefinition -task -taskDefId -currValue -tType -WorkflowException - Important : This method can return null. Should handle this in the callerpublic static TaskDefinition getTaskDefinitionCopy(TaskDefinition taskDefinition) throws WorkflowException
taskDefinition - a TaskDefinition valueTaskDefinition valueWorkflowException - if an error occurspublic static TaskDefinition getTaskDefinition(java.io.File file) throws java.lang.Exception
java.lang.Exception