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 private I18nizableText_descriptionprivate I18nizableText_nameprotected AmetysObjectResolver_resolverThe Ametys object resolver
-
Constructor Summary
Constructors Constructor Description AbstractOaiSet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private I18nizableText_getI18nizableConfiguration(Configuration configuration, String configurationName, String defaultValue)voidconfigure(Configuration configuration)I18nizableTextgetDescription()Return the description of the setI18nizableTextgetName()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, wait
-
Methods inherited from interface org.ametys.odf.oai.OaiSet
getRecords
-
-
-
-
Field Detail
-
_resolver
protected AmetysObjectResolver _resolver
The Ametys object resolver
-
_name
private I18nizableText _name
-
_description
private I18nizableText _description
-
-
Constructor Detail
-
AbstractOaiSet
public AbstractOaiSet()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
_getI18nizableConfiguration
private I18nizableText _getI18nizableConfiguration(Configuration configuration, String configurationName, String defaultValue)
-
getName
public I18nizableText getName()
Description copied from interface:OaiSetReturn the name of the set
-
getDescription
public I18nizableText 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.
-
-