com.bea.ales.management
Class Action

java.lang.Object
  |
  +--com.bea.ales.management.Action

public class Action
extends java.lang.Object

This class represents an action.


Method Summary
 java.util.Collection getGroups()
          Get all action groups that the action belongs to.
 java.lang.String getName()
          Get the name of the action.
 void rename(java.lang.String newName)
          Rename the action.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Get the name of the action.

Returns:
action name

rename

public void rename(java.lang.String newName)
            throws ManagementException
Rename the action.

Parameters:
newName - new name for the action. It can not be null or empty string.
Throws:
java.lang.IllegalArgumentException - if newName is null or empty string.
ManagementException - if the operation fails.

getGroups

public java.util.Collection getGroups()
                               throws ManagementException
Get all action groups that the action belongs to.

Returns:
a collection of action groups that this action is a member of.
Throws:
ManagementException - if the operation fails.


Copyright © 2004-2008, Oracle and/or its affiliates. All rights reserved.