|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.action.CommonResourceAbstractBase
org.alfresco.repo.rule.RuleTypeImpl
public class RuleTypeImpl
Rule type implementation class.
Field Summary |
---|
Fields inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
name |
Fields inherited from interface org.alfresco.service.cmr.rule.RuleType |
---|
INBOUND, OUTBOUND, UPDATE |
Constructor Summary | |
---|---|
RuleTypeImpl(java.util.List ruleTriggers)
Constructor |
Method Summary | |
---|---|
java.lang.String |
getDisplayLabel()
Get the display label of the rule type. |
java.lang.String |
getName()
Get the name of the rule type. |
void |
init()
Rule type initialise method |
void |
setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
Set the node service |
void |
setRuleService(RuleService ruleService)
Set the rule service |
void |
triggerRuleType(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef,
boolean executeRuleImmediately)
Trigger the rules of the rule type for the node on the actioned upon node. |
Methods inherited from class org.alfresco.repo.action.CommonResourceAbstractBase |
---|
setBeanName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleTypeImpl(java.util.List ruleTriggers)
ruleTriggers
- the rule triggersMethod Detail |
---|
public void setRuleService(RuleService ruleService)
ruleService
- the rule servicepublic void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node servicepublic void init()
public java.lang.String getName()
RuleType
The name is unique and is used to identify the rule type.
getName
in interface RuleType
RuleType.getName()
public java.lang.String getDisplayLabel()
RuleType
getDisplayLabel
in interface RuleType
RuleType.getDisplayLabel()
public void triggerRuleType(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef, boolean executeRuleImmediately)
RuleType
triggerRuleType
in interface RuleType
nodeRef
- the node ref whos rule of rule type are to be triggeredactionedUponNodeRef
- the node ref that the triggered rule will action uponorg.alfresco.service.cmr.rule.RuleType#triggerRuleType(org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.cmr.repository.NodeRef)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |