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, _hierarchicalSimpleContentsHelper, _lockManager, _modifiableContentHelper, _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 | 
private boolean | 
_hasReferencingPages(Content content)  | 
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)  | 
_copyACL, _isTagValid, _notifyContentCopied, canDelete, contextualize, copy, copy, copy, deleteContents, deleteContents, getAttachmentsRootNode, getContentDescription, getContentDescription, getContentMetadataSets, getContentProperties, getContentsProperties, getTags, getUserRights, react, react, tag, tag, unreactenableLogging, getLogger, setupLogger, setupLogger, setupLoggerprotected SharedContentManager _sharedContentManager
protected SitemapDAO _sitemapDAO
public WebContentDAO()
public void service(ServiceManager smanager) throws ServiceException
service in interface Serviceableservice in class ContentDAOServiceExceptionpublic List<Map<String,Object>> getReferencingPages(String contentId)
contentId - The content's idpublic Map<String,Object> getContentProperties(Content content)
ContentDAOgetContentProperties in class ContentDAOcontent - The contentprivate boolean _hasReferencingPages(Content content)
protected boolean _isContentReferenced(Content content)
ContentDAO_isContentReferenced in class ContentDAOcontent - The content to removeprotected Map<String,Object> _getEventParametersForDeletion(Content content)
ContentDAOEvent_getEventParametersForDeletion in class ContentDAOcontent - the removed content