org.alfresco.repo.web.scripts.rule.ruleset
Class RuleSet

java.lang.Object
  extended by org.alfresco.repo.web.scripts.rule.ruleset.RuleSet
All Implemented Interfaces:
java.io.Serializable

public class RuleSet
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
RuleSet()
           
 
Method Summary
 java.util.List getInheritedRules()
          Get list of the rules inherited by this rule set from parent
 java.util.List getLinkedFromRuleSets()
          Get the list of nodeRefs that link to this ruleset
 org.alfresco.service.cmr.repository.NodeRef getLinkedToRuleSet()
          Get the nodeRef to which this ruleset linked to
 java.util.List getRules()
          Get list of the rules "owned" by this rule set
 org.alfresco.service.cmr.repository.NodeRef getRulesetNodeRef()
          Get the nodeRef to which this ruleset belongs
 void setInheritedRules(java.util.List inheritedRules)
          Set list of the rules inherited by this rule set from parent
 void setLinkedFromRuleSets(java.util.List linkedFromRuleSets)
          Set the list of nodeRefs that link to this ruleset
 void setLinkedToRuleSet(org.alfresco.service.cmr.repository.NodeRef linkedToRuleSet)
          Set the nodeRef to which this ruleset linked to
 void setRules(java.util.List rules)
          Set list of the rules "owned" by this rule set
 void setRulesetNodeRef(org.alfresco.service.cmr.repository.NodeRef rulesetNodeRef)
          Set the nodeRef to which this ruleset belongs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleSet

public RuleSet()
Method Detail

setRules

public void setRules(java.util.List rules)
Set list of the rules "owned" by this rule set

Parameters:
rules - the list of rules to set

getRules

public java.util.List getRules()
Get list of the rules "owned" by this rule set

Returns:
list of "owned" rules

setInheritedRules

public void setInheritedRules(java.util.List inheritedRules)
Set list of the rules inherited by this rule set from parent

Parameters:
inheritedRules - the list of inherited rules to set

getInheritedRules

public java.util.List getInheritedRules()
Get list of the rules inherited by this rule set from parent

Returns:
list of inherited rules

setRulesetNodeRef

public void setRulesetNodeRef(org.alfresco.service.cmr.repository.NodeRef rulesetNodeRef)
Set the nodeRef to which this ruleset belongs

Parameters:
rulesetNodeRef - the ruleset nodeRef to set

getRulesetNodeRef

public org.alfresco.service.cmr.repository.NodeRef getRulesetNodeRef()
Get the nodeRef to which this ruleset belongs

Returns:
ruleset nodeRef

setLinkedToRuleSet

public void setLinkedToRuleSet(org.alfresco.service.cmr.repository.NodeRef linkedToRuleSet)
Set the nodeRef to which this ruleset linked to

Parameters:
linkedToRuleSet - the nodeRef to set

getLinkedToRuleSet

public org.alfresco.service.cmr.repository.NodeRef getLinkedToRuleSet()
Get the nodeRef to which this ruleset linked to

Returns:
linked to nodeRef

setLinkedFromRuleSets

public void setLinkedFromRuleSets(java.util.List linkedFromRuleSets)
Set the list of nodeRefs that link to this ruleset

Parameters:
linkedFromRuleSets - the list of nodeRefs to set

getLinkedFromRuleSets

public java.util.List getLinkedFromRuleSets()
Get the list of nodeRefs that link to this ruleset

Returns:
the list of nodeRefs


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