org.fcrepo.server.management
Class FedoraAPIMBindingSOAPHTTPImpl
java.lang.Object
org.fcrepo.server.management.FedoraAPIMBindingSOAPHTTPImpl
- All Implemented Interfaces:
- Remote, Constants, FedoraAPIM
public class FedoraAPIMBindingSOAPHTTPImpl
- extends Object
- implements Constants, FedoraAPIM
Implements the Fedora management SOAP service.
- Author:
- Chris Wilper
| Fields inherited from interface org.fcrepo.common.Constants |
ACCESS, ACTION, API, ATOM_APIM1_0, ATOM_ZIP1_1, ATOM1_1, AUDIT, AUDIT1_0, BATCH_MODIFY, BATCH_MODIFY1_1, BE_SECURITY, BE_SECURITY1_0, BINDING_SPEC, DATASTREAM, DC, DISSEMINATOR, DS_COMPOSITE_MODEL, DS_COMPOSITE_MODEL1_0, DS_INPUT_SPEC1_0, DS_INPUT_SPEC1_1, ENVIRONMENT, FCFG, FEDORA, FEDORA_APP_CONTEXT_NAME, FEDORA_DEFAULT_APP_CONTEXT, FEDORA_HOME, FOXML, FOXML1_0, FOXML1_0_LEGACY, FOXML1_1, HTTP_REQUEST, MANAGEMENT, METHOD_MAP, METS, METS_EXT, METS_EXT1_0, METS_EXT1_0_LEGACY, METS_EXT1_1, MODEL, MULGARA, OAI_DC, OAI_DC2_0, OAI_FRIENDS, OAI_FRIENDS2_0, OAI_IDENTIFIER, OAI_IDENTIFIER2_0, OAI_PMH, OAI_PMH2_0, OAI_PROV, OAI_PROV2_0, OBJ_DATASTREAMS1_0, OBJ_HISTORY1_0, OBJ_ITEMS1_0, OBJ_METHODS1_0, OBJ_PROFILE1_0, OBJ_VALIDATION1_0, OBJECT, OLD_XLINK, PID_LIST1_0, RDF, RDF_XSD, RECOVERY, RELS_EXT, RELS_EXT1_0, RELS_INT1_0, REPO_DESC1_0, RESOURCE, SDEF, SDEF_METHOD_MAP1_0, SDEP, SDEP_METHOD_MAP1_0, SDEP_METHOD_MAP1_1, SERVICE_PROFILE, SOAP, SOAP_ENC, SUBJECT, TYPES, VIEW, WSDL, WSDL_HTTP, WSDL_MIME, XACML_POLICY, XACML_POLICY1_0, XLINK, XML_XSD, XMLNS, XSI |
|
Method Summary |
String |
addDatastream(String pid,
String dsID,
String[] altIds,
String label,
boolean versionable,
String MIMEType,
String formatURI,
String location,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage)
|
boolean |
addRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
|
String |
compareDatastreamChecksum(String PID,
String datastreamID,
String versionDate)
|
byte[] |
export(String PID,
String format,
String exportContext)
|
Datastream |
getDatastream(String PID,
String datastreamID,
String asOfDateTime)
|
Datastream[] |
getDatastreamHistory(String PID,
String datastreamID)
|
Datastream[] |
getDatastreams(String PID,
String asOfDateTime,
String state)
|
String[] |
getNextPID(org.apache.axis.types.NonNegativeInteger numPIDs,
String namespace)
|
byte[] |
getObjectXML(String PID)
|
RelationshipTuple[] |
getRelationships(String subject,
String relationship)
|
String |
ingest(byte[] XML,
String format,
String logMessage)
|
String |
modifyDatastreamByReference(String PID,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
boolean force)
|
String |
modifyDatastreamByValue(String PID,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
byte[] dsContent,
String checksumType,
String checksum,
String logMessage,
boolean force)
|
String |
modifyObject(String PID,
String state,
String label,
String ownerId,
String logMessage)
|
String[] |
purgeDatastream(String PID,
String datastreamID,
String startDT,
String endDT,
String logMessage,
boolean force)
|
String |
purgeObject(String PID,
String logMessage,
boolean force)
|
boolean |
purgeRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
|
String |
setDatastreamState(String PID,
String datastreamID,
String dsState,
String logMessage)
|
String |
setDatastreamVersionable(String PID,
String datastreamID,
boolean versionable,
String logMessage)
|
Validation |
validate(String pid,
String asOfDateTime)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FedoraAPIMBindingSOAPHTTPImpl
public FedoraAPIMBindingSOAPHTTPImpl()
ingest
public String ingest(byte[] XML,
String format,
String logMessage)
throws RemoteException
- Specified by:
ingest in interface FedoraAPIM
- Throws:
RemoteException
modifyObject
public String modifyObject(String PID,
String state,
String label,
String ownerId,
String logMessage)
throws RemoteException
- Specified by:
modifyObject in interface FedoraAPIM
- Throws:
RemoteException
getObjectXML
public byte[] getObjectXML(String PID)
throws RemoteException
- Specified by:
getObjectXML in interface FedoraAPIM
- Throws:
RemoteException
export
public byte[] export(String PID,
String format,
String exportContext)
throws RemoteException
- Specified by:
export in interface FedoraAPIM
- Throws:
RemoteException
purgeObject
public String purgeObject(String PID,
String logMessage,
boolean force)
throws RemoteException
- Specified by:
purgeObject in interface FedoraAPIM
- Throws:
RemoteException
addDatastream
public String addDatastream(String pid,
String dsID,
String[] altIds,
String label,
boolean versionable,
String MIMEType,
String formatURI,
String location,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage)
throws RemoteException
- Specified by:
addDatastream in interface FedoraAPIM
- Throws:
RemoteException
modifyDatastreamByReference
public String modifyDatastreamByReference(String PID,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
boolean force)
throws RemoteException
- Specified by:
modifyDatastreamByReference in interface FedoraAPIM
- Throws:
RemoteException
modifyDatastreamByValue
public String modifyDatastreamByValue(String PID,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
byte[] dsContent,
String checksumType,
String checksum,
String logMessage,
boolean force)
throws RemoteException
- Specified by:
modifyDatastreamByValue in interface FedoraAPIM
- Throws:
RemoteException
setDatastreamState
public String setDatastreamState(String PID,
String datastreamID,
String dsState,
String logMessage)
throws RemoteException
- Specified by:
setDatastreamState in interface FedoraAPIM
- Throws:
RemoteException
setDatastreamVersionable
public String setDatastreamVersionable(String PID,
String datastreamID,
boolean versionable,
String logMessage)
throws RemoteException
- Specified by:
setDatastreamVersionable in interface FedoraAPIM
- Throws:
RemoteException
compareDatastreamChecksum
public String compareDatastreamChecksum(String PID,
String datastreamID,
String versionDate)
throws RemoteException
- Specified by:
compareDatastreamChecksum in interface FedoraAPIM
- Throws:
RemoteException
purgeDatastream
public String[] purgeDatastream(String PID,
String datastreamID,
String startDT,
String endDT,
String logMessage,
boolean force)
throws RemoteException
- Specified by:
purgeDatastream in interface FedoraAPIM
- Throws:
RemoteException
getDatastream
public Datastream getDatastream(String PID,
String datastreamID,
String asOfDateTime)
throws RemoteException
- Specified by:
getDatastream in interface FedoraAPIM
- Throws:
RemoteException
getDatastreams
public Datastream[] getDatastreams(String PID,
String asOfDateTime,
String state)
throws RemoteException
- Specified by:
getDatastreams in interface FedoraAPIM
- Throws:
RemoteException
getDatastreamHistory
public Datastream[] getDatastreamHistory(String PID,
String datastreamID)
throws RemoteException
- Specified by:
getDatastreamHistory in interface FedoraAPIM
- Throws:
RemoteException
getNextPID
public String[] getNextPID(org.apache.axis.types.NonNegativeInteger numPIDs,
String namespace)
throws RemoteException
- Specified by:
getNextPID in interface FedoraAPIM
- Throws:
RemoteException
getRelationships
public RelationshipTuple[] getRelationships(String subject,
String relationship)
throws RemoteException
- Specified by:
getRelationships in interface FedoraAPIM
- Throws:
RemoteException
addRelationship
public boolean addRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
throws RemoteException
- Specified by:
addRelationship in interface FedoraAPIM
- Throws:
RemoteException
purgeRelationship
public boolean purgeRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
throws RemoteException
- Specified by:
purgeRelationship in interface FedoraAPIM
- Throws:
RemoteException
validate
public Validation validate(String pid,
String asOfDateTime)
throws RemoteException
- Specified by:
validate in interface FedoraAPIM
- Throws:
RemoteException
Copyright © 2011 DuraSpace. All Rights Reserved.