com.bea.ales.management
Class GroupQueryResult

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

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

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


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

Method Detail

next

public Group next()
           throws ManagementException
Get the next group in the result.

Returns:
the next group; or null if there is no next one.
Throws:
ManagementException - if the operation fails.

previous

public Group previous()
               throws ManagementException
Get the previous group in the result.

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

find

public Group find(java.lang.String name)
           throws ManagementException
Find a group with the specified name.

Parameters:
name - the name to look for.
Returns:
the group if found; or null if no such group.
Throws:
ManagementException - if the operation fails.


Copyright © 2006 BEA Systems Inc. All Rights Reserved.