com.jwpepper.cat
Class CompositeEntrySupport
java.lang.Object
|
+--com.imaginary.lwp.PersistenceSupport
|
+--com.imaginary.lwp.JDBCSupport
|
+--com.jwpepper.cat.EntrySupport
|
+--com.jwpepper.cat.CompositeEntrySupport
- Direct Known Subclasses:
- CatalogSupport, SectionSupport, SimpleEntrySupport
- public abstract class CompositeEntrySupport
- extends EntrySupport
Provides support above and beyond basic entry support by loading
the entry's child entries.
Last modified $Date: 1999/10/05 04:11:15 $
- Version:
- $Revision: 1.1 $
- Author:
- George Reese (george@ancept.com)
Field Summary |
static java.lang.String |
LOAD_ENTRIES
The SQL for loading child entries. |
Method Summary |
void |
load(Transaction trans,
Memento mem)
Loads the basic information for the entry by calling
load() in the superclass and then loading all
child entries. |
protected void |
loadEntries(Transaction trans,
Memento mem)
Loads all of the child entries associated with an entry. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
LOAD_ENTRIES
public static final java.lang.String LOAD_ENTRIES
- The SQL for loading child entries.
CompositeEntrySupport
public CompositeEntrySupport()
load
public void load(Transaction trans,
Memento mem)
throws LoadException
- Loads the basic information for the entry by calling
load()
in the superclass and then loading all
child entries.
- Parameters:
trans
- the transaction in which the database access occursmem
- the memento into which the data should be loaded- Throws:
- LoadException - an error occurred
loading the data
- Overrides:
- load in class EntrySupport
loadEntries
protected void loadEntries(Transaction trans,
Memento mem)
throws LoadException
- Loads all of the child entries associated with an entry.
- Parameters:
trans
- the transaction in which database access occursmem
- the memento into which the child entries are placed- Throws:
- LoadException - an error occurred
loading the data