public class WebContentDAO extends ContentDAO
ContentDAO.TagMode
Modifier and Type | Field and Description |
---|---|
protected SharedContentManager |
_sharedContentManager
The manager for shared contents
|
protected SitemapDAO |
_sitemapDAO
The sitemap DAO
|
static String |
ROLE
Avalon Role
|
_contentHelper, _contentTypeEP, _contentWorkflowHelper, _context, _cTypesHelper, _currentUserProvider, _lockManager, _observationManager, _resolver, _rightManager, _tagProvider, _userHelper, _usersManager, _workflowProvider
Constructor and Description |
---|
WebContentDAO() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
_getEventParametersForDeletion(Content content)
Get parameters for content deleted
Event |
protected boolean |
_isContentReferenced(Content content)
Test if content is still referenced before removing it
|
Map<String,Object> |
getContentProperties(Content content)
Get the content properties
|
List<Map<String,Object>> |
getReferencingPages(String contentId)
Returns the referencing pages of a content
|
void |
service(ServiceManager smanager) |
_isTagValid, _notifyContentCopied, canDelete, contextualize, copy, copy, copy, deleteContents, deleteContents, getAttachmentsRootNode, getContentDescription, getContentDescription, getContentMetadataSets, getContentProperties, getContentsProperties, getTags, getUserRights, tag, tag
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected SharedContentManager _sharedContentManager
protected SitemapDAO _sitemapDAO
public WebContentDAO()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class ContentDAO
ServiceException
public List<Map<String,Object>> getReferencingPages(String contentId)
contentId
- The content's idpublic Map<String,Object> getContentProperties(Content content)
ContentDAO
getContentProperties
in class ContentDAO
content
- The contentprotected boolean _isContentReferenced(Content content)
ContentDAO
_isContentReferenced
in class ContentDAO
content
- The content to removeprotected Map<String,Object> _getEventParametersForDeletion(Content content)
ContentDAO
Event
_getEventParametersForDeletion
in class ContentDAO
content
- the removed content