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 WebContentDAO
The content daoprotected ContentHelper
The content helper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_sitemapElement2json
(SitemapElement sitemapElement, String zoneName, String zoneItemId) Sitemap Element of type container to jsonvoid
deferredService
(ServiceManager manager) Pass theServiceManager
used 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:DeferredServiceable
Pass theServiceManager
used to access other components.- Specified by:
deferredService
in interfaceDeferredServiceable
- Parameters:
manager
- TheServiceManager
which thisDeferredServiceable
uses. 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
-