com.bea.ales.management
Class EvaluationFunctionQueryResult

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

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

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


Constructor Summary
EvaluationFunctionQueryResult(com.bea.ales.management.cache.CollectionRef ref, RBAC_Context ctx, com.bea.ales.management.cache.QueryCache cache)
           
 
Method Summary
 EvaluationFunction find(java.lang.String name)
          Find an evaluation function by name from the result.
 EvaluationFunction next()
          Get the next evaluation function in the result.
 EvaluationFunction previous()
          Get the previous evaluation function in the result.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluationFunctionQueryResult

public EvaluationFunctionQueryResult(com.bea.ales.management.cache.CollectionRef ref,
                                     RBAC_Context ctx,
                                     com.bea.ales.management.cache.QueryCache cache)

Parameters:
ref - Reference to a collection represented by this QueryResult
ctx - The RBAC context.
cache - The QueryCache this QueryResult came from
Method Detail

next

public EvaluationFunction next()
                        throws ManagementException
Get the next evaluation function in the result.

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

previous

public EvaluationFunction previous()
                            throws ManagementException
Get the previous evaluation function in the result.

Returns:
the previous evaluation function; or null if there is no previous one.
Throws:
ManagementException - if failed to get previous record.

find

public EvaluationFunction find(java.lang.String name)
                        throws ManagementException
Find an evaluation function by name from the result.

Parameters:
name - the evaluation function name to look for
Returns:
the evaluation function which has the specified name; or null if not found.
Throws:
ManagementException - if the operation fails.


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