com.bea.ales.management
Class UserQueryResult

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

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

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


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

Method Detail

next

public User next()
          throws ManagementException
Get the next user in the result set.

Returns:
the next user in the result.
Throws:
ManagementException - if the operation fails.

previous

public User previous()
              throws ManagementException
Get the previous user in the result.

Returns:
the previous user in the result.
Throws:
ManagementException - if the operation fails.

find

public User find(java.lang.String userName)
          throws ManagementException
Find the user with the specified name.

Parameters:
userName - the user name to look for
Returns:
the user object found, or null if the name is not found.
Throws:
ManagementException - if the operation fails.


Copyright © 2006 BEA Systems Inc. All Rights Reserved.