fedora.server.access
Class FedoraAPIABindingSOAPHTTPImpl

java.lang.Object
  extended byfedora.server.access.FedoraAPIABindingSOAPHTTPImpl
All Implemented Interfaces:
FedoraAPIA, java.rmi.Remote

public class FedoraAPIABindingSOAPHTTPImpl
extends java.lang.Object
implements FedoraAPIA

Title: FedoraAPIABindingSOAPHTTPImpl.java

Description: Implements the Fedora Access SOAP service.

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: FedoraAPIABindingSOAPHTTPImpl.java,v 1.31 2005/01/11 20:06:06 cwilper Exp $
Author:
rlw@virginia.edu

Constructor Summary
FedoraAPIABindingSOAPHTTPImpl()
           
 
Method Summary
 RepositoryInfo describeRepository()
          Gets key information about the repository.
 FieldSearchResult findObjects(java.lang.String[] resultFields, org.apache.axis.types.NonNegativeInteger maxResults, FieldSearchQuery query)
           
 MIMETypedStream getDatastreamDissemination(java.lang.String PID, java.lang.String dsID, java.lang.String asOfDateTime)
           
 MIMETypedStream getDissemination(java.lang.String PID, java.lang.String bDefPID, java.lang.String methodName, Property[] userParms, java.lang.String asOfDateTime)
          Gets a MIME-typed bytestream containing the result of a dissemination.
 java.lang.String[] getObjectHistory(java.lang.String PID)
           
 ObjectProfile getObjectProfile(java.lang.String PID, java.lang.String asOfDateTime)
          Gets the object profile which included key metadata about the object and URLs for the Dissemination Index and Item Index of the object.
 DatastreamDef[] listDatastreams(java.lang.String PID, java.lang.String asOfDateTime)
           
 ObjectMethodsDef[] listMethods(java.lang.String PID, java.lang.String asOfDateTime)
          Gets a list of all method definitions for the specified object.
 FieldSearchResult resumeFindObjects(java.lang.String sessionToken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FedoraAPIABindingSOAPHTTPImpl

public FedoraAPIABindingSOAPHTTPImpl()
Method Detail

getObjectHistory

public java.lang.String[] getObjectHistory(java.lang.String PID)
                                    throws java.rmi.RemoteException
Specified by:
getObjectHistory in interface FedoraAPIA
Throws:
java.rmi.RemoteException

getDissemination

public MIMETypedStream getDissemination(java.lang.String PID,
                                        java.lang.String bDefPID,
                                        java.lang.String methodName,
                                        Property[] userParms,
                                        java.lang.String asOfDateTime)
                                 throws java.rmi.RemoteException

Gets a MIME-typed bytestream containing the result of a dissemination.

Specified by:
getDissemination in interface FedoraAPIA
Parameters:
PID - The persistent identifier of the Digital Object.
bDefPID - The persistent identifier of the Behavior Definition object.
methodName - The name of the method.
asOfDateTime - The version datetime stamp of the digital object.
userParms - An array of user-supplied method parameters and values.
Returns:
A MIME-typed stream containing the dissemination result.
Throws:
java.rmi.RemoteException

getDatastreamDissemination

public MIMETypedStream getDatastreamDissemination(java.lang.String PID,
                                                  java.lang.String dsID,
                                                  java.lang.String asOfDateTime)
                                           throws java.rmi.RemoteException
Specified by:
getDatastreamDissemination in interface FedoraAPIA
Throws:
java.rmi.RemoteException

findObjects

public FieldSearchResult findObjects(java.lang.String[] resultFields,
                                     org.apache.axis.types.NonNegativeInteger maxResults,
                                     FieldSearchQuery query)
                              throws java.rmi.RemoteException
Specified by:
findObjects in interface FedoraAPIA
Throws:
java.rmi.RemoteException

resumeFindObjects

public FieldSearchResult resumeFindObjects(java.lang.String sessionToken)
                                    throws java.rmi.RemoteException
Specified by:
resumeFindObjects in interface FedoraAPIA
Throws:
java.rmi.RemoteException

listMethods

public ObjectMethodsDef[] listMethods(java.lang.String PID,
                                      java.lang.String asOfDateTime)
                               throws java.rmi.RemoteException

Gets a list of all method definitions for the specified object.

Specified by:
listMethods in interface FedoraAPIA
Parameters:
PID - The persistent identifier for the digital object.
asOfDateTime - The versioning datetime stamp.
Returns:
An array of object method definitions.
Throws:
java.rmi.RemoteException

listDatastreams

public DatastreamDef[] listDatastreams(java.lang.String PID,
                                       java.lang.String asOfDateTime)
                                throws java.rmi.RemoteException
Specified by:
listDatastreams in interface FedoraAPIA
Throws:
java.rmi.RemoteException

getObjectProfile

public ObjectProfile getObjectProfile(java.lang.String PID,
                                      java.lang.String asOfDateTime)
                               throws java.rmi.RemoteException

Gets the object profile which included key metadata about the object and URLs for the Dissemination Index and Item Index of the object.

Specified by:
getObjectProfile in interface FedoraAPIA
Parameters:
PID - The persistent identifier for the digital object.
asOfDateTime - The versioning datetime stamp.
Returns:
The object profile data structure.
Throws:
java.rmi.RemoteException

describeRepository

public RepositoryInfo describeRepository()
                                  throws java.rmi.RemoteException

Gets key information about the repository.

Specified by:
describeRepository in interface FedoraAPIA
Returns:
The repository info data structure.
Throws:
java.rmi.RemoteException