com.objectwave.persist.broker
Class NullBroker
java.lang.Object
|
+--com.objectwave.persist.AbstractBroker
|
+--com.objectwave.persist.broker.NullBroker
- All Implemented Interfaces:
- Broker
- public class NullBroker
- extends AbstractBroker
This class will not do anything. This allows an application to be built including hooks for
persistence, but with virtually no overhead. When necessary, switch to an appropriate broker.
- Version:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullBroker
public NullBroker()
findUnique
public Persistence findUnique(SQLQuery query)
find
public java.lang.Object find(SQLQuery query)
- Description copied from interface:
Broker
- The return type of object allows the support of multiple collection types.
findAttributes
public java.util.Vector findAttributes(SQLQuery query,
java.lang.String[] args)
deleteAll
public void deleteAll(SQLQuery query)
save
public void save(Persistence pers)
delete
public void delete(Persistence pers)
rollback
public void rollback()
commit
public void commit()
saveObjects
public void saveObjects(java.util.ArrayList list)
beginTransaction
public void beginTransaction()