Package org.alfresco.repo.node
Class DownloadNotifierServiceImpl
- java.lang.Object
-
- org.alfresco.repo.node.DownloadNotifierServiceImpl
-
- All Implemented Interfaces:
DownloadNotifierService
public class DownloadNotifierServiceImpl extends java.lang.Object implements DownloadNotifierService
Download Notifier Service.- Author:
- Chris Shields, Sara Aspery
-
-
Constructor Summary
Constructors Constructor Description DownloadNotifierServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddownloadNotify(org.alfresco.service.cmr.repository.NodeRef nodeRef)Notification of a node download.protected java.util.Set<org.alfresco.service.namespace.QName>getTypeAndAspectQNames(org.alfresco.service.cmr.repository.NodeRef nodeRef)Get all aspect and node type qualified namesvoidinit()Registers the node policies as well as node indexing behaviourvoidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)voidsetPolicyComponent(PolicyComponent policyComponent)voidsetPolicyIgnoreUtil(PolicyIgnoreUtil policyIgnoreUtil)
-
-
-
Method Detail
-
init
public void init()
Registers the node policies as well as node indexing behaviour
-
downloadNotify
public void downloadNotify(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Description copied from interface:DownloadNotifierServiceNotification of a node download.- Specified by:
downloadNotifyin interfaceDownloadNotifierService- Parameters:
nodeRef- The reference to the downloaded node. This can be a reference to a zip download node.- See Also:
DownloadNotifierService.downloadNotify(NodeRef)
-
getTypeAndAspectQNames
protected java.util.Set<org.alfresco.service.namespace.QName> getTypeAndAspectQNames(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Get all aspect and node type qualified names- Parameters:
nodeRef- the node we are interested in- Returns:
- Returns a set of qualified names containing the node type and all the node aspects, or null if the node no longer exists
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
-
setPolicyComponent
public void setPolicyComponent(PolicyComponent policyComponent)
-
setPolicyIgnoreUtil
public void setPolicyIgnoreUtil(PolicyIgnoreUtil policyIgnoreUtil)
-
-