public class SQLGenerator extends Object
SearchSpecification
,
SearchQualification
,
Search
Modifier and Type | Field and Description |
---|---|
protected S_LibrarySession |
m_Session |
protected SQLGeneration_Helper |
m_SQLHelper |
protected S_LibrarySession m_Session
protected SQLGeneration_Helper m_SQLHelper
protected static SQLGenerator constructGenerator(S_LibrarySession sess)
public static void disposeGenerator(S_LibrarySession session)
session
- the sessionprotected String getSQLStatement(String prefix, AttributeSearchSpecification asp, boolean searchCountOnly) throws IfsException
IfsException
protected String getSQLStatement(String prefix, ContextSearchSpecification csp, ContextTable[] ctxTabs, boolean searchCountOnly) throws IfsException
IfsException
protected String generateSelectList(AttributeSearchSpecification asp, boolean searchCountOnly) throws IfsException
IfsException
protected String generateFromClause(AttributeSearchSpecification asp) throws IfsException
IfsException
protected String generateWhereClause(AttributeSearchSpecification asp, String ownerValue) throws IfsException
IfsException
protected String generateSecurityClause(AttributeSearchSpecification asp, String ownerValue) throws IfsException
IfsException
protected String generateSubClassClause(AttributeSearchSpecification asp) throws IfsException
IfsException
protected String[] getOrderAttributes(SearchSpecification sp, String clss, String name, oracle.ifs.search.ContextScoreVisitor vis) throws IfsException
IfsException
protected String generateOrderByClause(AttributeSearchSpecification asp, oracle.ifs.search.ContextScoreVisitor vis) throws IfsException
IfsException
protected String getViewStatement(ViewSpecification vsp, AttributeSearchSpecification asp) throws IfsException
IfsException
protected String getViewStatement(ViewSpecification vsp, ContextSearchSpecification csp, ContextTable[] ctxTabs) throws IfsException
IfsException
protected String generateViewSelectList(AttributeSearchSpecification asp, ViewSpecification vsp) throws IfsException
IfsException
Copyright © 2023. All rights reserved.