Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


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

All Superinterfaces:
Attributable, XcapElement, XcapResource

public interface Rule
extends XcapElement, Attributable

defines an autorization rule as per common rule. The rule is an 'if-then' equation. The 'if' part is defined by the conditions. The 'then' part is called permission and is defined by the actions and the transformations. Only in case all conditions are met (evaluate to TRUE), the related permission (actions and transformations) is granted.


Method Summary
 Actions createActions()
          Create an actions if there is no related one.
 Conditions createConditions()
          Create a conditions if there is no related one.
 Transformations createTransformations()
          Create a transformations.
 void deleteActions()
          Delete actions of the rule.
 void deleteConditions()
          Delete conditions.
 void deleteTransformations()
          Delete transformations of the rule.
 Actions getActions()
          Get actions of the rule.
 Conditions getConditions()
          Get conditions of the rule.
 String getId()
          required attribute acting as a unique identifier.
 Transformations getTransformations()
          Get transformations of the rule.

 

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

 

Methods inherited from interface com.oracle.sft.xcap.client.Attributable
deleteByAttrName, getByAttrName, setByAttrName

 

Method Detail

getId

String getId()
required attribute acting as a unique identifier. This attribute can not be modified after creation.
Returns:
unique identifier of the rule.

getConditions

Conditions getConditions()
Get conditions of the rule. A rule can have 0 or 1 conditions. Conditions represent the element named "conditions".
Returns:
the conditions, or null if no conditions is there.

createConditions

Conditions createConditions()
Create a conditions if there is no related one. If there has been a conditions, it works as getConditions(). Conditions represent the element named "conditions".
Returns:
the conditions created.

deleteConditions

void deleteConditions()
Delete conditions. Conditions represent the element named "conditions".

getActions

Actions getActions()
Get actions of the rule. A rule can have 0 or 1 actions. Actions represent the element named "actions".
Returns:
the actions, or null if no actions is there.

createActions

Actions createActions()
Create an actions if there is no related one. If there has been an actions, it works as getActions(). Actions represent the element named "actions".
Returns:
the actions created.

deleteActions

void deleteActions()
Delete actions of the rule. Actions represent the element named "actions".

getTransformations

Transformations getTransformations()
Get transformations of the rule. A rule can have 0 or 1 transformations. Transformations represent the element named "transformations".
Returns:
the transformations, or null if no transformations is there.

createTransformations

Transformations createTransformations()
Create a transformations. Transformations represent the element named "transformations".
Returns:
the transformations created.

deleteTransformations

void deleteTransformations()
Delete transformations of the rule. Transformations represent the element named "transformations".

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.