|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Title: Access.java
Description: Defines the Fedora Access subsystem interface.
| Method Summary | |
RepositoryInfo |
describeRepository(Context context)
Gets information that describes the repository. |
FieldSearchResult |
findObjects(Context context,
java.lang.String[] resultFields,
int maxResults,
FieldSearchQuery query)
Lists the specified fields of each object matching the given criteria. |
MIMETypedStream |
getDatastreamDissemination(Context context,
java.lang.String PID,
java.lang.String dsID,
java.util.Date asOfDateTime)
|
MIMETypedStream |
getDissemination(Context context,
java.lang.String PID,
java.lang.String bDefPID,
java.lang.String methodName,
Property[] userParms,
java.util.Date asOfDateTime)
Disseminates the content produced by executing the specified method of the associated Behavior Mechanism object of the specified digital object. |
java.lang.String[] |
getObjectHistory(Context context,
java.lang.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,
java.lang.String PID,
java.util.Date asOfDateTime)
Gets object profile |
DatastreamDef[] |
listDatastreams(Context context,
java.lang.String PID,
java.util.Date asOfDateTime)
|
ObjectMethodsDef[] |
listMethods(Context context,
java.lang.String PID,
java.util.Date asOfDateTime)
Gets a list of all Behavior Definition object PIDs and method names associated with the specified digital object. |
FieldSearchResult |
resumeFindObjects(Context context,
java.lang.String sessionToken)
Resumes an in-progress listing of object fields. |
| Method Detail |
public MIMETypedStream getDatastreamDissemination(Context context,
java.lang.String PID,
java.lang.String dsID,
java.util.Date asOfDateTime)
throws ServerException
ServerException
public MIMETypedStream getDissemination(Context context,
java.lang.String PID,
java.lang.String bDefPID,
java.lang.String methodName,
Property[] userParms,
java.util.Date asOfDateTime)
throws ServerException
Disseminates the content produced by executing the specified method of the associated Behavior Mechanism object of the specified digital object.
context - The context of this request.PID - The persistent identifier of the digital object.bDefPID - The persistent identifier of the Behavior 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.
public ObjectProfile getObjectProfile(Context context,
java.lang.String PID,
java.util.Date asOfDateTime)
throws ServerException
Gets object profile
context - The context of this request.PID - The persistent identifier of the digital objectasOfDateTime - The versioning datetime stamp
ServerException - If any type of error occurred fulfilling the
request.
public ObjectMethodsDef[] listMethods(Context context,
java.lang.String PID,
java.util.Date asOfDateTime)
throws ServerException
Gets a list of all Behavior Definition object PIDs and method names associated with the specified digital object.
context - The context of this request.PID - The persistent identifier of the digital objectasOfDateTime - The versioning datetime stamp
ServerException - If any type of error occurred fulfilling the
request.
public DatastreamDef[] listDatastreams(Context context,
java.lang.String PID,
java.util.Date asOfDateTime)
throws ServerException
ServerException
public FieldSearchResult findObjects(Context context,
java.lang.String[] resultFields,
int maxResults,
FieldSearchQuery query)
throws ServerException
Lists the specified fields of each object matching the given criteria.
context - the context of this requestresultFields - the names of the fields to returnmaxResults - the maximum number of results to return at a timequery - the query
ServerException - If any type of error occurred fulfilling the
request.
public FieldSearchResult resumeFindObjects(Context context,
java.lang.String sessionToken)
throws ServerException
Resumes an in-progress listing of object fields.
context - the context of this requestsessionToken - the token of the session in which the remaining
results can be obtained
ServerException - If any type of error occurred fulfilling the
request.
public RepositoryInfo describeRepository(Context context)
throws ServerException
Gets information that describes the repository.
context - the context of this request
ServerException - If any type of error occurred fulfilling the
request.
public java.lang.String[] getObjectHistory(Context context,
java.lang.String PID)
throws ServerException
Gets the change history of an object by returning a list of timestamps that correspond to modification dates of components. This currently includes changes to datastreams and disseminators.
context - The context of this request.PID - The persistent identifier of the digitla object.
ServerException - If any type of error occurred fulfilling the
request.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||