|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.doui.table.QueryBuilder lumis.content.table.ContentQueryBuilder
public class ContentQueryBuilder
This class is responsible for generating queries in the Content context. It
extends the QueryBuilder
class handling Content Metadata information
on the select, insert, update and delete queries.
Field Summary | |
---|---|
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. |
Fields inherited from class lumis.doui.table.QueryBuilder |
---|
mappings, parameters, primaryKey, source, sourceId, sourceNode, transaction |
Constructor Summary | |
---|---|
ContentQueryBuilder(IParameters parameters,
TableSource source,
ITransaction transaction)
Creates the object. |
Method Summary | |
---|---|
protected void |
addQueryTables(QueryBase queryBase)
Adds the appropriate meta data tables based on the meta data that the given content supports. |
Methods inherited from class lumis.doui.table.QueryBuilder |
---|
buildQueryDelete, buildQueryDelete, buildQueryInsert, buildQuerySelect, buildQueryUpdate, getFilter, getPrimaryKey, getPrimaryKeyFilterGroup, getSortOrders, getSource, getStartAtValue, getTable |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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 ValuesConstructor Detail |
---|
public 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
Method Detail |
---|
protected void addQueryTables(QueryBase queryBase) throws PortalException
addQueryTables
in class QueryBuilder
queryBase
-
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |