|
Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfilenet.vw.api.VWCreateLiveWOResult
public final class VWCreateLiveWOResult
Use this class to access the return value of a VWSession.createLiveWorkObject() method call.
The following code snippet demonstrates how to use this class in a general fashion:
Initialize work object numbers and roster names to null:
String myWorkObjectNumbers[] = null;
String myRosterNames[] = null;
Put the result of the VWSession.createLiveWorkObject() method call in createWORes:
VWCreateLiveWOResult createWORes[] = mySession.createLiveWorkObject( myFieldNames, myFieldValues, myWorkflowId, numbertoCreate);
If the create was successful, retrieve and return the myWorkObjectNumbers and myRosterNames:
if (createWORes.success()) {myWorkObjectNumbers = new String[createWORes.length]{
myRosterNames = new String[createWORes.length] {
for (int i=0; i<createWORes.length; ++i) {myWorkObjectNumbers[i] = createWORes.getWorkObjectNumber();} }
myRosterNames[i] = createWORes.getRosterName();
VWSession
,
VWSession.createLiveWorkObject(java.lang.String[], java.lang.Object[], java.lang.String, int)
,
Serialized FormMethod Summary | |
---|---|
static java.lang.String |
_get_FILE_AUTHOR()
For FileNet internal use only, do not call. |
static java.lang.String |
_get_FILE_DATE()
For FileNet internal use only, do not call. |
static java.lang.String |
_get_FILE_REVISION()
For FileNet internal use only, do not call. |
long |
getErrorTuple()
Determines whether a VWSession.createLiveWorkObject() method invocation had a server error. |
java.lang.String |
getRosterName()
Retrieves a string representation of roster name returned by the VWSession.createLiveWorkObject method. |
java.lang.String |
getWorkObjectNumber()
Retrieves a String representation of F_WobNum returned by the VWSession.createLiveWorkObject() method. |
boolean |
success()
Determines whether a VWSession.createLiveWorkObject() method invocation was successful. |
java.lang.String |
toString()
Retrieves the string version of this transfer result object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static java.lang.String _get_FILE_DATE()
public static java.lang.String _get_FILE_AUTHOR()
public static java.lang.String _get_FILE_REVISION()
public boolean success()
public long getErrorTuple()
public java.lang.String getWorkObjectNumber()
public java.lang.String getRosterName()
public java.lang.String toString()
toString
in class java.lang.Object
|
Process API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |