Package org.ametys.web.repository.page
Class AbstractSitemapElementsDAO
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.web.repository.page.AbstractSitemapElementsDAO
- All Implemented Interfaces:
DeferredServiceable,LogEnabled
- Direct Known Subclasses:
PageDAO,SitemapDAO
public abstract class AbstractSitemapElementsDAO
extends AbstractLogEnabled
implements DeferredServiceable
Abstract DAO for manipulating sitemap element
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected WebContentDAOThe content daoprotected ContentHelperThe content helper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_sitemapElement2json(SitemapElement sitemapElement, String zoneName, String zoneItemId) Sitemap Element of type container to jsonvoiddeferredService(ServiceManager manager) Pass theServiceManagerused to access other components.Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_contentHelper
The content helper -
_contentDAO
The content dao
-
-
Constructor Details
-
AbstractSitemapElementsDAO
public AbstractSitemapElementsDAO()
-
-
Method Details
-
deferredService
Description copied from interface:DeferredServiceablePass theServiceManagerused to access other components.- Specified by:
deferredServicein interfaceDeferredServiceable- Parameters:
manager- TheServiceManagerwhich thisDeferredServiceableuses. Must not benull.- Throws:
ServiceException- if an error occurs
-
_sitemapElement2json
protected Map<String,Object> _sitemapElement2json(SitemapElement sitemapElement, String zoneName, String zoneItemId) Sitemap Element of type container to json- Parameters:
sitemapElement- The pagezoneName- The zone namezoneItemId- The zone items id- Returns:
- The properties of the container
-