Oracle Fusion Middleware
Java API Reference for Oracle BPM Suite
11g Release 1 (11.1.1.7.0)
E25378-07

oracle.bpel.services.workflow.metadata.taskdefinition
Class TaskDefinitionUtil

java.lang.Object
  extended by oracle.bpel.services.common.util.AbstractJaxbUtil
      extended by oracle.bpel.services.workflow.common.util.AbstractMLSJaxbUtil
          extended by oracle.bpel.services.workflow.metadata.taskdefinition.TaskDefinitionUtil

public class TaskDefinitionUtil
extends oracle.bpel.services.workflow.common.util.AbstractMLSJaxbUtil


Method Summary
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
 
Methods inherited from class oracle.bpel.services.common.util.AbstractJaxbUtil
cloneObject, cloneObject, createURL, getAbsoluteSchemaLocation, getClassLoader, getSchemaValidationErrors, marshal, marshal, marshal, schemaValidate, toElement, toString, unmarshal, unmarshal, unmarshal, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getJaxbContextString

public java.lang.String getJaxbContextString()
Get the Jaxb Context String

Specified by:
getJaxbContextString in class AbstractJaxbUtil
Returns:
a String value

getSchemaLocation

public java.lang.String getSchemaLocation()
Get the XSD location. This location is a resource location string like A.xsd, a/b/C.xsd The actual file location is determined from the classpath

Specified by:
getSchemaLocation in class AbstractJaxbUtil
Returns:
a String value

getInstance

public static TaskDefinitionUtil getInstance()
Get the TaskDefinitionUtil instance

Returns:
a TaskDefinitionUtil value

getDisplayValueForValueType

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
Helper method to return the display string for a given TranslatableValueType.

Parameters:
locale -
taskDefinition -
task -
taskDefId -
currValue -
tType -
Returns:
Throws:
WorkflowException - Important : This method can return null. Should handle this in the caller

getTaskDefinitionCopy

public static TaskDefinition getTaskDefinitionCopy(TaskDefinition taskDefinition)
                                            throws WorkflowException
Get the taskDefinition copy object

Parameters:
taskDefinition - a TaskDefinition value
Returns:
a TaskDefinition value
Throws:
WorkflowException - if an error occurs

getTaskDefinition

public static TaskDefinition getTaskDefinition(java.io.File file)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

Oracle Fusion Middleware
Java API Reference for Oracle BPM Suite
11g Release 1 (11.1.1.7.0)
E25378-07

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