|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfedora.server.access.defaultdisseminator.InternalService
fedora.server.access.defaultdisseminator.DefaultDisseminatorImpl
public class DefaultDisseminatorImpl
Title: DefaultDisseminatorImpl.java
Description: Implements the methods defined in the DefaultDisseminator interface. This is the default behavior mechanism that implements the "contract" of the default behavior definition that is dynamically associated with every digital object in the repository. This class is considered an "internal service" that is built in to the Fedora system. Its purpose is to endow every digital object with a set of generic behaviors. It is an implementation of what is known as the Default Disseminator. Unlike other behavior definitions and mechanisms, there is no Behavior Definition Object or Behavior Mechanism Object stored in the repository.
| Constructor Summary | |
|---|---|
DefaultDisseminatorImpl(Context context,
java.util.Date asOfDateTime,
DOReader reader,
Access access,
java.lang.String reposBaseURL,
java.io.File reposHomeDir)
|
|
| Method Summary | |
|---|---|
static MethodDef[] |
reflectMethods()
Method implementation of reflectMethods from the InternalService interface. |
MIMETypedStream |
viewDublinCore()
Returns the Dublin Core record for the object, if one exists. |
MIMETypedStream |
viewItemIndex()
Returns an HTML rendering of the Item Index for the object. |
MIMETypedStream |
viewMethodIndex()
Returns an HTML rendering of the Dissemination Index for the object. |
MIMETypedStream |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDisseminatorImpl(Context context,
java.util.Date asOfDateTime,
DOReader reader,
Access access,
java.lang.String reposBaseURL,
java.io.File reposHomeDir)
throws ServerException
ServerException| Method Detail |
|---|
public MIMETypedStream viewObjectProfile()
throws ServerException
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. The data is returned as HTML in a presentation-oriented format. This is accomplished by doing an XSLT transform on the XML that is obtained from getObjectProfile in API-A.
viewObjectProfile in interface DefaultDisseminatorServerException
public MIMETypedStream viewMethodIndex()
throws ServerException
Returns an HTML rendering of the Dissemination Index for the object. The Dissemination Index is a list of method definitions that represent all disseminations possible on the object. The Dissemination Index is returned as HTML in a presentation-oriented format. This is accomplished by doing an XSLT transform on the XML that is obtained from listMethods in API-A.
viewMethodIndex in interface DefaultDisseminatorServerException
public MIMETypedStream viewItemIndex()
throws ServerException
Returns an HTML rendering of the Item Index for the object. The Item Index is a list of all datastreams in the object. The datastream items can be data or metadata. The Item Index is returned as HTML in a presentation-oriented format. This is accomplished by doing an XSLT transform on the XML that is obtained from listDatastreams in API-A.
viewItemIndex in interface DefaultDisseminatorServerException
public MIMETypedStream viewDublinCore()
throws ServerException
Returns the Dublin Core record for the object, if one exists. The record is returned as HTML in a presentation-oriented format.
viewDublinCore in interface DefaultDisseminatorServerExceptionpublic static MethodDef[] reflectMethods()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||