com.phoenix_int.aserver.library
Interface IPHXVersionedLibrarian

All Superinterfaces:
IPHXLibrarian
All Known Subinterfaces:
IPHXVersionedLibrarian2
All Known Implementing Classes:
PHXCVSLibrarian, PHXLibrarianCombiner, PHXLibrarianMounter

public interface IPHXVersionedLibrarian
extends IPHXLibrarian

This extends the IPHXLibrarian interface to include version information about components.


Method Summary
 PHXComponentBranch getComponentHistory(java.lang.String compClass, java.lang.String virtualDir)
          Gets all version information about a particular component It is important that this class throws PHXNoSuchCategoryException and ClassNotFoundException in the appropriate cases as they are handled in special ways by the librarian mounter and librarian combiner.
 
Methods inherited from interface com.phoenix_int.aserver.library.IPHXLibrarian
cleanUp, describe, getQueues, initialize, instantiate, instantiate, listComponents, listDirectories
 

Method Detail

getComponentHistory

PHXComponentBranch getComponentHistory(java.lang.String compClass,
                                       java.lang.String virtualDir)
                                       throws java.lang.Exception
Gets all version information about a particular component

It is important that this class throws PHXNoSuchCategoryException and ClassNotFoundException in the appropriate cases as they are handled in special ways by the librarian mounter and librarian combiner.

Parameters:
compClass - the class name for the component
virtualDirName - The directory the client asked for
Returns:
An instance of PHXComponentBranch which contains all the versions and sub-branches available
Throws:
PHXNoSuchCategoryException - If the virtualDirName passed in is invalid
java.lang.ClassNotFoundException - If compClass doesn't indicate a valid class for the specified directory
java.lang.Exception - If anything goes wrong