|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use DAO | |
| com.marringtons.object | The Adept object package provides sophisticated object manipulation and storage, including a full-featured object database. |
| com.marringtons.util | Every library requires a catch-all packages for classes that cannot be easily grouped elsewhere - and here it is - caches, maps, semaphores, sessions, threads and much more. |
| Uses of DAO in com.marringtons.object |
| Methods in com.marringtons.object that return DAO | |
DAO |
DAO.get(int record)
Get the record from the cache if available, otherwise from the database. |
DAO |
DAO.load()
If you are using lazy loading on a first/next, then you will need to use load() on DAOs inside the DAO returned (relational DAOs) to ensure that the data is loaded. |
DAO |
DAO.copy()
Return a copy of a DAO object that can then be added to the database as a new record. |
static DAO |
DAO.newInstance(Class daoClass)
Factory method to make a new instance of a DAO. |
DAO |
Migration.Interface.migrate()
When a database object class needs to change, copy it as an inner class into the Migrations class in the same package and have it implement Migration.Interface. |
static DAO |
ObjectXML.fromXML(Database db,
BufferedReader reader,
boolean unique,
Translator translator)
Given a stream of XML, extract the objects and save them into the current database. |
DAO |
Search.first(Index index)
Retrieve the first of a list of objects that match the provided index. |
DAO |
Search.first(int integerIndex)
Retrieve the first of a list of objects that match the provided integer index. |
DAO |
Search.first(String stringIndex)
Retrieve the first of a list of objects that match the provided string index. |
DAO |
Search.next()
Retrieve the next matching record. |
| Methods in com.marringtons.object with parameters of type DAO | |
static Messages |
ObjectScraper.fromProperties(DAO dao,
Properties properties,
Translator translator)
Scrape string data in Properties format into the a DAO using an explicit translator. |
static Messages |
ObjectScraper.toProperties(Properties properties,
String inclusions,
DAO dao,
Formatter formatter)
Convert a Java Object to a name/value pair set of string properties. |
static String |
ObjectXML.toXML(DAO dao)
Convert a DAO to an XML representation. |
static void |
ObjectXML.toXML(Writer writer,
DAO dao)
Create an XML stream of all objects pointed to by a single index in a single related database. |
static void |
ObjectXML.toXML(BufferedWriter writer,
DAO dao)
Create an XML stream of all objects pointed to by a single index in a single related database. |
| Constructors in com.marringtons.object with parameters of type DAO | |
Search(DAO dao,
Search.Load load,
Search.Access access)
Create a search object for retrieving specified objects from the database. |
|
| Uses of DAO in com.marringtons.util |
| Subclasses of DAO in com.marringtons.util | |
static class |
Session.PersistentData
This is DAO class used to persist session data to disk. |
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||