org.rhq.enterprise.server.report
Interface DataAccessManagerRemote


public interface DataAccessManagerRemote


Method Summary
 List<Object[]> executeQuery(Subject subject, String query)
          Execute a query.
 List<Object[]> executeQueryWithPageControl(Subject subject, String query, PageControl pageControl)
          Execute a query filtered by a page control
 

Method Detail

executeQuery

List<Object[]> executeQuery(Subject subject,
                            String query)
Execute a query. Requires a user with the MANAGE_INVENTORY permission.

Parameters:
subject - an admin user's subject
query - the query to execute
Returns:
a list of object results. Each entry in the rows array will represent an item from the select clause

executeQueryWithPageControl

List<Object[]> executeQueryWithPageControl(Subject subject,
                                           String query,
                                           PageControl pageControl)
Execute a query filtered by a page control

Parameters:
subject - an admin user's subject
query - the query to execute
pageControl - pages to load
Returns:
list of object array results


Copyright © 2005-2011 Red Hat, Inc.. All Rights Reserved.