public class SurfConfigCleaner extends ADMRemoteStore implements NodeServicePolicies.BeforeDeleteNodePolicy
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
Policy.Arg
contentService, fileFolderService, hiddenAspect, namespaceService, nodeService, ownableService, permissionService, siteService, unprotNodeService
defaultStore, mimetypeService, REQUEST_PARAM_STORE, TOKEN_STORE, transformer, TRANSFORMER_FACTORY
QNAME
Constructor and Description |
---|
SurfConfigCleaner() |
Modifier and Type | Method and Description |
---|---|
void |
beforeDeleteNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
Called before a node is deleted.
|
void |
init() |
void |
setPolicyComponent(PolicyComponent policyComponent) |
buildUserConfigSearchPattern, createDocument, createDocuments, deleteDocument, getDocument, getFileNodes, getGlobalComponentsNodeRef, getGlobalUserFolderNodeRef, getPathRunAsUser, getSurfConfigNodeRef, hasDocument, lastModified, listDocuments, listDocuments, setBehaviourFilter, setContentService, setFileFolderService, setHiddenAspect, setNamespaceService, setNodeService, setOwnableService, setPermissionService, setSiteService, setUnprotectedNodeService, updateDocument, writeDocument
encodePath, execute, getPathParts, setMimetypeService, setStore
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
public void init()
public void beforeDeleteNode(org.alfresco.service.cmr.repository.NodeRef nodeRef)
NodeServicePolicies.BeforeDeleteNodePolicy
beforeDeleteNode
in interface NodeServicePolicies.BeforeDeleteNodePolicy
nodeRef
- the node referencepublic void setPolicyComponent(PolicyComponent policyComponent)
Copyright © 2005–2017 Alfresco Software. All rights reserved.