Package org.ametys.odf.oai
Class AbstractOaiSet
java.lang.Object
org.ametys.odf.oai.AbstractOaiSet
- All Implemented Interfaces:
OaiSet,Component,Configurable,Serviceable
public abstract class AbstractOaiSet
extends Object
implements OaiSet, Configurable, Component, Serviceable
Abstract implementation of a OAI-PMH set with a configurable name and description
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) Return the description of the setgetName()Return the name of the setvoidservice(ServiceManager manager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ametys.odf.oai.OaiSet
getRecords
-
Field Details
-
_resolver
The Ametys object resolver
-
-
Constructor Details
-
AbstractOaiSet
public AbstractOaiSet()
-
-
Method Details
-
service
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
configure
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
getName
Description copied from interface:OaiSetReturn the name of the set -
getDescription
Description copied from interface:OaiSetReturn the description of the set- Specified by:
getDescriptionin interfaceOaiSet- Returns:
- The description of the set, or null if there is no description.
-