| Modifier and Type | Method and Description |
|---|---|
RepositoryInfo |
DynamicAccessModule.describeRepository(Context context) |
RepositoryInfo |
DynamicAccessImpl.describeRepository(Context context) |
RepositoryInfo |
DefaultAccess.describeRepository(Context context)
Gets information that describes the repository.
|
RepositoryInfo |
Access.describeRepository(Context context)
Gets information that describes the repository.
|
void |
DescribeRepositoryServlet.describeRepository(Context context,
boolean xml,
javax.servlet.http.HttpServletResponse response) |
FieldSearchResult |
DynamicAccessModule.findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query) |
FieldSearchResult |
DynamicAccessImpl.findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query) |
FieldSearchResult |
DefaultAccess.findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query)
Lists the specified fields of each object matching the given criteria.
|
FieldSearchResult |
Access.findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query)
Lists the specified fields of each object matching the given criteria.
|
MIMETypedStream |
DynamicAccessModule.getDatastreamDissemination(Context context,
String PID,
String dsID,
Date asOfDateTime) |
MIMETypedStream |
DynamicAccessImpl.getDatastreamDissemination(Context context,
String PID,
String dsID,
Date asOfDateTime) |
MIMETypedStream |
DefaultAccess.getDatastreamDissemination(Context context,
String PID,
String dsID,
Date asOfDateTime) |
MIMETypedStream |
Access.getDatastreamDissemination(Context context,
String pid,
String dsID,
Date asOfDateTime) |
void |
FedoraAccessServlet.getDatastreamDissemination(Context context,
String PID,
String dsID,
Date asOfDateTime,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request) |
MIMETypedStream |
DynamicAccessModule.getDissemination(Context context,
String PID,
String sDefPID,
String methodName,
Property[] userParms,
Date asOfDateTime)
Perform a dissemination for a method that belongs to a dynamic
disseminator that is associate with the digital object.
|
MIMETypedStream |
DefaultAccess.getDissemination(Context context,
String PID,
String sDefPID,
String methodName,
Property[] userParms,
Date asOfDateTime)
Disseminates the content produced by executing the specified method of
the associated deployment object of the specified digital object.
|
MIMETypedStream |
Access.getDissemination(Context context,
String pid,
String sDefPID,
String methodName,
Property[] userParms,
Date asOfDateTime)
Disseminates the content produced by executing the specified method of
the associated Service Deployment object of the specified digital object.
|
MIMETypedStream |
DynamicAccessImpl.getDissemination(Context context,
String PID,
String sDefPID,
String methodName,
Property[] userParms,
Date asOfDateTime,
DOReader reader)
Perform a dissemination for a method that belongs to a dynamic
disseminator that is associate with the digital object.
|
void |
FedoraAccessServlet.getDissemination(Context context,
String PID,
String sDefPID,
String methodName,
Property[] userParms,
Date asOfDateTime,
javax.servlet.http.HttpServletResponse response,
javax.servlet.http.HttpServletRequest request)
This method calls the Fedora Access Subsystem to retrieve a MIME-typed
stream corresponding to the dissemination request.
|
MethodDef[] |
DynamicAccessModule.getMethods(Context context,
String PID,
String sDefPID,
Date asOfDateTime)
Get the method defintions for a given dynamic disseminator that
is associated with the digital object.
|
MethodDef[] |
DynamicAccessImpl.getMethods(Context context,
String PID,
String sDefPID,
Date asOfDateTime)
Get the method defintions for a given dynamic disseminator that
is associated with the digital object.
|
MIMETypedStream |
DynamicAccessModule.getMethodsXML(Context context,
String PID,
String sDefPID,
Date asOfDateTime)
Get an XML encoding of the service defintions for a given dynamic
disseminator that is associated with the digital object.
|
MIMETypedStream |
DynamicAccessImpl.getMethodsXML(Context context,
String PID,
String sDefPID,
Date asOfDateTime)
Get an XML encoding of the service defintions for a given dynamic
disseminator that is associated with the digital object.
|
String[] |
DynamicAccessModule.getObjectHistory(Context context,
String PID) |
String[] |
DynamicAccessImpl.getObjectHistory(Context context,
String PID) |
String[] |
DefaultAccess.getObjectHistory(Context context,
String PID)
Gets the change history of an object by returning a list of timestamps
that correspond to modification dates of components.
|
String[] |
Access.getObjectHistory(Context context,
String pid)
Gets the change history of an object by returning a list of timestamps
that correspond to modification dates of components.
|
void |
GetObjectHistoryServlet.getObjectHistory(Context context,
String PID,
boolean xml,
javax.servlet.http.HttpServletResponse response) |
ObjectProfile |
DynamicAccessModule.getObjectProfile(Context context,
String PID,
Date asOfDateTime)
Get the profile information for the digital object.
|
ObjectProfile |
DynamicAccessImpl.getObjectProfile(Context context,
String PID,
Date asOfDateTime)
Get the profile information for the digital object.
|
ObjectProfile |
DefaultAccess.getObjectProfile(Context context,
String PID,
Date asOfDateTime) |
ObjectProfile |
Access.getObjectProfile(Context context,
String pid,
Date asOfDateTime)
Gets object profile
|
void |
FedoraAccessServlet.getObjectProfile(Context context,
String PID,
Date asOfDateTime,
boolean xml,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String[] |
DynamicAccessModule.getServiceDefinitions(Context context,
String PID,
Date asOfDateTime)
Get a list of service definition identifiers for dynamic disseminators
associated with the digital object.
|
String[] |
DynamicAccessImpl.getServiceDefinitions(Context context,
String PID,
Date asOfDateTime)
Get a list of Service Definition identifiers for dynamic disseminators
associated with the digital object.
|
boolean |
DynamicAccessImpl.isDynamicDeployment(Context context,
String PID,
String sDefPID) |
protected boolean |
DynamicAccessModule.isDynamicService(Context context,
String PID,
String sDefPID) |
DatastreamDef[] |
DynamicAccessModule.listDatastreams(Context context,
String PID,
Date asOfDateTime) |
DatastreamDef[] |
DynamicAccessImpl.listDatastreams(Context context,
String PID,
Date asOfDateTime) |
DatastreamDef[] |
DefaultAccess.listDatastreams(Context context,
String PID,
Date asOfDateTime) |
DatastreamDef[] |
Access.listDatastreams(Context context,
String pid,
Date asOfDateTime) |
void |
ListDatastreamsServlet.listDatastreams(Context context,
String PID,
Date asOfDateTime,
boolean xml,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
ObjectMethodsDef[] |
DynamicAccessModule.listMethods(Context context,
String PID,
Date asOfDateTime)
Get the definitions for all dynamic disseminations on the object.
|
ObjectMethodsDef[] |
DynamicAccessImpl.listMethods(Context context,
String PID,
Date asOfDateTime)
Get the definitions for all dynamic disseminations on the object.
|
ObjectMethodsDef[] |
DefaultAccess.listMethods(Context context,
String PID,
Date asOfDateTime) |
ObjectMethodsDef[] |
Access.listMethods(Context context,
String pid,
Date asOfDateTime) |
void |
ListMethodsServlet.listMethods(Context context,
String PID,
Date asOfDateTime,
boolean xml,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
FieldSearchResult |
DynamicAccessModule.resumeFindObjects(Context context,
String sessionToken) |
FieldSearchResult |
DynamicAccessImpl.resumeFindObjects(Context context,
String sessionToken) |
FieldSearchResult |
DefaultAccess.resumeFindObjects(Context context,
String sessionToken)
Resumes an in-progress listing of object fields.
|
FieldSearchResult |
Access.resumeFindObjects(Context context,
String sessionToken)
Resumes an in-progress listing of object fields.
|
| Modifier and Type | Method and Description |
|---|---|
String |
ObjectInfoAsXML.getItemIndex(String reposBaseURL,
String applicationContext,
DOReader reader,
Date versDateTime) |
String |
ObjectInfoAsXML.getMethodIndex(String reposBaseURL,
String PID,
ObjectMethodsDef[] methods,
Date versDateTime) |
String |
ObjectInfoAsXML.getOAIDublinCore(Datastream dublinCore) |
String |
ObjectInfoAsXML.getObjectProfile(String reposBaseURL,
ObjectProfile objProfile,
Date versDateTime) |
Object |
ServiceMethodDispatcher.invokeMethod(Object service_object,
String methodName,
Property[] userParms)
Invoke a method on an internal service.
|
static MethodDef[] |
InternalService.reflectMethods()
A method to reflect the method definitions implemented by the
internal service.
|
MIMETypedStream |
DefaultDisseminatorImpl.viewDublinCore()
Returns the Dublin Core record for the object, if one exists.
|
MIMETypedStream |
DefaultDisseminator.viewDublinCore()
Returns the Dublin Core record for the object, if one exists.
|
MIMETypedStream |
DefaultDisseminatorImpl.viewItemIndex()
Returns an HTML rendering of the Item Index for the object.
|
MIMETypedStream |
DefaultDisseminator.viewItemIndex()
Returns an HTML rendering of the Item Index for the object.
|
MIMETypedStream |
DefaultDisseminatorImpl.viewMethodIndex()
Returns an HTML rendering of the Dissemination Index for the object.
|
MIMETypedStream |
DefaultDisseminator.viewMethodIndex()
Returns an HTML rendering of the Dissemination Index for the object.
|
MIMETypedStream |
DefaultDisseminatorImpl.viewObjectProfile()
Returns an HTML rendering of the object profile which contains key
metadata from the object, plus URLs for the object's Dissemination Index
and Item Index.
|
MIMETypedStream |
DefaultDisseminator.viewObjectProfile()
Returns an HTML rendering of the object profile which contains key
metadata from the object, plus URLs for the object's Dissemination Index
and Item Index.
|
| Constructor and Description |
|---|
DefaultDisseminatorImpl(Context context,
Date asOfDateTime,
DOReader reader,
Access access,
String reposBaseURL,
File reposHomeDir) |
| Modifier and Type | Method and Description |
|---|---|
MIMETypedStream |
DisseminationService.assembleDissemination(Context context,
String PID,
Hashtable<String,String> h_userParms,
DisseminationBindingInfo[] dissBindInfoArray,
String deploymentPID,
ServiceDeploymentReader bmReader,
String methodName)
Assembles a dissemination given an instance of
DisseminationBindingInfo which has the dissemination-related
information from the digital object and its associated Service Deployment
object. |
String |
DisseminationService.registerDatastreamLocation(String dsLocation,
String dsControlGroupType,
String beServiceCallbackRole,
String methodName)
Datastream locations are considered privileged information by the Fedora
repository.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BackendSecurityParserException
A parser exception indicating something went wrong while parsing the
backend security configuration file.
|
class |
ConnectionPoolNotFoundException
Signals a database ConnectionPool could not be found.
|
class |
DatastreamLockedException
Signals that a datastream was locked.
|
class |
DatastreamNotFoundException
Signals that a datastream could not be found.
|
class |
DisallowedHostException
Thrown when a host requests access to a resource that it doesn't have
permission to access.
|
class |
DisseminationBindingInfoNotFoundException
Signals that an instance of DisseminationBindingInfo could not be found
or was null.
|
class |
DisseminationException
Signals an error in processing a dissemination request.
|
class |
DisseminatorNotFoundException
Signals that a disseminator could not be found.
|
class |
GeneralException
A general exception indicating something went wrong on the server.
|
class |
HttpServiceNotFoundException
Signals that a successful HTTP connection could NOT be made to the
designated URL.
|
class |
InconsistentTableSpecException
Thrown when a table specification is not internally consistent.
|
class |
InitializationException
Superclass for initialization-related exceptions.
|
class |
InvalidContextException
Thrown when context is invalid.
|
class |
InvalidIPSpecException
Thrown when when an IP is bad.
|
class |
InvalidOperatorException
Thrown when an operator is invalid.
|
class |
InvalidStateException
Thrown when an object or component state is invalid.
|
class |
InvalidUserParmException
Signals that one or more user-supplied method parameters do not validate
against the method parameter definitions in the associated Behavior
Mechanism object.
|
class |
InvalidXMLNameException
Thrown when a string does not meet the criteria for an XML name.
|
class |
LowlevelStorageException |
class |
LowlevelStorageInconsistencyException |
class |
MalformedPidException
Signals that a PID is malformed.
|
class |
MessagingException |
class |
MethodNotFoundException
Signals that a method associated with a Service Deployment could not
be found.
|
class |
MethodParmNotFoundException
Signals that a method parameter associated with a Service Deployment
could not be found.
|
class |
ModuleInitializationException
Signals that an error occurred during a module's initialization.
|
class |
ModuleShutdownException
Signals that an error occurred during a module's shutdown.
|
class |
ObjectAlreadyInLowlevelStorageException |
class |
ObjectDependencyException
Signals that an object has one or more related objects that depend on it.
|
class |
ObjectExistsException
Signals that an object existed when it wasn't expected to have existed.
|
class |
ObjectIntegrityException
Signals that an object (serialized or deserialized) is inappropriately
formed in the context that it is being examined.
|
class |
ObjectLockedException
Signals that an object was locked.
|
class |
ObjectNotFoundException
Signals that an object could not be found.
|
class |
ObjectNotInLowlevelStorageException |
class |
ObjectValidityException
Signals that an object is not valid.
|
class |
QueryParseException
Thrown when a query is badly formed.
|
class |
ReplicationException
Signals a problem during replication.
|
class |
RepositoryConfigurationException
An exception indicating a low-level configuration or related problem
with the repository software.
|
class |
ResourceIndexException |
class |
ServerInitializationException
Signifies that an error occurred during the server's initialization.
|
class |
ServerShutdownException
Signifies that an error occurred during the server's shutdown.
|
class |
ShutdownException
Superclass for shutdown-related exceptions.
|
class |
StorageDeviceException
Signals that a storage device failed to behave as expected.
|
class |
StorageException
Abstract superclass for storage-related exceptions.
|
class |
StreamIOException
Superclass for low-level stream i/o problems.
|
class |
StreamReadException
Signals that a low-level error occurred reading from a stream.
|
class |
StreamWriteException
Signals a low-level error while writing to a stream.
|
class |
UnknownSessionTokenException
Signals that the requested session was not found.
|
class |
UnrecognizedFieldException
Thrown when a field is not recognized.
|
class |
UnsupportedQueryLanguageException |
class |
UnsupportedTranslationException
Thrown when some format+encoding pair isn't supported by a translator.
|
class |
ValidationException
Signals an error while validating.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthzDeniedException
Thrown when authorization is denied.
|
class |
AuthzException
Thrown when functional processing should discontinue.
|
class |
AuthzOperationalException
Thrown when authorization cannot be completed.
|
class |
AuthzPermittedException
Thrown when authorization is denied.
|
class |
PasswordComparisonException
Thrown when authorization is denied.
|
| Modifier and Type | Method and Description |
|---|---|
String |
Journaler.addDatastream(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
boolean versionable,
String MIMEType,
String formatURI,
String location,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage)
Delegate to the JournalWorker.
|
String |
JournalCreator.addDatastream(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
boolean versionable,
String MIMEType,
String formatURI,
String location,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage)
Create a journal entry, add the arguments, and invoke the method.
|
String |
JournalConsumer.addDatastream(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
boolean versionable,
String MIMEType,
String formatURI,
String location,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage)
Reject API calls from outside while we are in recovery mode.
|
boolean |
Journaler.addRelationship(Context context,
String pid,
String relationship,
String object,
boolean isLiteral,
String datatype)
Delegate to the JournalWorker.
|
boolean |
JournalCreator.addRelationship(Context context,
String pid,
String relationship,
String objURI,
boolean isLiteral,
String datatype) |
boolean |
JournalConsumer.addRelationship(Context context,
String pid,
String relationship,
String objURI,
boolean isLiteral,
String datatype)
Reject API calls from outside while we are in recovery mode.
|
String |
Journaler.compareDatastreamChecksum(Context context,
String pid,
String dsID,
Date versionDate)
Delegate to the JournalWorker.
|
String |
JournalCreator.compareDatastreamChecksum(Context context,
String pid,
String dsID,
Date versionDate)
Let the delegate do it.
|
String |
JournalConsumer.compareDatastreamChecksum(Context context,
String pid,
String dsID,
Date versionDate)
Read-only method: pass the call to the
ManagementDelegate. |
static void |
JournalOperatingMode.enforceCurrentMode()
If a modifying operation is attempted while we are in Read-Only mode,
throw an exception to prevent it.
|
InputStream |
Journaler.export(Context context,
String pid,
String format,
String exportContext,
String encoding)
Delegate to the JournalWorker.
|
InputStream |
JournalCreator.export(Context context,
String pid,
String format,
String exportContext,
String encoding)
Let the delegate do it.
|
InputStream |
JournalConsumer.export(Context context,
String pid,
String format,
String exportContext,
String encoding)
Read-only method: pass the call to the
ManagementDelegate. |
Datastream |
Journaler.getDatastream(Context context,
String pid,
String datastreamID,
Date asOfDateTime)
Delegate to the JournalWorker.
|
Datastream |
JournalCreator.getDatastream(Context context,
String pid,
String datastreamID,
Date asOfDateTime)
Let the delegate do it.
|
Datastream |
JournalConsumer.getDatastream(Context context,
String pid,
String datastreamID,
Date asOfDateTime)
Read-only method: pass the call to the
ManagementDelegate. |
Datastream[] |
Journaler.getDatastreamHistory(Context context,
String pid,
String datastreamID)
Delegate to the JournalWorker.
|
Datastream[] |
JournalCreator.getDatastreamHistory(Context context,
String pid,
String datastreamID)
Let the delegate do it.
|
Datastream[] |
JournalConsumer.getDatastreamHistory(Context context,
String pid,
String datastreamID)
Read-only method: pass the call to the
ManagementDelegate. |
Datastream[] |
Journaler.getDatastreams(Context context,
String pid,
Date asOfDateTime,
String dsState)
Delegate to the JournalWorker.
|
Datastream[] |
JournalCreator.getDatastreams(Context context,
String pid,
Date asOfDateTime,
String dsState)
Let the delegate do it.
|
Datastream[] |
JournalConsumer.getDatastreams(Context context,
String pid,
Date asOfDateTime,
String dsState)
Read-only method: pass the call to the
ManagementDelegate. |
String[] |
Journaler.getNextPID(Context context,
int numPIDs,
String namespace)
Delegate to the JournalWorker.
|
String[] |
JournalCreator.getNextPID(Context context,
int numPIDs,
String namespace)
Create a journal entry, add the arguments, and invoke the method.
|
String[] |
JournalConsumer.getNextPID(Context context,
int numPIDs,
String namespace)
Reject API calls from outside while we are in recovery mode.
|
InputStream |
Journaler.getObjectXML(Context context,
String pid,
String encoding)
Delegate to the JournalWorker.
|
InputStream |
JournalCreator.getObjectXML(Context context,
String pid,
String encoding)
Let the delegate do it.
|
InputStream |
JournalConsumer.getObjectXML(Context context,
String pid,
String encoding)
Read-only method: pass the call to the
ManagementDelegate. |
RelationshipTuple[] |
Journaler.getRelationships(Context context,
String pid,
String relationship)
Delegate to the JournalWorker.
|
RelationshipTuple[] |
JournalCreator.getRelationships(Context context,
String pid,
String relationship)
Let the delegate do it.
|
RelationshipTuple[] |
JournalConsumer.getRelationships(Context context,
String pid,
String relationship)
Read-only method: pass the call to the
ManagementDelegate. |
String |
ServerWrapper.getRepositoryHash() |
String |
ServerInterface.getRepositoryHash() |
InputStream |
Journaler.getTempStream(String id)
Delegate to the JournalWorker.
|
InputStream |
JournalCreator.getTempStream(String id)
Let the delegate do it.
|
InputStream |
JournalConsumer.getTempStream(String id)
Delegate to the ManagementDelegate.
|
String |
Journaler.ingest(Context context,
InputStream serialization,
String logMessage,
String format,
String encoding,
String pid)
Delegate to the JournalWorker.
|
String |
JournalCreator.ingest(Context context,
InputStream serialization,
String logMessage,
String format,
String encoding,
String pid)
Let the delegate do it, and then write a journal entry.
|
String |
JournalConsumer.ingest(Context context,
InputStream serialization,
String logMessage,
String format,
String encoding,
String pid)
Reject API calls from outside while we are in recovery mode.
|
Date |
Journaler.modifyDatastreamByReference(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate)
Delegate to the JournalWorker.
|
Date |
JournalCreator.modifyDatastreamByReference(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate)
Create a journal entry, add the arguments, and invoke the method.
|
Date |
JournalConsumer.modifyDatastreamByReference(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate)
Reject API calls from outside while we are in recovery mode.
|
Date |
Journaler.modifyDatastreamByValue(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
InputStream dsContent,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate)
Delegate to the JournalWorker.
|
Date |
JournalCreator.modifyDatastreamByValue(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
InputStream dsContent,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate)
Create a journal entry, add the arguments, and invoke the method.
|
Date |
JournalConsumer.modifyDatastreamByValue(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
InputStream dsContent,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate)
Reject API calls from outside while we are in recovery mode.
|
Date |
Journaler.modifyObject(Context context,
String pid,
String state,
String label,
String ownerId,
String logMessage,
Date lastModifiedDate)
Delegate to the JournalWorker.
|
Date |
JournalCreator.modifyObject(Context context,
String pid,
String state,
String label,
String ownerId,
String logMessage,
Date lastModifiedDate)
Create a journal entry, add the arguments, and invoke the method.
|
Date |
JournalConsumer.modifyObject(Context context,
String pid,
String state,
String label,
String ownerId,
String logMessage,
Date lastModifiedDate)
Reject API calls from outside while we are in recovery mode.
|
Date[] |
Journaler.purgeDatastream(Context context,
String pid,
String datastreamID,
Date startDT,
Date endDT,
String logMessage)
Delegate to the JournalWorker.
|
Date[] |
JournalCreator.purgeDatastream(Context context,
String pid,
String datastreamID,
Date startDT,
Date endDT,
String logMessage)
Create a journal entry, add the arguments, and invoke the method.
|
Date[] |
JournalConsumer.purgeDatastream(Context context,
String pid,
String datastreamID,
Date startDT,
Date endDT,
String logMessage)
Reject API calls from outside while we are in recovery mode.
|
Date |
Journaler.purgeObject(Context context,
String pid,
String logMessage)
Delegate to the JournalWorker.
|
Date |
JournalCreator.purgeObject(Context context,
String pid,
String logMessage)
Create a journal entry, add the arguments, and invoke the method.
|
Date |
JournalConsumer.purgeObject(Context context,
String pid,
String logMessage)
Reject API calls from outside while we are in recovery mode.
|
boolean |
Journaler.purgeRelationship(Context context,
String pid,
String relationship,
String object,
boolean isLiteral,
String datatype)
Delegate to the JournalWorker.
|
boolean |
JournalCreator.purgeRelationship(Context context,
String pid,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
JournalConsumer.purgeRelationship(Context context,
String pid,
String relationship,
String objURI,
boolean isLiteral,
String datatype)
Reject API calls from outside while we are in recovery mode.
|
String |
Journaler.putTempStream(Context context,
InputStream in)
Delegate to the JournalWorker.
|
String |
JournalCreator.putTempStream(Context context,
InputStream in)
Create a journal entry, add the arguments, and invoke the method.
|
String |
JournalConsumer.putTempStream(Context context,
InputStream in)
Reject API calls from outside while we are in recovery mode.
|
Date |
Journaler.setDatastreamState(Context context,
String pid,
String dsID,
String dsState,
String logMessage)
Delegate to the JournalWorker.
|
Date |
JournalCreator.setDatastreamState(Context context,
String pid,
String dsID,
String dsState,
String logMessage)
Create a journal entry, add the arguments, and invoke the method.
|
Date |
JournalConsumer.setDatastreamState(Context context,
String pid,
String dsID,
String dsState,
String logMessage)
Reject API calls from outside while we are in recovery mode.
|
Date |
Journaler.setDatastreamVersionable(Context context,
String pid,
String dsID,
boolean versionable,
String logMessage)
Delegate to the JournalWorker.
|
Date |
JournalCreator.setDatastreamVersionable(Context context,
String pid,
String dsID,
boolean versionable,
String logMessage)
Create a journal entry, add the arguments, and invoke the method.
|
Date |
JournalConsumer.setDatastreamVersionable(Context context,
String pid,
String dsID,
boolean versionable,
String logMessage)
Reject API calls from outside while we are in recovery mode.
|
Date |
JournalConsumer.setDisseminatorState(Context context,
String pid,
String dsID,
String dsState,
String logMessage)
Reject API calls from outside while we are in recovery mode.
|
Validation |
Journaler.validate(Context context,
String pid,
Date asOfDateTime)
Delegate to the JournalWorker.
|
Validation |
JournalCreator.validate(Context context,
String pid,
Date asOfDateTime)
Let the delegate do it.
|
Validation |
JournalConsumer.validate(Context context,
String pid,
Date asOfDateTime)
Reject API calls from outside while we are in recovery mode.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
CreatorJournalEntry.invokeAndClose(ManagementDelegate delegate,
JournalWriter writer)
A convenience method that invokes the management method and then closes
the JournalEntry, thereby cleaning up any temp files.
|
void |
ConsumerJournalEntry.invokeMethod(ManagementDelegate delegate,
JournalRecoveryLog recoveryLog) |
Object |
CreatorJournalEntry.invokeMethod(ManagementDelegate delegate,
JournalWriter writer)
Process the management method:
Check the operating mode - if we are in
Read-Only mode, this check will
throw an exception.
Prepare the writer in case we need to initialize a new file with a
repository hash.
Invoke the method on the ManagementDelegate.
Write the full journal entry, including any context changes from the
Management method.
These operations occur within a synchronized block. |
| Modifier and Type | Method and Description |
|---|---|
Object |
SetDatastreamVersionableMethod.invoke(ManagementDelegate delegate) |
Object |
SetDatastreamStateMethod.invoke(ManagementDelegate delegate) |
Object |
PutTempStreamMethod.invoke(ManagementDelegate delegate) |
Object |
PurgeRelationshipMethod.invoke(ManagementDelegate delegate) |
Object |
PurgeObjectMethod.invoke(ManagementDelegate delegate) |
Object |
PurgeDatastreamMethod.invoke(ManagementDelegate delegate) |
Object |
ModifyObjectMethod.invoke(ManagementDelegate delegate) |
Object |
ModifyDatastreamByValueMethod.invoke(ManagementDelegate delegate) |
Object |
ModifyDatastreamByReferenceMethod.invoke(ManagementDelegate delegate) |
abstract Object |
ManagementMethod.invoke(ManagementDelegate delegate)
Each concrete sub-class should use this method to pull the necessary
arguments from the map of the parent JournalEntry, call the appropriate
method on the ManagementDelegate, and perhaps store the result in the
context of the parent JournalEntry (depends on the sub-class).
|
Object |
IngestMethod.invoke(ManagementDelegate delegate) |
Object |
GetNextPidMethod.invoke(ManagementDelegate delegate) |
Object |
AddRelationshipMethod.invoke(ManagementDelegate delegate) |
Object |
AddDatastreamMethod.invoke(ManagementDelegate delegate) |
| Modifier and Type | Method and Description |
|---|---|
String |
ManagementModule.addDatastream(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
boolean versionable,
String MIMEType,
String formatURI,
String location,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage) |
String |
Management.addDatastream(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
boolean versionable,
String mimeType,
String formatURI,
String dsLocation,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage) |
String |
DefaultManagement.addDatastream(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
boolean versionable,
String MIMEType,
String formatURI,
String dsLocation,
String controlGroup,
String dsState,
String checksumType,
String checksum,
String logMessage) |
boolean |
ManagementModule.addRelationship(Context context,
String pid,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
Management.addRelationship(Context context,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
DefaultManagement.addRelationship(Context context,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
String |
ManagementModule.compareDatastreamChecksum(Context context,
String pid,
String dsID,
Date asOfDateTime) |
String |
Management.compareDatastreamChecksum(Context context,
String pid,
String dsID,
Date asOfDateTime) |
String |
DefaultManagement.compareDatastreamChecksum(Context context,
String pid,
String datastreamID,
Date versionDate) |
InputStream |
ManagementModule.export(Context context,
String pid,
String format,
String exportContext,
String encoding) |
InputStream |
Management.export(Context context,
String pid,
String format,
String exportContext,
String encoding) |
InputStream |
DefaultManagement.export(Context context,
String pid,
String format,
String exportContext,
String encoding) |
Datastream |
ManagementModule.getDatastream(Context context,
String pid,
String datastreamID,
Date asOfDateTime) |
Datastream |
Management.getDatastream(Context context,
String pid,
String dsID,
Date asOfDateTime) |
Datastream |
DefaultManagement.getDatastream(Context context,
String pid,
String datastreamID,
Date asOfDateTime) |
Datastream[] |
ManagementModule.getDatastreamHistory(Context context,
String pid,
String datastreamID) |
Datastream[] |
Management.getDatastreamHistory(Context context,
String pid,
String dsID) |
Datastream[] |
DefaultManagement.getDatastreamHistory(Context context,
String pid,
String datastreamID) |
Datastream[] |
ManagementModule.getDatastreams(Context context,
String pid,
Date asOfDateTime,
String dsState) |
Datastream[] |
Management.getDatastreams(Context context,
String pid,
Date asOfDateTime,
String dsState) |
Datastream[] |
DefaultManagement.getDatastreams(Context context,
String pid,
Date asOfDateTime,
String state) |
String[] |
ManagementModule.getNextPID(Context context,
int numPIDs,
String namespace) |
String[] |
Management.getNextPID(Context context,
int numPIDs,
String namespace) |
String[] |
DefaultManagement.getNextPID(Context context,
int numPIDs,
String namespace) |
void |
GetNextPIDServlet.getNextPID(Context context,
int numPIDs,
String namespace,
boolean xml,
javax.servlet.http.HttpServletResponse response)
Get the requested list of next Available PIDs by invoking the approriate
method from the Management subsystem.
|
InputStream |
ManagementModule.getObjectXML(Context context,
String pid,
String encoding) |
InputStream |
Management.getObjectXML(Context context,
String pid,
String encoding) |
InputStream |
DefaultManagement.getObjectXML(Context context,
String pid,
String encoding) |
RelationshipTuple[] |
ManagementModule.getRelationships(Context context,
String pid,
String relationship) |
RelationshipTuple[] |
Management.getRelationships(Context context,
String subject,
String relationship) |
RelationshipTuple[] |
DefaultManagement.getRelationships(Context context,
String subject,
String relationship) |
InputStream |
ManagementModule.getTempStream(String id) |
InputStream |
Management.getTempStream(String id) |
String |
ManagementModule.ingest(Context context,
InputStream serialization,
String logMessage,
String format,
String encoding,
String pid) |
String |
Management.ingest(Context context,
InputStream serialization,
String logMessage,
String format,
String encoding,
String pid) |
String |
DefaultManagement.ingest(Context context,
InputStream serialization,
String logMessage,
String format,
String encoding,
String pid) |
Date |
ManagementModule.modifyDatastreamByReference(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate) |
Date |
Management.modifyDatastreamByReference(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate) |
Date |
DefaultManagement.modifyDatastreamByReference(Context context,
String pid,
String datastreamId,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
String dsLocation,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate) |
Date |
ManagementModule.modifyDatastreamByValue(Context context,
String pid,
String datastreamID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
InputStream dsContent,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate) |
Date |
Management.modifyDatastreamByValue(Context context,
String pid,
String dsID,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
InputStream dsContent,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate) |
Date |
DefaultManagement.modifyDatastreamByValue(Context context,
String pid,
String datastreamId,
String[] altIDs,
String dsLabel,
String mimeType,
String formatURI,
InputStream dsContent,
String checksumType,
String checksum,
String logMessage,
Date lastModifiedDate) |
Date[] |
ManagementModule.modifyDatastreamControlGroup(Context context,
String pid,
String dsID,
String controlGroup,
boolean addXMLHeader,
boolean reformat,
boolean setMIMETypeCharset)
Migrate the datastream from one control group to another, returning list of versions migrated.
|
Date[] |
DefaultManagement.modifyDatastreamControlGroup(Context context,
String pid,
String dsID,
String controlGroup,
boolean addXMLHeader,
boolean reformat,
boolean setMIMETypeCharset)
Migrate the datastream from one control group to another, returning list of versions migrated.
|
Date |
ManagementModule.modifyObject(Context context,
String pid,
String state,
String label,
String ownerId,
String logMessage,
Date lastModifiedDate) |
Date |
Management.modifyObject(Context context,
String pid,
String state,
String label,
String ownerID,
String logMessage,
Date lastModifiedDate) |
Date |
DefaultManagement.modifyObject(Context context,
String pid,
String state,
String label,
String ownerId,
String logMessage,
Date lastModifiedDate) |
Date[] |
ManagementModule.purgeDatastream(Context context,
String pid,
String datastreamID,
Date startDT,
Date endDT,
String logMessage) |
Date[] |
Management.purgeDatastream(Context context,
String pid,
String dsID,
Date startDT,
Date endDT,
String logMessage) |
Date[] |
DefaultManagement.purgeDatastream(Context context,
String pid,
String datastreamID,
Date startDT,
Date endDT,
String logMessage) |
Date |
ManagementModule.purgeObject(Context context,
String pid,
String logMessage) |
Date |
Management.purgeObject(Context context,
String pid,
String logMessage) |
Date |
DefaultManagement.purgeObject(Context context,
String pid,
String logMessage) |
boolean |
ManagementModule.purgeRelationship(Context context,
String pid,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
Management.purgeRelationship(Context context,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
DefaultManagement.purgeRelationship(Context context,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
String |
ManagementModule.putTempStream(Context context,
InputStream in) |
String |
Management.putTempStream(Context context,
InputStream in) |
Date |
ManagementModule.setDatastreamState(Context context,
String pid,
String dsID,
String dsState,
String logMessage) |
Date |
Management.setDatastreamState(Context context,
String pid,
String dsID,
String dsState,
String logMessage) |
Date |
DefaultManagement.setDatastreamState(Context context,
String pid,
String datastreamID,
String dsState,
String logMessage) |
Date |
ManagementModule.setDatastreamVersionable(Context context,
String pid,
String dsID,
boolean versionable,
String logMessage) |
Date |
Management.setDatastreamVersionable(Context context,
String pid,
String dsID,
boolean versionable,
String logMessage) |
Date |
DefaultManagement.setDatastreamVersionable(Context context,
String pid,
String datastreamID,
boolean versionable,
String logMessage) |
Validation |
ManagementModule.validate(Context context,
String pid,
Date asOfDateTime) |
Validation |
Management.validate(Context context,
String pid,
Date asOfDateTime) |
Validation |
DefaultManagement.validate(Context context,
String pid,
Date asOfDateTime)
Validate the object against the datacontracts from the objects content model.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
DescribeRepositoryResource.describeRepository(Context context,
boolean xml) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FieldSearchSQLModule.delete(String pid) |
boolean |
FieldSearchSQLImpl.delete(String pid) |
boolean |
FieldSearch.delete(String pid)
Remove an object from the search indexes.
|
FieldSearchResult |
FieldSearchSQLModule.findObjects(String[] resultFields,
int maxResults,
FieldSearchQuery query) |
FieldSearchResult |
FieldSearchSQLImpl.findObjects(String[] resultFields,
int maxResults,
FieldSearchQuery query) |
FieldSearchResult |
FieldSearch.findObjects(String[] resultFields,
int maxResults,
FieldSearchQuery query)
Search across specific fields and return the desired fields.
|
FieldSearchResult |
FieldSearchSQLModule.resumeFindObjects(String sessionToken) |
FieldSearchResult |
FieldSearchSQLImpl.resumeFindObjects(String sessionToken) |
FieldSearchResult |
FieldSearch.resumeFindObjects(String sessionToken)
Resume an in-progress search across specific fields and return the
desired fields.
|
protected void |
FieldSearchResultSQLImpl.step()
Update object with the next chunk of results.
|
void |
FieldSearchSQLModule.update(DOReader reader) |
void |
FieldSearchSQLImpl.update(DOReader reader) |
void |
FieldSearch.update(DOReader reader)
Update the search indexes with information from the provided DOReader.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.xacml.AbstractPolicy |
PolicyLoader.loadObjectPolicy(PolicyParser policyParser,
String pid,
boolean validate) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleDOWriter.addDatastream(Datastream datastream,
boolean addNewVersion)
Adds a datastream to the object.
|
void |
DOWriter.addDatastream(Datastream datastream,
boolean addNewVersion)
Adds a datastream to the object.
|
boolean |
SimpleDOWriter.addRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
DOWriter.addRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
Adds a RDF triple to a reserved datastream (based on the subject)
|
boolean |
SimpleDOWriter.addRelationship(String dsId,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
DOWriter.addRelationship(String dsId,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
Adds a RDF triple to the specified (RDF) datastream
|
void |
SimpleDOWriter.commit(String logMessage)
Saves the changes thus far to the permanent copy of the digital object.
|
void |
DOWriter.commit(String logMessage)
Saves the changes thus far to the permanent copy of the digital object.
|
void |
GSearchDOManager.doCommit(boolean cachedObjectRequired,
Context context,
DigitalObject obj,
String logMessage,
boolean remove)
Commits the changes to the given object as usual, then attempts to
propagate the change to the GSearch service.
|
void |
DefaultDOManager.doCommit(boolean cachedObjectRequired,
Context context,
DigitalObject obj,
String logMessage,
boolean remove)
The doCommit method finalizes an ingest/update/remove of a digital
object.
|
InputStream |
SimpleDOReader.Export(String format,
String exportContext)
Gets the content of the entire digital object as XML, with public URIs as
references to managed content datastreams under the custodianship of the
repository.
|
InputStream |
DOReader.Export(String format,
String exportContext)
Gets the content of the entire digital object as XML, with public URIs as
references to managed content datastreams under the custodianship of the
repository.
|
InputStream |
SimpleDOReader.ExportObject(String format,
String exportContext)
Deprecated.
in Fedora 3.0, use Export instead
|
InputStream |
DOReader.ExportObject(String format,
String exportContext)
Deprecated.
in Fedora 3.0, use Export() instead
|
FieldSearchResult |
DOManager.findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query) |
FieldSearchResult |
DefaultDOManager.findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query) |
MethodDef[] |
ServiceDefinitionReader.getAbstractMethods(Date versDateTime) |
InputStream |
ServiceDefinitionReader.getAbstractMethodsXML(Date versDateTime) |
List<AuditRecord> |
DOReader.getAuditRecords()
Gets the entire list of audit records for the object.
|
List<String> |
SimpleDOReader.getContentModels() |
List<String> |
DOReader.getContentModels()
Gets a list of the content models of the object.
|
Date |
DOReader.getCreateDate()
Gets the date of creation of this object.
|
Datastream |
DOReader.GetDatastream(String datastreamID,
Date versDateTime)
Gets a particular Datastream in the digital object.
|
Datastream |
DOReader.getDatastream(String datastreamID,
String versionID)
Gets a particular datastream in the digital object.
|
Datastream[] |
DOReader.GetDatastreams(Date versDateTime,
String state)
Gets all datastreams as of a certain date and in a certain state.
|
Date[] |
DOReader.getDatastreamVersions(String datastreamID)
Gets the creation dates of all versions of a particular datastream, in no
particular order.
|
MIMETypedStream |
ExternalContentManager.getExternalContent(ContentManagerParams params)
Reads the contents of the specified URL and returns the
result as a MIMETypedStream.
|
DOWriter |
DOManager.getIngestWriter(boolean cachedObjectRequired,
Context context,
InputStream in,
String format,
String encoding,
String pid)
Creates a copy of the digital object given by the InputStream, with
either a new PID or the PID indicated by the InputStream.
|
DOWriter |
DefaultDOManager.getIngestWriter(boolean cachedObjectRequired,
Context context,
InputStream in,
String format,
String encoding,
String pid)
Manages the INGEST process which includes validation of the ingest XML
file, deserialization of the XML into a Digital Object instance, setting
of properties on the object by the system (dates and states), PID
validation or generation, object registry functions, getting a writer for
the digital object, and ultimately writing the object to persistent
storage via the writer.
|
Date |
DOReader.getLastModDate()
Gets the date of the last modification of this object.
|
String[] |
DOManager.getNextPID(int numPIDs,
String namespace) |
String[] |
DefaultDOManager.getNextPID(int numPIDs,
String namespace)
Gets a list of the requested next available PIDs.
|
String[] |
DOReader.getObjectHistory(String PID)
Gets the change history of an object by returning a list of timestamps
that correspond to modification dates of components.
|
String |
DOReader.GetObjectLabel()
Gets the label of the digital object.
|
String |
DOReader.GetObjectPID()
Gets the PID of the digital object.
|
String |
DOReader.GetObjectState()
Gets the state of the digital object.
|
InputStream |
SimpleDOReader.GetObjectXML()
Return the object as an XML input stream in the internal serialization
format.
|
InputStream |
DOReader.GetObjectXML()
Gets the content of the entire digital object as XML.
|
String |
DOReader.getOwnerId()
Gets the userid of the user who owns the objects.
|
DOReader |
RepositoryReader.getReader(boolean cachedObjectRequired,
Context context,
String pid)
Gets a digital object reader.
|
DOReader |
DirectoryBasedRepositoryReader.getReader(boolean UseCachedObject,
Context context,
String pid) |
DOReader |
DefaultDOManager.getReader(boolean cachedObjectRequired,
Context context,
String pid)
Gets a reader on an an existing digital object.
|
Set<RelationshipTuple> |
DOReader.getRelationships()
Get all RELS-EXT and RELS-INT relationships in the object.
|
Set<RelationshipTuple> |
DOReader.getRelationships(org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
Get all matching RELS-EXT relationships in the object, assumes pid is the subject
|
Set<RelationshipTuple> |
DOReader.getRelationships(org.jrdf.graph.SubjectNode subject,
org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
Get all matching RELS-EXT and RELS-INT relationships in the object.
|
String |
DOManager.getRepositoryHash()
Get a "hash" of the repository.
|
String |
DefaultDOManager.getRepositoryHash() |
ServiceDefinitionReader |
RepositoryReader.getServiceDefinitionReader(boolean cachedObjectRequired,
Context context,
String pid) |
ServiceDefinitionReader |
DirectoryBasedRepositoryReader.getServiceDefinitionReader(boolean UseCachedObject,
Context context,
String pid) |
ServiceDefinitionReader |
DefaultDOManager.getServiceDefinitionReader(boolean cachedObjectRequired,
Context context,
String pid)
Gets a reader on an an existing service definition object.
|
ServiceDeploymentReader |
RepositoryReader.getServiceDeploymentReader(boolean cachedObjectRequired,
Context context,
String pid) |
ServiceDeploymentReader |
DirectoryBasedRepositoryReader.getServiceDeploymentReader(boolean UseCachedObject,
Context context,
String pid) |
ServiceDeploymentReader |
DefaultDOManager.getServiceDeploymentReader(boolean cachedObjectRequired,
Context context,
String pid)
Gets a reader on an an existing service deployment object.
|
DeploymentDSBindSpec |
ServiceDeploymentReader.getServiceDSInputSpec(Date versDateTime) |
MethodDefOperationBind[] |
ServiceDeploymentReader.getServiceMethodBindings(Date versDateTime) |
MethodParmDef[] |
SimpleServiceDeploymentReader.getServiceMethodParms(String methodName,
Date versDateTime) |
MethodParmDef[] |
ServiceDeploymentReader.getServiceMethodParms(String methodName,
Date versDateTime) |
MethodDef[] |
ServiceDeploymentReader.getServiceMethods(Date versDateTime) |
InputStream |
ServiceDeploymentReader.getServiceMethodsXML(Date versDateTime) |
DOWriter |
DOManager.getWriter(boolean cachedObjectRequired,
Context context,
String pid)
Gets a DOWriter for an existing digital object.
|
DOWriter |
DefaultDOManager.getWriter(boolean cachedObjectRequired,
Context context,
String pid)
Gets a writer on an an existing object.
|
boolean |
SimpleDOReader.hasContentModel(org.jrdf.graph.ObjectNode contentModel) |
boolean |
DOReader.hasContentModel(org.jrdf.graph.ObjectNode contentModel)
Determins whether or not the object have the given uri as a content model.
|
boolean |
DOReader.hasRelationship(org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
Determine if the object contains the given relationship, assumes pid as the subject.
|
boolean |
DOReader.hasRelationship(org.jrdf.graph.SubjectNode subject,
org.jrdf.graph.PredicateNode predicate,
org.jrdf.graph.ObjectNode object)
Determine if the object contains the given relationship.
|
String[] |
DOReader.ListDatastreamIDs(String state)
Gets a list of Datastream identifiers for all Datastreams in the digital
object.
|
ObjectMethodsDef[] |
SimpleDOReader.listMethods(Date versDateTime)
Gets list of ALL method definitions that are available on a particular
digital object.
|
ObjectMethodsDef[] |
DOReader.listMethods(Date versDateTime)
Gets list of ALL method definitions that are available on a particular
digital object.
|
String[] |
RepositoryReader.listObjectPIDs(Context context)
Gets a list of PIDs (accessible in the given context) of all objects in
the repository.
|
boolean |
SimpleDOWriter.purgeRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
DOWriter.purgeRelationship(String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
Purges a RDF triple from a reserved datastream (based on the subject)
|
boolean |
SimpleDOWriter.purgeRelationship(String dsId,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype) |
boolean |
DOWriter.purgeRelationship(String dsId,
String subject,
String relationship,
String object,
boolean isLiteral,
String datatype)
Purges a RDF triple from the specified (RDF) datastream
|
static Set<RelationshipTuple> |
RDFRelationshipReader.readRelationships(Datastream ds) |
void |
DOManager.releaseWriter(DOWriter writer)
Relinquishes control of a DOWriter back to the DOManager.
|
void |
DOWriter.remove()
Removes the entire digital object.
|
Date[] |
SimpleDOWriter.removeDatastream(String id,
Date start,
Date end)
Removes a datastream from the object.
|
Date[] |
DOWriter.removeDatastream(String id,
Date start,
Date end)
Removes a range of datastream versions from an object without leaving
anything behind.
|
void |
DOManager.reservePIDs(String[] pidList)
Reserve a series of PIDs so that they are never used for subsequent PID
generations.
|
void |
DefaultDOManager.reservePIDs(String[] pidList) |
FieldSearchResult |
DOManager.resumeFindObjects(Context context,
String sessionToken) |
FieldSearchResult |
DefaultDOManager.resumeFindObjects(Context context,
String sessionToken) |
void |
SimpleDOWriter.setDatastreamState(String datastreamID,
String dsState) |
void |
DOWriter.setDatastreamState(String id,
String state)
Sets the state for all versions of the specified datastream.
|
void |
SimpleDOWriter.setDatastreamVersionable(String datastreamID,
boolean versionable) |
void |
DOWriter.setDatastreamVersionable(String id,
boolean versionable)
Sets the indicator as to whether the datastream is subject to versioning.
|
void |
DOWriter.setLabel(String label)
Sets the label of the digital object.
|
void |
DOWriter.setOwnerId(String ownerId)
Sets the ownerId for the digital object.
|
void |
DOWriter.setState(String state)
Sets the state of the entire digital object.
|
| Constructor and Description |
|---|
DirectoryBasedRepositoryReader(File directory,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding)
Initializes the RepositoryReader by looking at all files in the provided
directory and ensuring that they're all serialized digital objects and
that there are no PID conflicts.
|
SimpleDOReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding,
InputStream serializedObject) |
SimpleServiceAwareReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding,
InputStream serializedObject) |
SimpleServiceDefinitionReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding,
InputStream serializedObject) |
SimpleServiceDeploymentReader(Context context,
RepositoryReader repoReader,
DOTranslator translator,
String exportFormat,
String storageFormat,
String encoding,
InputStream serializedObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
DOTranslatorModule.deserialize(InputStream in,
DigitalObject out,
String format,
String encoding,
int transContext)
Deserializes the given stream.
|
void |
DOTranslatorImpl.deserialize(InputStream in,
DigitalObject obj,
String format,
String encoding,
int transContext)
Deserializes the given stream.
|
void |
DOTranslator.deserialize(InputStream in,
DigitalObject obj,
String format,
String encoding,
int transContext)
Deserializes the given stream.
|
void |
DOTranslatorModule.serialize(DigitalObject in,
OutputStream out,
String format,
String encoding,
int transContext)
Serializes the given object.
|
void |
DOTranslatorImpl.serialize(DigitalObject obj,
OutputStream out,
String format,
String encoding,
int transContext)
Serializes the given object.
|
void |
DOTranslator.serialize(DigitalObject obj,
OutputStream out,
String format,
String encoding,
int transContext)
Serializes the given object.
|
| Modifier and Type | Method and Description |
|---|---|
static org.apache.cxf.binding.soap.SoapFault |
CXFUtility.getFault(ServerException se) |
static void |
CXFUtility.throwFault(ServerException se) |
| Modifier and Type | Method and Description |
|---|---|
void |
DOObjectValidatorModule.validate(Context context,
DOReader reader) |
void |
DOObjectValidator.validate(Context context,
DOReader reader)
Validate a digital object wrapped in a DOReader
|
void |
DOValidatorSchematron.validate(File objectAsFile)
Run the Schematron validation on a Fedora object.
|
void |
DOValidatorModule.validate(File objectAsFile,
String format,
int validationType,
String phase)
Validates a digital object.
|
void |
DOValidator.validate(File in,
String format,
int validationLevel,
String phase)
Validates a digital object.
|
void |
DOValidatorSchematron.validate(InputStream objectAsStream)
Run the Schematron validation on a Fedora object.
|
void |
DOValidatorModule.validate(InputStream objectAsStream,
String format,
int validationType,
String phase)
Validates a digital object.
|
void |
DOValidator.validate(InputStream in,
String format,
int validationLevel,
String phase)
Validates a digital object.
|
void |
DOValidatorSchematron.validate(StreamSource objectSource)
Run the Schematron validation on a Fedora object.
|
| Constructor and Description |
|---|
DOValidatorImpl(String tempDir,
Map<String,String> xmlSchemaMap,
String schematronPreprocessorPath,
Map<String,String> ruleSchemaMap)
Constructs a new DOValidatorImpl to support all forms of digital object
validation, using specified values for configuration values.
|
DOValidatorModule(Map<String,String> moduleParameters,
Server server,
String role)
Constructs a new DOValidatorModule
|
| Modifier and Type | Method and Description |
|---|---|
protected Validation |
EcmValidator.doValidate(Context context,
DOReader reader,
Date asOfDateTime,
List<String> contentModels) |
void |
OwlValidator.validate(Context context,
Date asOfDateTime,
DOReader currentObjectReader,
Validation validation)
This is one complex method.
|
void |
EcmValidator.validate(Context context,
DOReader reader) |
void |
DatastreamValidator.validate(Context context,
DOReader currentObjectReader,
Date asOfDateTime,
Validation validation,
ExternalContentManager m_exExternalContentManager) |
Validation |
EcmValidator.validate(Context context,
String pid,
Date asOfDateTime) |
Copyright © 2013 DuraSpace. All Rights Reserved.