|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.workflow.impl.bonita.WorkflowServiceContainerHelper
public class WorkflowServiceContainerHelper
Contains helper methods for the Bonita Workflow Service implementation Created by Bull R&D
| Constructor Summary | |
|---|---|
WorkflowServiceContainerHelper()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getModelName(java.lang.String instanceName)
Retrieves the Process Model name from a Process Instance name. |
static java.lang.String |
getProcessName(java.lang.String processId)
|
static java.lang.String |
objectToString(java.lang.Object value,
java.lang.String component)
Converts an Object to a String. |
static java.lang.Object |
stringToObject(java.lang.String value,
java.lang.String component)
Converts a String to an Object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkflowServiceContainerHelper()
| Method Detail |
|---|
public static final java.lang.String getProcessName(java.lang.String processId)
throws java.lang.Exception
java.lang.Exceptionpublic static final java.lang.String getModelName(java.lang.String instanceName)
instanceName - name of the instance whose model is to be retrieved
public static final java.lang.Object stringToObject(java.lang.String value,
java.lang.String component)
UITask.
However this class is currently bundled in a portlet and not in a jar file
which prevents from importing it in Eclipse. As a consequence, those
constants cannot be referenced and their value is used instead.
value - the String to be convertedtype - identifies the component in which the value is displayed.
It indicates the type of the object to produce. For
instance, UITask.DATE indicates that the returned object
should be of type Date. It should be one of the constants
defined in
UITask.
public static final java.lang.String objectToString(java.lang.Object value,
java.lang.String component)
UITask.
However this class is currently bundled in a portlet and not in a jar file
which prevents from importing it in Eclipse. As a consequence, those
constants cannot be referenced and their value is used instead.
value - the Object to be convertedtype - identifies the component in which the value is displayed.
It indicates the expected type of the specified value. For
instance, UITask.DATE indicates that the value is an Object
of type Date. It should be one of the constants defined in
UITask.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||