com.bea.ales.management
Class ActionQueryResult

java.lang.Object
  |
  +--com.bea.ales.management.query.MultiQueryResultImpl
        |
        +--com.bea.ales.management.ActionQueryResult

public class ActionQueryResult
extends com.bea.ales.management.query.MultiQueryResultImpl

This class represents the result of executing a query on actions. It provides methods to iterate over the result and find an action from the result.


Method Summary
 Action find(java.lang.String name)
          Find an action with the specified name from the result.
 Action next()
          Get the next action in the result.
 Action previous()
          Get the previous action in the result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public Action next()
            throws ManagementException
Get the next action in the result.

Returns:
the next action, null if there is no next action.
Throws:
ManagementException - if the operation fails.

previous

public Action previous()
                throws ManagementException
Get the previous action in the result.

Returns:
the previous action, null if there is no previous action.
Throws:
ManagementException - if the operation fails.

find

public Action find(java.lang.String name)
            throws ManagementException
Find an action with the specified name from the result.

Parameters:
name - action name to look for.
Returns:
the action object whose name equals name, or null if no such action.
Throws:
ManagementException - if the operation fails.


Copyright © 2006 BEA Systems Inc. All Rights Reserved.