Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


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

All Superinterfaces:
XcapElement, XcapResource

public interface Actions
extends XcapElement

Actions part of the policy. The permission is the 'then' part of the 'if-then' equation the rule expresses. The permission consists of the actions and the transformations. The 'if' part of the rule is defined by the conditions. Actions can be created by method com.oracle.sft.xcap.client.policy.Rule.createActions().


Method Summary
<A extends Action>
A
createAction(Class<A> actionClass)
          Create an action for the given actionClass.
<A extends Action>
void
deleteAction(A action)
          Delete a action.
<A extends Action>
Set<A>
getActions()
          Get all actions.
<A extends Action>
Set<A>
getActions(Class<A> actionClass)
          Get all actions which are of given actionClass.

 

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

createAction

<A extends Action> A createAction(Class<A> actionClass)
Create an action for the given actionClass.
Parameters:
actionClass - the class of Allow.class or ForwardTo.class. If this Actions belongs to IncomingCommunicationBarring or OutgoingCommunicationBarring, Allow can be created. If this Actions belongs to CommunicationDiversion, ForwardTo can be created.
Returns:
the Action

getActions

<A extends Action> Set<A> getActions()
Get all actions.
Returns:
a set of all actions.

getActions

<A extends Action> Set<A> getActions(Class<A> actionClass)
Get all actions which are of given actionClass.
Parameters:
actionClass - the class of action.
Returns:
a set of actions of given actionClass

deleteAction

<A extends Action> void deleteAction(A action)
Delete a action.
Parameters:
action - the action to be deleted

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.