Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.flexstor.common.data
Class ActionResult  view ActionResult download ActionResult.java

java.lang.Object
  extended bycom.flexstor.common.data.ejb.Data
      extended bycom.flexstor.common.data.KeyedCollectionData
          extended bycom.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.KeyedCollectionData
serialVersionUID
 
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
 
Constructor Summary
ActionResult()
           
ActionResult(boolean bSucess)
           
 
Method Summary
 java.util.Vector getBadRecords()
           
 ActionData getData()
           
 java.util.Vector getGoodRecords()
           
 int getId()
           
 boolean isSuccess()
           
 void setBadRecords(java.util.Vector vBadRecords)
           
 void setData(ActionData data)
           
 void setId(int nTransId)
           
 void setSuccess(boolean bSucess)
           
 
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
 

Field Detail

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

Constructor Detail

ActionResult

public ActionResult()

ActionResult

public ActionResult(boolean bSucess)
Method Detail

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()