org.alfresco.service.cmr.rule
Interface RuleType

All Known Implementing Classes:
RuleTypeImpl

public interface RuleType

Rule type interface.


Field Summary
static java.lang.String INBOUND
          Some rule type constants
static java.lang.String OUTBOUND
           
static java.lang.String UPDATE
           
 
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 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.
 

Field Detail

INBOUND

static final java.lang.String INBOUND
Some rule type constants

See Also:
Constant Field Values

UPDATE

static final java.lang.String UPDATE
See Also:
Constant Field Values

OUTBOUND

static final java.lang.String OUTBOUND
See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Get the name of the rule type.

The name is unique and is used to identify the rule type.

Returns:
the name of the rule type

getDisplayLabel

java.lang.String getDisplayLabel()
Get the display label of the rule type.

Returns:
the display label

triggerRuleType

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.

Parameters:
nodeRef - the node ref whos rule of rule type are to be triggered
actionedUponNodeRef - the node ref that the triggered rule will action upon


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.