|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.query.specification.DefaultQueryWriter
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static boolean |
IS_HIERARCHICAL_DEFINITION_ALLOWED
|
private Hashtable |
queryHashtable
|
private static String |
RESOURCE
|
protected boolean |
rootUseReferenceable
This boolean is used to specify if the an appendSelectReference has been done on the ReferenceValue table with a referenceable reference on a root element |
private Hashtable |
useRefHashtable
|
private static boolean |
VERBOSE_DEV
|
Constructor Summary | |
DefaultQueryWriter()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Hashtable queryHashtable
private Hashtable useRefHashtable
protected boolean rootUseReferenceable
private static final boolean VERBOSE_DEV
private static final boolean IS_HIERARCHICAL_DEFINITION_ALLOWED
Constructor Detail |
public DefaultQueryWriter()
Method Detail |
protected SearchCondition getModeledAttributeSearchCondition(ClassSearchSpec a_selection, AttributeSearchExp an_expression)
a_selection
- an_expression
-
protected SearchCondition getLatestIterationSearchCondition(ClassSearchSpec a_selection)
a_selection
-
protected SearchCondition getHolderClassInstancedAttributeSearchCondition(Class a_class, String a_classname)
a_class
- a_classname
-
protected SearchCondition getDefinitionInstancedAttributeSearchCondition(Class a_class, String a_label, String a_hierarchy_id, boolean is_descend)
a_class
- a_label
- a_hierarchy_id
- is_descend
-
protected SearchCondition getValueInstancedAttributeSearchCondition(Class a_class, String a_label, AttributeSearchExp an_expression)
a_class
- a_label
- an_expression
-
protected SearchCondition getDependencyInstancedAttributeSearchCondition(ClassSearchSpec a_selection, AttributeSearchExp an_expression)
a_selection
- an_expression
-
protected QuerySpec getQuerySpec(SelectionSearchSpec a_selection)
a_selection
-
protected void setupQuerySpecForInstance(QuerySpec a_query_spec, ClassSearchSpec a_selection, AttributeSearchExp an_expression, String a_column, Boolean use_reference)
a_query_spec
- a_selection
- an_expression
- a_column
- use_reference
- protected void setupQuerySpec(QuerySpec a_query_spec, AttributeSearchExp an_expression, String a_column, Boolean use_reference)
a_query_spec
- an_expression
- a_column
- use_reference
- protected String getSearchConditionOperator(AttributeSearchExp an_expression)
an_expression
-
protected RelationalExpression getRightHandSideExpression(AttributeSearchExp an_expression)
an_expression
-
protected StatementSpec getDependentStatementSpec(ClassSearchSpec a_selection, AttributeSearchExp an_expression, Boolean use_reference, boolean a_is_direct_dependency)
a_selection
- an_expression
- use_reference
- a_is_direct_dependency
-
protected StatementSpec getSortStatementSpec(SortSpecification a_sort_specification, StatementSpec a_statement_spec)
a_sort_specification
- a_statement_spec
-
protected StatementSpec getResultStatementSpec(ResultSpecification a_result_specification, StatementSpec a_statement_spec)
a_result_specification
- a_statement_spec
-
public void writeFirstSelectionSearchSpec(CriteriaSpecification a_criteria, SelectionSearchSpec a_selection) throws WTException
writeFirstSelectionSearchSpec
in interface QueryWriter
a_criteria
- a_selection
-
WTException
public void writeIntermediateSelectionSearchSpec(CriteriaSpecification a_criteria, SelectionSearchSpec a_selection) throws WTException
writeIntermediateSelectionSearchSpec
in interface QueryWriter
a_criteria
- a_selection
-
WTException
public void writeLastSelectionSearchSpec(CriteriaSpecification a_criteria, SelectionSearchSpec a_selection) throws WTException
writeLastSelectionSearchSpec
in interface QueryWriter
a_criteria
- a_selection
-
WTException
public void writeFirstSearchExpression(SelectionSearchSpec a_selection, SearchExpression an_expression) throws WTException
writeFirstSearchExpression
in interface QueryWriter
a_selection
- an_expression
-
WTException
public void writeIntermediateSearchExpression(SelectionSearchSpec a_selection, SearchExpression an_expression) throws WTException
writeIntermediateSearchExpression
in interface QueryWriter
a_selection
- an_expression
-
WTException
public void writeLastSearchExpression(SelectionSearchSpec a_selection, SearchExpression an_expression) throws WTException
writeLastSearchExpression
in interface QueryWriter
a_selection
- an_expression
-
WTException
public void preQueryObjectProcessing(SearchSpecification a_search_spec)
preQueryObjectProcessing
in interface QueryWriter
a_search_spec
- public void postQueryObjectProcessing(SearchSpecification a_search_spec)
postQueryObjectProcessing
in interface QueryWriter
a_search_spec
- public Object getQueryObjectResult(SearchSpecification a_search_spec) throws WTException
getQueryObjectResult
in interface QueryWriter
a_search_spec
-
WTException
private WhereExpression getModeledAttributeWhereExpression(ClassSearchSpec a_selection, AttributeSearchExp an_expression) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |