lumis.service.autoadministration.table
Class WorkflowStatusQueryBuilder

Package class diagram package WorkflowStatusQueryBuilder
java.lang.Object
  extended by lumis.doui.table.QueryBuilder
      extended by lumis.service.autoadministration.table.WorkflowStatusQueryBuilder

public class WorkflowStatusQueryBuilder
extends QueryBuilder

Query builder specific for WorkFlowStatusDataProvider.
Add all necessary tables and joins to execute a select query.

Since:
7.0.0

Field Summary
static String CONTENT_LOCALE_RELATION_ID
          The relation id for the content locale table.
static String CONTENT_PUBLICATION_RELATION_ID
           
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 SERVICE_INSTANCE_RELATION_ID
          The relation id for the service instance table.
static String WORKFLOW_META_DATA_RELATION_ID
          The relation id for the workflow metadata table.
static String WORKFLOW_SERVICE_INSTANCE_RELATION_ID
          The relation id for the workflow service instance table.
 
Fields inherited from class lumis.doui.table.QueryBuilder
mappings, parameters, primaryKey, source, sourceId, sourceNode, transaction
 
Constructor Summary
WorkflowStatusQueryBuilder(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

CONTENT_PUBLICATION_RELATION_ID

public static final String CONTENT_PUBLICATION_RELATION_ID
See Also:
Constant Field Values

CONTENT_VERSION_RELATION_ID

public static final String CONTENT_VERSION_RELATION_ID
The relation id for the content version table.

See Also:
QueryBase.getTableByRelationId(String), Constant Field Values

CONTENT_LOCALE_RELATION_ID

public static final String CONTENT_LOCALE_RELATION_ID
The relation id for the content locale table.

See Also:
QueryBase.getTableByRelationId(String), Constant Field Values

CONTENT_RELATION_ID

public static final String CONTENT_RELATION_ID
The relation id for the content table.

See Also:
QueryBase.getTableByRelationId(String), Constant Field Values

SERVICE_INSTANCE_RELATION_ID

public static final String SERVICE_INSTANCE_RELATION_ID
The relation id for the service instance table.

See Also:
Constant Field Values

WORKFLOW_SERVICE_INSTANCE_RELATION_ID

public static final String WORKFLOW_SERVICE_INSTANCE_RELATION_ID
The relation id for the workflow service instance table.

See Also:
Constant Field Values

WORKFLOW_META_DATA_RELATION_ID

public static final String WORKFLOW_META_DATA_RELATION_ID
The relation id for the workflow metadata table.

See Also:
QueryBase.getTableByRelationId(String), Constant Field Values
Constructor Detail

WorkflowStatusQueryBuilder

public WorkflowStatusQueryBuilder(IParameters parameters,
                                  TableSource source,
                                  ITransaction transaction)
                           throws PortalException
Creates the object.

Parameters:
parameters - The IParameters implementation object that contains the operation parameters
source - The represented source over which the operation will be executed
transaction -
Throws:
PortalException
Method Detail

addQueryTables

protected void addQueryTables(QueryBase queryBase)
                       throws PortalException
Adds the appropriate meta data tables based on the meta data that the given content supports. The tables are added to the query base with the appropriate joins.

Overrides:
addQueryTables in class QueryBuilder
Parameters:
queryBase -
Throws:
PortalException


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.