public class RestoreNodeRuleTrigger extends RuleTriggerAbstractBase implements NodeServicePolicies.OnRestoreNodePolicy
Policy.Arg
authenticationComponent, contentService, dictionaryService, executeRuleImmediately, nodeService, policyComponent, ruleService
QNAME
RULE_TRIGGER_NEW_NODES, RULE_TRIGGER_RENAMED_NODES
Constructor and Description |
---|
RestoreNodeRuleTrigger() |
Modifier and Type | Method and Description |
---|---|
void |
onRestoreNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
Called after an archived node is restored.
|
void |
registerRuleTrigger()
Register the rule trigger
|
areRulesEnabled, getIgnoredAspects, getIgnoredTypes, ignoreTrigger, registerRuleType, setAuthenticationComponent, setContentService, setDictionaryService, setExecuteRuleImmediately, setIgnoredAspectsStr, setIgnoredTypeStr, setNodeService, setPolicyComponent, setRuleService, triggerRules
public void onRestoreNode(org.alfresco.service.cmr.repository.ChildAssociationRef childAssocRef)
NodeServicePolicies.OnRestoreNodePolicy
onRestoreNode
in interface NodeServicePolicies.OnRestoreNodePolicy
childAssocRef
- the newly created child association referencepublic void registerRuleTrigger()
RuleTrigger
registerRuleTrigger
in interface RuleTrigger
RuleTrigger.registerRuleTrigger()
Copyright © 2005–2017 Alfresco Software. All rights reserved.