atg.repository
Interface RepositoryViewContainer
- All Known Subinterfaces: 
- ContentRepository, MutableRepository, Repository, SecuredMutableRepository, SecuredRepository
- All Known Implementing Classes: 
- atg.repository.content.ContentRepositoryService, GenericSecuredMutableContentRepository, GenericSecuredMutableRepository, GenericSecuredRepository, atg.adapter.html.ImmutableSimpleRepository, RepositoryImpl, SimpleRepository, XMLRepositoryService
- public interface RepositoryViewContainer 
Declares an interface where objects may contain RepositoryViews. Hierarchal 
 RepositoryViews can implement this interface by returning their child 
 views. Implementations of RepositoryView and RepositoryViewContainer must
 explcitly define their proposed relationship in regards to accessing items
 and performing query operations of the parent and child views. For example
 a specific implementation of a parent-child relationship between views
 may aggregate executeQuery method across all child views.
 
| Method Summary | 
|  RepositoryView | getView(java.lang.String pName)Returns a RepositoryView accessed with the given view name.
 | 
|  java.lang.String[] | getViewNames()Returns an array of the names of all contained views
 | 
 
CLASS_VERSION
static final java.lang.String CLASS_VERSION
- See Also:
- Constant Field Values
getView
RepositoryView getView(java.lang.String pName)
                       throws RepositoryException
- Returns a RepositoryView accessed with the given view name.
 
- 
- Parameters:
- pName- the name of the view to find
- Returns:
- null if the requested view does not exist
- Throws:
- RepositoryException- if there was an error while 
 attempting to return the RepositoryView
 
getViewNames
java.lang.String[] getViewNames()
- Returns an array of the names of all contained views
 
- 
- Returns:
- null if no sub-views exist