|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The API for persistence. Implementations can be flat files, serialized objects, or perhaps even a relational database. Just adhere to this API and the implementation can be plugged into the BrokerFactory.
Method Summary | |
void |
beginTransaction()
|
void |
close()
Tell the broker the application is done with it. |
void |
commit()
|
int |
count(SQLQuery q)
|
void |
delete(Persistence obj)
|
void |
deleteAll(SQLQuery q)
|
void |
deleteObjects(java.util.ArrayList deleteList)
|
java.lang.Object |
find(SQLQuery q)
The return type of object allows the support of multiple collection types. |
java.util.Vector |
findAttributes(SQLQuery q,
java.lang.String[] at)
|
Persistence |
findUnique(SQLQuery q)
|
void |
rollback()
|
void |
save(Persistence obj)
|
void |
saveObjects(java.util.ArrayList saveList)
|
void |
setBrokerProperty(BrokerPropertyIF b)
|
Method Detail |
public void setBrokerProperty(BrokerPropertyIF b)
public void beginTransaction() throws QueryException
QueryException
public void commit() throws QueryException
QueryException
public int count(SQLQuery q) throws QueryException
QueryException
public void delete(Persistence obj) throws QueryException
QueryException
public void deleteObjects(java.util.ArrayList deleteList) throws QueryException
QueryException
public java.lang.Object find(SQLQuery q) throws QueryException
QueryException
public void deleteAll(SQLQuery q) throws QueryException
QueryException
public java.util.Vector findAttributes(SQLQuery q, java.lang.String[] at) throws QueryException
QueryException
public Persistence findUnique(SQLQuery q) throws QueryException
QueryException
public void rollback() throws QueryException
QueryException
public void save(Persistence obj) throws QueryException
QueryException
public void saveObjects(java.util.ArrayList saveList) throws QueryException
QueryException
public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |