public interface DataList extends CommonDataList, java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDataObject(DataObject dataObj)
add a DataObject to my list
|
boolean |
addNewObject(DataObject dObj)
add the DataObject dObj to the datalist and permanent storage
|
DataObject |
addNewObject2(DataObject dataObj)
add a DataObject to my list returning the DataObject
|
boolean |
doesExist(java.lang.String name) |
DataListContainer |
getDataListContainer()
return this DataList's DataListContainer
|
long |
getLastModifiedTime()
Returns the last time of modification in miliseconds;
|
java.lang.String |
getModelName()
get the workspace model name
|
DataObject |
getObject(long objId)
return the DataObject in this list that has the id of objID
|
java.lang.String |
getObjectClass()
return the string representation of the DataObject class that we hold
|
int |
getObjectCount()
get the DataObject Count
|
DataObject[] |
getObjects()
get an array of DataObjects
|
boolean |
hasBeenInitd()
has this DataList been init'd?
|
boolean |
init()
initialize this DataList
|
boolean |
isModified()
has the data in this DataList been changed?
|
java.util.Iterator |
iterator() |
java.lang.Object |
loadObject(long id)
load an object from the data store for this Data Object id
|
boolean |
register()
register listener with remote side.
|
boolean |
reload(java.lang.String user)
have the DataList drop all objects and reload them from the data storage
|
boolean |
saveAll(java.lang.String user)
save all the DataObjects in my list
|
void |
setModelName(java.lang.String model)
set the workspace model name
|
boolean |
workspaceClosing()
called when the workspace is closing
|
addDataListListener, backupData, backupObjectData, callNativeMethod, findObjectById, getCommonDataListContainer, getGmtOffset, getObject, getObjectArray, getUnitSystem, loadObject, newDataObject, removeAll, removeDataListListener, removeObject, saveObject, setModifiedjava.util.Iterator iterator()
DataObject getObject(long objId)
getObject in interface CommonDataListjava.lang.Object loadObject(long id)
boolean saveAll(java.lang.String user)
DataListContainer getDataListContainer()
boolean addDataObject(DataObject dataObj)
boolean hasBeenInitd()
boolean init()
boolean workspaceClosing()
boolean register()
java.lang.String getObjectClass()
getObjectClass in interface CommonDataListvoid setModelName(java.lang.String model)
java.lang.String getModelName()
DataObject[] getObjects()
int getObjectCount()
getObjectCount in interface CommonDataListboolean isModified()
isModified in interface CommonDataListboolean addNewObject(DataObject dObj)
addNewObject in interface CommonDataListDataObject addNewObject2(DataObject dataObj)
boolean doesExist(java.lang.String name)
doesExist in interface CommonDataListboolean reload(java.lang.String user)
long getLastModifiedTime()