Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.xcap.client.policy
Interface RuleSet

All Superinterfaces:
XcapElement, XcapResource

public interface RuleSet
extends XcapElement

root element of the Rules . Consists of a set of 'if-then' equations called rules.


Method Summary
 Rule createRule(String anId)
          creates a rule.
 void deleteRule(Rule aRule)
          removes a rule.
 Rule getRule(String anId)
          provides a rule by its unique identifier.
 List<Rule> getRules()
          provides a list of rules.

 

Methods inherited from interface com.oracle.sft.xcap.client.XcapElement
getDocument, getNamespace, getNodeSelector, getParent

 

Methods inherited from interface com.oracle.sft.xcap.client.XcapResource
getContent, getContentType, getUrl, setContent

 

Method Detail

getRules

List<Rule> getRules()
provides a list of rules.
Returns:
list of rules.

getRule

Rule getRule(String anId)
provides a rule by its unique identifier. Convenience method.
Parameters:
anId - unique identifier.
Returns:
rule associated with the provided identifier. Or null in case such a rule does not exist.

createRule

Rule createRule(String anId)
creates a rule.
Parameters:
anId - unique id of the rule to be created.
Returns:
newly created rule.
Throws:
IllegalArgumentException - in case anId is null or an empty string.

deleteRule

void deleteRule(Rule aRule)
removes a rule.
Parameters:
aRule - the rule to remove.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.