Interface QueryEngine
public interface QueryEngine
The query engine to execute a DQL query and return as a list of 
PersistentObject.- 
Method SummaryModifier and TypeMethodDescription<T extends PersistentObject>
 List<T>Execute the DQL query with offset and limit count.Execute the DQL query.Execute the DQL query with offset and limit count.booleanChecks whether a user is part of allowed groups where the users are having privileges to execute DQL.booleanChecks whether a user has admin or super user privileges.
- 
Method Details- 
executeList<PersistentObject> execute(String dql, QueryType queryType) throws com.documentum.fc.common.DfException Execute the DQL query.- Parameters:
- dql- the DQL expression
- queryType- te query type
- Returns:
- the query results
- Throws:
- com.documentum.fc.common.DfException- the exception during the operation
 
- 
executeList<PersistentObject> execute(String dql, QueryType queryType, int offset, int limit) throws com.documentum.fc.common.DfException Execute the DQL query with offset and limit count.- Parameters:
- dql- the DQL expression
- queryType- te query type
- offset- the offset of the query results
- limit- the limit count of query results to be returned
- Returns:
- the query results
- Throws:
- com.documentum.fc.common.DfException- the exception during the operation
 
- 
execute<T extends PersistentObject> List<T> execute(Class<T> targetClass, String dql, QueryType queryType, int offset, int limit) throws com.documentum.fc.common.DfException Execute the DQL query with offset and limit count.- Type Parameters:
- T- the PersistentObject or its subclass
- Parameters:
- targetClass- the output query result item instance type
- dql- the DQL expression
- queryType- te query type
- offset- the offset of the query results
- limit- the limit count of query results to be returned
- Returns:
- the query results
- Throws:
- com.documentum.fc.common.DfException- the exception during the operation
 
- 
isUserWithSuperOrAdminPrivilegesboolean isUserWithSuperOrAdminPrivileges() throws com.documentum.fc.common.DfExceptionChecks whether a user has admin or super user privileges.- Returns:
- returns whether a user is having super or admin privileges
- Throws:
- com.documentum.fc.common.DfException
 
- 
isUserPartOfDQLResourceAllowedGroupsboolean isUserPartOfDQLResourceAllowedGroups() throws com.documentum.fc.common.DfExceptionChecks whether a user is part of allowed groups where the users are having privileges to execute DQL.- Returns:
- returns whether a user is part of allowed groups are not.
- Throws:
- com.documentum.fc.common.DfException
 
 
-