com.jwpepper.cat
Interface CompositeEntry
- All Known Subinterfaces:
- Catalog, Section
- All Known Implementing Classes:
- CompositeEntryImpl
- public abstract interface CompositeEntry
- extends Entry
Prescribes the business methods required by the composite entry business
component. In short a composite entry is an entry that contains other
entries. Examples of composite entries are catalogs and catalog sections.
Last modified $Date: 1999/10/05 04:11:15 $
- Version:
- $Revision
- Author:
- Neophytos Iacovou (iacovou@ancept.com), George Reese (george@ancept.com)
Field Summary |
static java.lang.String |
ENTRIES
|
Method Summary |
void |
addEntry(Identifier id,
Entry ent)
Adds the specified entry as a child to this entry. |
com.sun.java.util.collections.Iterator |
entries()
Retrieves all child entries associated with this
composite entry. |
ENTRIES
public static final java.lang.String ENTRIES
addEntry
public void addEntry(Identifier id,
Entry ent)
throws PersistenceException,
java.rmi.RemoteException
- Adds the specified entry as a child to this entry.
- Parameters:
id
- the client identifier for this transactionent
- the entry to be added- Throws:
- PersistenceException - an error occurred
adding the entry
- java.rmi.RemoteException - a network error occurred
entries
public com.sun.java.util.collections.Iterator entries()
throws java.rmi.RemoteException
- Retrieves all child entries associated with this
composite entry.
- Returns:
- the entries associated with this composite entry
- Throws:
- java.rmi.RemoteException - a network error occurred