atg.repository.content
Interface ContentQueryBuilder

All Superinterfaces:
QueryBuilder
All Known Implementing Classes:
Builder

public interface ContentQueryBuilder
extends QueryBuilder

Extension to the QueryBuilde interface to allow native support for folder containment queries.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Fields inherited from interface atg.repository.QueryBuilder
CONTAINS, ENDS_WITH, EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS, NOT_CONTAINS, NOT_ENDS_WITH, NOT_EQUALS, NOT_STARTS_WITH, STARTS_WITH
 
Method Summary
 Query createInFoldersQuery(java.lang.String[] pFolderIds)
          Returns a query which when executed would return all the pieces of content which are contained within the supplied folders.
 
Methods inherited from interface atg.repository.QueryBuilder
createAndQuery, createComparisonQuery, createConstantQueryExpression, createCountQueryExpression, createElementAtQueryExpression, createIdMatchingQuery, createIncludesAllQuery, createIncludesAnyQuery, createIncludesItemQuery, createIncludesQuery, createIndexOfQueryExpression, createIsNullQuery, createNotQuery, createOrQuery, createPatternMatchQuery, createPatternMatchQuery, createPropertyQueryExpression, createPropertyQueryExpression, createReferencedByQuery, createTextSearchQuery, createTextSearchQuery, createUnconstrainedQuery, getRepositoryView
 

Field Detail

CLASS_VERSION

static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

createInFoldersQuery

Query createInFoldersQuery(java.lang.String[] pFolderIds)
                           throws RepositoryException
Returns a query which when executed would return all the pieces of content which are contained within the supplied folders.

Parameters:
pFolderIds - an array of ids which represent folders
Throws:
RepositoryException - if there was an error building the query operation