com.bea.ales.management
Class RoleGroupQueryResult

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

public class RoleGroupQueryResult
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
 com.bea.ales.management.RoleGroup find(Scope scope, java.lang.String name)
          Find a group with the specified name.
 com.bea.ales.management.RoleGroup next()
          Get the next group in the result.
 com.bea.ales.management.RoleGroup 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 com.bea.ales.management.RoleGroup 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 com.bea.ales.management.RoleGroup 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 com.bea.ales.management.RoleGroup find(Scope scope,
                                              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 © 2004-2008, Oracle and/or its affiliates. All rights reserved.