|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fcrepo.server.access.DynamicAccessImpl
public class DynamicAccessImpl
The implementation of the Dynamic Access module.
The Dynamic Access module will associate dynamic disseminators with a digital object. It will look to the Fedora repository configuration file to obtain a list of dynamic disseminators. Currently, the system supports two types of dynamic disseminators: - Default (SDefPID=fedora-system:3 and SDepPID=fedora-system:4) - Bootstrap (SDefPID=fedora-system:1 and SDepPID=fedora-system:2). The Default disseminator that is associated with every object in the repository. The Default Disseminator endows the objects with a set of basic generic behaviors that enable a simplistic view of the object contents (the Item Index) and a list of all disseminations available on the object (the Dissemination Index). The Bootstrap disseminator is associated with every Service Definition and Service Deployment object. It defines methods to get the special metadata datastreams out of them, and some other methods. (NOTE: The Bootstrap Disseminator functionality is NOT YET IMPLEMENTED.
| Constructor Summary | |
|---|---|
DynamicAccessImpl(Access m_access,
File reposHomeDir,
Hashtable dynamicSDefToDep)
|
|
| Method Summary | |
|---|---|
RepositoryInfo |
describeRepository(Context context)
|
FieldSearchResult |
findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query)
|
MIMETypedStream |
getDatastreamDissemination(Context context,
String PID,
String dsID,
Date asOfDateTime)
|
MIMETypedStream |
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. |
MethodDef[] |
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 |
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[] |
getObjectHistory(Context context,
String PID)
|
ObjectProfile |
getObjectProfile(Context context,
String PID,
Date asOfDateTime)
Get the profile information for the digital object. |
String[] |
getServiceDefinitions(Context context,
String PID,
Date asOfDateTime)
Get a list of Service Definition identifiers for dynamic disseminators associated with the digital object. |
boolean |
isDynamicDeployment(Context context,
String PID,
String sDefPID)
|
DatastreamDef[] |
listDatastreams(Context context,
String PID,
Date asOfDateTime)
|
ObjectMethodsDef[] |
listMethods(Context context,
String PID,
Date asOfDateTime)
Get the definitions for all dynamic disseminations on the object. |
FieldSearchResult |
resumeFindObjects(Context context,
String sessionToken)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicAccessImpl(Access m_access,
File reposHomeDir,
Hashtable dynamicSDefToDep)
| Method Detail |
|---|
public String[] getServiceDefinitions(Context context,
String PID,
Date asOfDateTime)
throws ServerException
context - PID - identifier of digital object being reflected uponasOfDateTime -
ServerException
public MethodDef[] getMethods(Context context,
String PID,
String sDefPID,
Date asOfDateTime)
throws ServerException
context - PID - identifier of digital object being reflected uponsDefPID - identifier of dynamic Service DefinitionasOfDateTime -
ServerException
public MIMETypedStream getMethodsXML(Context context,
String PID,
String sDefPID,
Date asOfDateTime)
throws ServerException
context - PID - identifier of digital object being reflected uponsDefPID - identifier of dynamic Service DefinitionasOfDateTime -
ServerException
public MIMETypedStream getDissemination(Context context,
String PID,
String sDefPID,
String methodName,
Property[] userParms,
Date asOfDateTime,
DOReader reader)
throws ServerException
context - PID - identifier of the digital object being disseminatedsDefPID - identifier of dynamic Service DefinitionmethodName - userParms - asOfDateTime -
ServerException
public ObjectMethodsDef[] listMethods(Context context,
String PID,
Date asOfDateTime)
throws ServerException
context - PID - identifier of digital object being reflected uponasOfDateTime -
ServerException
public ObjectProfile getObjectProfile(Context context,
String PID,
Date asOfDateTime)
throws ServerException
context - PID - identifier of digital object being reflected uponasOfDateTime -
ServerException
public FieldSearchResult findObjects(Context context,
String[] resultFields,
int maxResults,
FieldSearchQuery query)
throws ServerException
ServerException
public FieldSearchResult resumeFindObjects(Context context,
String sessionToken)
throws ServerException
ServerException
public RepositoryInfo describeRepository(Context context)
throws ServerException
ServerException
public String[] getObjectHistory(Context context,
String PID)
throws ServerException
ServerException
public boolean isDynamicDeployment(Context context,
String PID,
String sDefPID)
throws ServerException
ServerException
public MIMETypedStream getDatastreamDissemination(Context context,
String PID,
String dsID,
Date asOfDateTime)
throws ServerException
ServerException
public DatastreamDef[] listDatastreams(Context context,
String PID,
Date asOfDateTime)
throws ServerException
ServerException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||