public class ExplorerResourcesDAO extends ExplorerResourcesDAO
ExplorerResourcesDAO to content attachments._cocoonContext, _context, _currentUserProvider, _explorerApplicationEP, _i18nUtils, _metadataPopulatorEP, _observationManager, _resolver, _rightManager, _threadDAO, _tikaProvider, _userHelper, RIGHTS_COLLECTION_ADD, RIGHTS_COLLECTION_DELETE, RIGHTS_COLLECTION_EDIT, RIGHTS_RESOURCE_ADD, RIGHTS_RESOURCE_COMMENT, RIGHTS_RESOURCE_DELETE, RIGHTS_RESOURCE_EDIT_DC, RIGHTS_RESOURCE_MODERATE_COMMENT, RIGHTS_RESOURCE_RENAME, RIGHTS_RESOURCE_UNLOCK_ALL, ROLE| Constructor and Description |
|---|
ExplorerResourcesDAO() |
| Modifier and Type | Method and Description |
|---|---|
protected Content |
_getParentContent(AmetysObject ao)
Get the parent content of a resource or collection
|
Map<String,Object> |
getExplorerNodeProperties(ExplorerNode node)
Get the explorer node properties
|
Map<String,Object> |
getResourceProperties(Resource resource)
Get the resource properties
|
protected Set<String> |
getUserRights(ExplorerNode node)
Get the user rights on the resource collection
|
_canAddComment, _canDeleteComment, _canEditComment, _getComment, _getCommentForEditing, _setComment, addCMISCollection, addComment, addResourceCollection, addResourceCollection, checkLock, checkpoint, checkUserRight, contextualize, copyResource, copyResource, createResource, deleteComment, deleteObject, deleteObject, editCMISCollection, editComment, extractResourceMetadata, filterResourcesByRegExp, getCMISProperties, getComment, getComments, getDCMetadata, getDefaultInfoAsRootNode, getDefaultInfoAsRootNode, getNodesInfo, getResourceCollectionType, getResourcesRootNodes, getRootNodesInfo, getUserRight, hasRight, isCMISCollection, moveObject, moveObject, renameObject, renameObject, renameResource, renameResource, resourceExists, resourceExists, resourceHistory, restoreResource, service, setDCMetadata, setDCMetadata, updateResourcegetLogger, setLoggerpublic ExplorerResourcesDAO()
public Map<String,Object> getResourceProperties(Resource resource)
ExplorerResourcesDAOgetResourceProperties in class ExplorerResourcesDAOresource - The resourcespublic Map<String,Object> getExplorerNodeProperties(ExplorerNode node)
ExplorerResourcesDAOgetExplorerNodeProperties in class ExplorerResourcesDAOnode - The explorer nodeprotected Set<String> getUserRights(ExplorerNode node)
ExplorerResourcesDAOgetUserRights in class ExplorerResourcesDAOnode - The explorer nodeprotected Content _getParentContent(AmetysObject ao)
ao - The resource or collection