public class ContentQueryBuilder extends QueryBuilder
QueryBuilder
class handling Content Metadata information
on the select, insert, update and delete queries.Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_LOCALE_RELATION_ID
The relation id for the content locale table.
|
static String |
CONTENT_PUBLICATION_RELATION_ID
The relation id for the content publication table.
|
static String |
CONTENT_RELATION_ID
The relation id for the content table.
|
static String |
CONTENT_VERSION_RELATION_ID
The relation id for the content version table.
|
static String |
WORKFLOW_META_DATA_RELATION_ID
The relation id for the workflow metadata table.
|
mappings, parameters, primaryKey, source, sourceId, sourceNode, transaction
Constructor and Description |
---|
ContentQueryBuilder(IParameters parameters,
TableSource source,
ITransaction transaction)
Creates the object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addQueryTables(QueryBase queryBase)
Adds the appropriate meta data tables based on the meta data that the
given content supports.
|
buildQueryDelete, buildQueryDelete, buildQueryInsert, buildQuerySelect, buildQueryUpdate, getFilter, getPrimaryKey, getPrimaryKeyFilterGroup, getSortOrders, getSource, getStartAtValue, getTable
public static final String CONTENT_PUBLICATION_RELATION_ID
QueryBase.getTableByRelationId(String)
,
Constant Field Valuespublic static final String CONTENT_VERSION_RELATION_ID
QueryBase.getTableByRelationId(String)
,
Constant Field Valuespublic static final String CONTENT_LOCALE_RELATION_ID
QueryBase.getTableByRelationId(String)
,
Constant Field Valuespublic static final String CONTENT_RELATION_ID
QueryBase.getTableByRelationId(String)
,
Constant Field Valuespublic static final String WORKFLOW_META_DATA_RELATION_ID
QueryBase.getTableByRelationId(String)
,
Constant Field Valuespublic ContentQueryBuilder(IParameters parameters, TableSource source, ITransaction transaction) throws PortalException
parameters
- The IParameters implementation object that contains the operation parameterssource
- The represented source over which the operation will be executedtransaction
- PortalException
protected void addQueryTables(QueryBase queryBase) throws PortalException
addQueryTables
in class QueryBuilder
queryBase
- PortalException
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.