|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.rule.ruletrigger.RuleTriggerAbstractBase
org.alfresco.repo.rule.ruletrigger.OnPropertyUpdateRuleTrigger
public class OnPropertyUpdateRuleTrigger
On propety update trigger
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.alfresco.repo.policy.Policy |
---|
Policy.Arg |
Field Summary |
---|
Fields inherited from class org.alfresco.repo.rule.ruletrigger.RuleTriggerAbstractBase |
---|
authenticationComponent, contentService, dictionaryService, executeRuleImmediately, nodeService, policyComponent |
Fields inherited from interface org.alfresco.repo.node.NodeServicePolicies.OnUpdatePropertiesPolicy |
---|
ARG_0, ARG_1, ARG_2, QNAME |
Fields inherited from interface org.alfresco.repo.policy.Policy |
---|
NAMESPACE |
Fields inherited from interface org.alfresco.repo.rule.ruletrigger.RuleTrigger |
---|
RULE_TRIGGER_NEW_NODES, RULE_TRIGGER_RENAMED_NODES |
Constructor Summary | |
---|---|
OnPropertyUpdateRuleTrigger()
|
Method Summary | |
---|---|
void |
onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef,
java.util.Map before,
java.util.Map after)
Triggers rules if properties have been updated |
void |
registerRuleTrigger()
Register the rule trigger |
void |
setTriggerParentRules(boolean triggerParentRules)
Indicates whether the parent rules should be triggered or the rules on the node itself |
Methods inherited from class org.alfresco.repo.rule.ruletrigger.RuleTriggerAbstractBase |
---|
registerRuleType, setAuthenticationComponent, setContentService, setDictionaryService, setExecuteRuleImmediately, setNodeService, setPolicyComponent, triggerRules |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnPropertyUpdateRuleTrigger()
Method Detail |
---|
public void setTriggerParentRules(boolean triggerParentRules)
triggerParentRules
- true trigger parent rules, false otherwisepublic void registerRuleTrigger()
RuleTrigger
registerRuleTrigger
in interface RuleTrigger
public void onUpdateProperties(org.alfresco.service.cmr.repository.NodeRef nodeRef, java.util.Map before, java.util.Map after)
onUpdateProperties
in interface NodeServicePolicies.OnUpdatePropertiesPolicy
nodeRef
- reference to the updated nodebefore
- the node's properties before the changeafter
- the node's properties after the change
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |