|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.dc.core.objects.DCCollection
A collection of Data Crow objects. Normal actions like save / update and delete can be performed on a collection of objects
Constructor Summary | |
DCCollection()
Initializes a new collection |
Method Summary | |
void |
addObject(DCObject o,
java.lang.Integer rowNumber)
Adds an object to this collection. |
void |
delete(RequestorCollection requestors)
|
void |
saveNew(RequestorCollection requestors)
|
void |
saveUpdate(RequestorCollection requestors)
|
QueryBatch |
toQueryBatch(int queryType)
Convert this collection to a Query Batch. |
boolean |
uniqueObject(DCObject o,
java.lang.Integer newRow)
Checks whether the data crow object is unqiue within the collection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DCCollection()
Method Detail |
public void addObject(DCObject o, java.lang.Integer rowNumber)
o
- Data Crow Object to be added to the collectionrowNumber
- UI row numberpublic void saveUpdate(RequestorCollection requestors)
public void delete(RequestorCollection requestors)
public void saveNew(RequestorCollection requestors)
public QueryBatch toQueryBatch(int queryType)
queryType
- type of query (@see Query)public boolean uniqueObject(DCObject o, java.lang.Integer newRow)
o
- the object to check for completeness and uniquenessnewRow
- UI row index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |