public interface Access
| Modifier and Type | Method and Description |
|---|---|
RepositoryInfo |
describeRepository(Context context)
Gets information that describes the repository.
|
FieldSearchResult |
findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query)
Lists the specified fields of each object matching the given criteria.
|
MIMETypedStream |
getDatastreamDissemination(Context context,
String pid,
String dsID,
Date asOfDateTime) |
MIMETypedStream |
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.
|
String[] |
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.
|
ObjectProfile |
getObjectProfile(Context context,
String pid,
Date asOfDateTime)
Gets object profile
|
DatastreamDef[] |
listDatastreams(Context context,
String pid,
Date asOfDateTime) |
ObjectMethodsDef[] |
listMethods(Context context,
String pid,
Date asOfDateTime) |
FieldSearchResult |
resumeFindObjects(Context context,
String sessionToken)
Resumes an in-progress listing of object fields.
|
MIMETypedStream getDatastreamDissemination(Context context, String pid, String dsID, Date asOfDateTime) throws ServerException
ServerExceptionMIMETypedStream getDissemination(Context context, String pid, String sDefPID, String methodName, Property[] userParms, Date asOfDateTime) throws ServerException
context - The context of this request.PID - The persistent identifier of the digital object.sDefPID - The persistent identifier of the Service Definition object.methodName - The name of the method to be executed.userParms - An array of user-supplied method parameters consisting of
name/value pairs.asOfDateTime - The versioning datetime stamp.ServerException - If any type of error occurred fulfilling the request.ObjectProfile getObjectProfile(Context context, String pid, Date asOfDateTime) throws ServerException
context - The context of this request.PID - The persistent identifier of the digital objectasOfDateTime - The versioning datetime stampServerException - If any type of error occurred fulfilling the request.ObjectMethodsDef[] listMethods(Context context, String pid, Date asOfDateTime) throws ServerException
ServerExceptionDatastreamDef[] listDatastreams(Context context, String pid, Date asOfDateTime) throws ServerException
ServerExceptionFieldSearchResult findObjects(Context context, String[] resultFields, int maxResults, FieldSearchQuery query) throws ServerException
context - the context of this requestresultFields - the names of the fields to returnmaxResults - the maximum number of results to return at a timequery - the queryServerException - If any type of error occurred fulfilling the request.FieldSearchResult resumeFindObjects(Context context, String sessionToken) throws ServerException
context - the context of this requestsessionToken - the token of the session in which the remaining results can be
obtainedServerException - If any type of error occurred fulfilling the request.RepositoryInfo describeRepository(Context context) throws ServerException
context - the context of this requestServerException - If any type of error occurred fulfilling the request.String[] getObjectHistory(Context context, String pid) throws ServerException
context - The context of this request.PID - The persistent identifier of the digitla object.ServerException - If any type of error occurred fulfilling the request.Copyright © 2013 DuraSpace. All Rights Reserved.