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
           
 
Fields inherited from class com.jwpepper.cat.Entry
CRT_CLASS, DESCRIPTION, PARENT, TITLE
 
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.
 
Methods inherited from interface com.jwpepper.cat.Entry
create, create, getCatalog, getDescription, getParent, getTitle
 
Methods inherited from interface com.imaginary.lwp.Entity
getLastUpdateID, getLastUpdateTime, getObjectID, getReference, remove
 

Field Detail

ENTRIES

public static final java.lang.String ENTRIES
Method Detail

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 transaction
ent - 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