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 Modifier and Type Field Description protected AmetysObjectResolver
_resolver
The Ametys object resolver
-
Constructor Summary
Constructors Constructor Description AbstractOaiSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
I18nizableText
getDescription()
Return the description of the setI18nizableText
getName()
Return the name of the setvoid
service(ServiceManager manager)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.odf.oai.OaiSet
getRecords
-
-
-
-
Field Detail
-
_resolver
protected AmetysObjectResolver _resolver
The Ametys object resolver
-
-
Constructor Detail
-
AbstractOaiSet
public AbstractOaiSet()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getName
public I18nizableText getName()
Description copied from interface:OaiSet
Return the name of the set
-
getDescription
public I18nizableText getDescription()
Description copied from interface:OaiSet
Return the description of the set- Specified by:
getDescription
in interfaceOaiSet
- Returns:
- The description of the set, or null if there is no description.
-
-