Skip navigation links
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().
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
Copyright © 2012 Oracle Corporation. All Rights Reserved.