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:
LogEnabled
,Serviceable
- Direct Known Subclasses:
PageDAO
,SitemapDAO
Abstract DAO for manipulating sitemap element
-
Field Summary
Modifier and TypeFieldDescriptionprotected WebContentDAO
The content daoprotected ContentHelper
The content helper -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription_sitemapElement2json
(SitemapElement sitemapElement, String zoneName, String zoneItemId) Sitemap Element of type container to jsonvoid
service
(ServiceManager manager) 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
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
_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
-