com.bea.ales.management
Class AttributeQueryResult

java.lang.Object
  |
  +--com.bea.ales.management.query.MultiQueryResultImpl
        |
        +--com.bea.ales.management.AttributeQueryResult
Direct Known Subclasses:
DynamicAttributeQueryResult

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

This class represents the result of executing a query on attributes. It provides methods to iterate over the result.


Constructor Summary
AttributeQueryResult(java.util.ArrayList refList, RBAC_Context ctx, com.bea.ales.management.cache.QueryCache cache)
          Construct a new AttributeQueryResult object
AttributeQueryResult(com.bea.ales.management.cache.AttributeableCollectionRef ref, RBAC_Context ctx, com.bea.ales.management.cache.QueryCache cache)
          Construct a new AttributeQueryResult object
 
Method Summary
 AttributeElement next()
          Get the next attribute in the result.
 AttributeElement previous()
          Get the previous attribute in the result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeQueryResult

public AttributeQueryResult(com.bea.ales.management.cache.AttributeableCollectionRef ref,
                            RBAC_Context ctx,
                            com.bea.ales.management.cache.QueryCache cache)
                     throws ManagementException
Construct a new AttributeQueryResult object

Parameters:
ref - - The AttributeableCollectionRef this result set is based on
ctx - - The RBAC context.
Directory - - The Directory this query was based on
GroupQueryCache - - The group query cache this query came from
Throws:
ManagementException -  

AttributeQueryResult

public AttributeQueryResult(java.util.ArrayList refList,
                            RBAC_Context ctx,
                            com.bea.ales.management.cache.QueryCache cache)
Construct a new AttributeQueryResult object

Parameters:
refList - - An ArrayList of collection references to use for this result set
queryString - - The query string used to generate this result set
ctx - - The RBAC context.
Directory - - The Directory this query was based on
GroupQueryCache - - The group query cache this query came from
Throws:
ManagementException -  
Method Detail

next

public AttributeElement next()
                      throws ManagementException
Get the next attribute in the result.

Returns:
the next attribute, or null if this is the last one.
Throws:
ManagementException - if the operation fails.

previous

public AttributeElement previous()
                          throws ManagementException
Get the previous attribute in the result.

Returns:
the previous attribute, or null if this is the first one.
Throws:
ManagementException - if the operation fails.


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