com.bea.ales.management
Class DirectoryQueryResult

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

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

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


Method Summary
 Directory find(java.lang.String name)
          Deprecated. This method is inherently inaccurate. It calculates the fully qualified name from the short name and the current Scope in the RBAC_Context - this Scope might not match the correct container scope for the Directory.
 Directory next()
          Get the next directory in the result.
 Directory previous()
          Get the previous directory in the result
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

next

public Directory next()
               throws ManagementException
Get the next directory in the result.

Returns:
the next directory
Throws:
ManagementException - if the operation fails.

previous

public Directory previous()
                   throws ManagementException
Get the previous directory in the result

Returns:
the previous directory
Throws:
ManagementException - if the operation fails.

find

public Directory find(java.lang.String name)
               throws ManagementException
Deprecated. This method is inherently inaccurate. It calculates the fully qualified name from the short name and the current Scope in the RBAC_Context - this Scope might not match the correct container scope for the Directory.
Find the directory which has the given name in the result.

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


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