public class HierarchicalReferenceTablesDeleteContentDAO extends ContentDAO
ContentDAO.TagMode
Modifier and Type | Field and Description |
---|---|
private static String |
__REQUEST_ATTRIBUTE_CONTENT_IDS |
protected HierarchicalReferenceTablesHelper |
_hierarchicalReferenceTablesHelper
The helper component for hierarchical reference tables
|
_contentHelper, _contentTypeEP, _contentWorkflowHelper, _context, _cTypesHelper, _currentUserProvider, _hierarchicalSimpleContentsHelper, _lockManager, _modifiableContentHelper, _observationManager, _resolver, _rightManager, _tagProvider, _userHelper, _usersManager, _workflowProvider, ROLE
Constructor and Description |
---|
HierarchicalReferenceTablesDeleteContentDAO() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
_isContentReferenced(Content content)
Test if content is still referenced by a content other than a child or its parent before removing it
|
Map<String,Object> |
deleteContents(List<String> contentsId)
Delete contents
|
void |
service(ServiceManager manager) |
_copyACL, _getEventParametersForDeletion, _isTagValid, _notifyContentCopied, canDelete, contextualize, copy, copy, copy, deleteContents, getAttachmentsRootNode, getContentDescription, getContentDescription, getContentMetadataSets, getContentProperties, getContentProperties, getContentsProperties, getTags, getUserRights, react, react, tag, tag, unreact
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
private static final String __REQUEST_ATTRIBUTE_CONTENT_IDS
protected HierarchicalReferenceTablesHelper _hierarchicalReferenceTablesHelper
public HierarchicalReferenceTablesDeleteContentDAO()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
service
in class ContentDAO
ServiceException
public Map<String,Object> deleteContents(List<String> contentsId)
ContentDAO
deleteContents
in class ContentDAO
contentsId
- The ids of contents to deleteprotected boolean _isContentReferenced(Content content)
_isContentReferenced
in class ContentDAO
content
- The content to remove