Package org.greenstone.fedora.services

Interface Summary
FedoraGS3DL Defines the methods that must be provided to retrieve the datastreams specific to Greenstone documents stored in a Fedora repository.
FedoraToGS3Interface The following methods return the same data as FedoraGS3DL, but formatted as Greenstone Response-Message XML.
FedoraToGS3Interface.Constants Interface declaring some string constants of literals to look for
 

Class Summary
FedoraCommons Methods common to both Fedora(GS3)Connection and GSearchConnection.
FedoraConnection Class that establishes a connection with Fedora's web services (via Java stub classes for the same) and then provides methods to retrieve Greenstone-specific data, such as the TOC, EX, DC,and Section datastreams of the Greenstone documents stored in Fedora's repository.
FedoraGS3Connection Class that extends FedoraConnection in order to be able to use Fedora's web services to retrieve the specific datastreams of Greenstone documents stored in Fedora's repository.
GSearchConnection Class GSearchConnection connects to FedoraGSearch's web services.
 

Exception Summary
FedoraGS3Exception The exceptions that can be thrown by FedoraGS3.
FedoraGS3Exception.AuthenticationFailedException This AuthenticationFailedException can be thrown when the user enters an invalid username and password into the FedoraConnection Authentication popup dialog (displayed upon FedoraConnection object construction).
FedoraGS3Exception.CancelledException When the user chooses to cancel out of the FedoraConnection dialog of the constructor (where they have to enter authentication information), this exception is thrown, so that classes making use of FedoraConnection may choose whether to exit their program or deal with it differently.
FedoraGS3Exception.FedoraGS3InitFailureException Static inner class FedoraGS3InitFailureException is an Exception that is thrown when no connection can be made to the Fedora server and therefore the FedoraGS3 object construction failed.
FedoraGS3Exception.FedoraGS3RunException Represents an exception that occurs when FedoraGS3 is running A subclass of FedoraGS3Exception
FedoraGS3Exception.FedoraVersionNotSupportedException Certain functionality in Fedora - in particular fielded search - is implemented differently or uses slightly different Fedora types in older versions of Fedora (fielded search in 2.0 uses a different Condition class).
FedoraGS3Exception.NotAFedoraServerException This AuthenticationFailedException can be thrown when there is some server listening at the host and port values entered by the user, but when this server is (most likely) not a Fedora Server.
FedoraGS3Exception.ServerNotFoundException This ServerNotFoundException can be thrown when the user enters there is no (Fedora) server listening at a given host and port.