Class CatalogDAO
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.odf.catalog.CatalogDAO
org.ametys.plugins.odfweb.catalog.CatalogDAO
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
DAO for ODF catalog.
Override
Catalog
to handle web specificities.-
Field Summary
Fields inherited from class org.ametys.odf.catalog.CatalogDAO
_catalogsManager, _currentUserProvider, _i18nUtils, _resolver, _scheduler, ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionremoveCatalog
(String id) Removes an ODF catalog.void
service
(ServiceManager smanager) Methods inherited from class org.ametys.odf.catalog.CatalogDAO
createCatalog, editCatalog, getCatalogProperties, getCatalogProperties, getCatalogsProperties, setDefaultCatalog
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
CatalogDAO
public CatalogDAO()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classCatalogDAO
- Throws:
ServiceException
-
removeCatalog
Description copied from class:CatalogDAO
Removes an ODF catalog.- Overrides:
removeCatalog
in classCatalogDAO
- Parameters:
id
- The id of the catalog to remove- Returns:
- The id of the deleted catalog, or an error
-