Package org.n52.iceland.i18n
Interface I18NDAO<T extends AbstractI18NMetadata>
-
- All Superinterfaces:
Component<I18NDAOKey>,Keyed<I18NDAOKey>
public interface I18NDAO<T extends AbstractI18NMetadata> extends Component<I18NDAOKey>
Interface for the I18N DAOs- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Locale>getAvailableLocales()Collection<T>getMetadata()TgetMetadata(String id)TgetMetadata(String id, Locale locale)Collection<T>getMetadata(Collection<String> id)Collection<T>getMetadata(Collection<String> id, Locale locale)booleanisSupported()voidsaveMetadata(T i18n)
-
-
-
Method Detail
-
isSupported
boolean isSupported()
-
getMetadata
T getMetadata(String id) throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
getMetadata
T getMetadata(String id, Locale locale) throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
getMetadata
Collection<T> getMetadata() throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
getMetadata
Collection<T> getMetadata(Collection<String> id) throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
getMetadata
Collection<T> getMetadata(Collection<String> id, Locale locale) throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
saveMetadata
void saveMetadata(T i18n) throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
getAvailableLocales
Collection<Locale> getAvailableLocales() throws OwsExceptionReport
- Throws:
OwsExceptionReport
-
-