|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--filenet.vw.api.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 | |
java.lang.String |
getRosterName()
Retrieves a string representation of roster name returned by the createLiveWorkObject. |
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 boolean success()
public java.lang.String getWorkObjectNumber()
public java.lang.String getRosterName()
public java.lang.String toString()
toString
in class java.lang.Object
|
Process Class Relationships | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |