public class CatalogDAO extends CatalogDAO
Catalog
to handle web specificities.Modifier and Type | Field and Description |
---|---|
private OdfPageHandler |
_odfPageHandler |
_catalogsManager, _context, _currentUserProvider, _manager, _resolver, _userManager, ROLE
Constructor and Description |
---|
CatalogDAO() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
generatePDF(String name,
Map<String,Object> contextualParams)
Generates the PDF of this catalog.
|
Map<String,Object> |
removeCatalog(String id)
Removes an ODF catalog.
|
void |
service(ServiceManager smanager) |
contextualize, createCatalog, editCatalog, getCatalogProperties, getCatalogProperties, getCatalogsProperties, setDefaultCatalog
private OdfPageHandler _odfPageHandler
public CatalogDAO()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class CatalogDAO
ServiceException
public Map<String,Object> removeCatalog(String id)
CatalogDAO
removeCatalog
in class CatalogDAO
id
- The id of the catalog to removepublic Map<String,Object> generatePDF(String name, Map<String,Object> contextualParams)
generatePDF
in class CatalogDAO
name
- The name (code) of the catalog to exportcontextualParams
- The contextual parameters