org.rhq.enterprise.server.report
Class DataAccessManagerBean
java.lang.Object
org.rhq.enterprise.server.report.DataAccessManagerBean
- All Implemented Interfaces:
- DataAccessManagerLocal, DataAccessManagerRemote
public class DataAccessManagerBean
- extends Object
- implements DataAccessManagerLocal, DataAccessManagerRemote
This service provides jpql querying access to the core. You can pass in arbitrary
jpql and get back the object bound forms of the results. This is intended only for
external reporting functionality and should not be used with the enterprise core
to implement querying.
- Author:
- Greg Hinkle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataAccessManagerBean
public DataAccessManagerBean()
executeQuery
public List<Object[]> executeQuery(org.rhq.core.domain.auth.Subject subject,
String query)
- Description copied from interface:
DataAccessManagerRemote
- Execute a query. Requires a user with the MANAGE_INVENTORY permission.
- Specified by:
executeQuery in interface DataAccessManagerLocal- Specified by:
executeQuery in interface DataAccessManagerRemote
- Parameters:
subject - an admin user's subjectquery - 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
public List<Object[]> executeQueryWithPageControl(org.rhq.core.domain.auth.Subject subject,
String query,
org.rhq.core.domain.util.PageControl pageControl)
- Refactored method name to be unique for WSDL and Base Profile compliance.
- Specified by:
executeQueryWithPageControl in interface DataAccessManagerLocal- Specified by:
executeQueryWithPageControl in interface DataAccessManagerRemote
- Parameters:
subject - an admin user's subjectquery - the query to executepageControl - pages to load
- Returns:
- list of object array results
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.