java.lang.Object
com.flexstor.common.data.ejb.Data
com.flexstor.common.data.KeyedCollectionData
com.flexstor.common.data.ActionResult
- All Implemented Interfaces:
- java.io.Serializable
- public class ActionResult
- extends KeyedCollectionData
ActionResult returns the result from a service performed to an ActionData object.
It returns the ActionData object with only those records that succeeded; those with
failures are returned in a Vector.
All services for FLEXSTORdb should return this object in the return value of the go method.
|
Field Summary |
private boolean |
bSucess
All Service results should include a boolean indicating good
completion (true) or errors (false) |
private ActionData |
data
Stores the ActionData object used in the service |
private int |
nTransId
Transaction id of the service just performed |
private java.util.Vector |
vBadRecords
Store the AssetRecordData objects for records that failed to
process |
| Fields inherited from class com.flexstor.common.data.ejb.Data |
DELETE, DELETED, derived, htModifiedStates, htOptions, MODIFY, modTime, NEW_ENTRY, presentState, prevState, UNCHANGED, UPDATED, WARN_BEFORE_DELETE |
| Methods inherited from class com.flexstor.common.data.KeyedCollectionData |
getBoolean, getDate, getInteger, getKeyedCollection, getLong, getObject, getString, removeObject, setBoolean, setDate, setInteger, setKeyedCollection, setLong, setObject, setString |
| Methods inherited from class com.flexstor.common.data.ejb.Data |
assertEquals, changed, fillCloneInfo, getDateModTime, getModTime, getPresentState, getPreviousState, initializeState, isDeleted, isDerived, isModified, isModified, isObjectPersist, isOptionAllowed, resetModifiedStates, rollBackState, setDeleted, setDerived, setModifiedState, setModTime, setModTime, setNewEntry, setOption, setPerisistState, setPreviousState, setState, setUpdated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bSucess
private boolean bSucess
- All Service results should include a boolean indicating good
completion (true) or errors (false)
nTransId
private int nTransId
- Transaction id of the service just performed
data
private ActionData data
- Stores the ActionData object used in the service
vBadRecords
private java.util.Vector vBadRecords
- Store the AssetRecordData objects for records that failed to
process
ActionResult
public ActionResult()
ActionResult
public ActionResult(boolean bSucess)
isSuccess
public boolean isSuccess()
setSuccess
public void setSuccess(boolean bSucess)
setId
public void setId(int nTransId)
getId
public int getId()
setData
public void setData(ActionData data)
getData
public ActionData getData()
setBadRecords
public void setBadRecords(java.util.Vector vBadRecords)
getBadRecords
public java.util.Vector getBadRecords()
getGoodRecords
public java.util.Vector getGoodRecords()