|
|||||||||
| 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 |
setBeanName(java.lang.String name)
Set the bean name |
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 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 triggers| Method 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()
RuleTypeThe name is unique and is used to identify the rule type.
getName in interface RuleTypeRuleType.getName()public java.lang.String getDisplayLabel()
RuleType
getDisplayLabel in interface RuleTypeRuleType.getDisplayLabel()
public void triggerRuleType(org.alfresco.service.cmr.repository.NodeRef nodeRef,
org.alfresco.service.cmr.repository.NodeRef actionedUponNodeRef,
boolean executeRuleImmediately)
RuleType
triggerRuleType in interface RuleTypenodeRef - 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)public void setBeanName(java.lang.String name)
CommonResourceAbstractBase
setBeanName in interface org.springframework.beans.factory.BeanNameAwaresetBeanName in class CommonResourceAbstractBasename - the bean nameBeanNameAware.setBeanName(java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||