public class FindQueryGenerator extends AbstractQueryGenerator
BLANK_SPACE, CLOSING_PARENTHESIS, COUNT, COUNT_PREFIX, FIND_PREFIX, FROM, LOGIC_AND, NEW_LINE, OPENING_PARENTHESIS, ORDER_BY, SELECT, WHERE| Constructor and Description |
|---|
FindQueryGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addOrderBy(char tablePrefix,
StringBuilder builder) |
protected String |
buildQueryForUniqueConstraint(UniqueConstraint uniqueConstraint,
char alias,
String selectBlock) |
void |
buildSelect(char simpleNameAlias,
StringBuilder builder) |
protected String |
createQueryContentForUniqueConstraint(String businessObjectName,
UniqueConstraint uniqueConstraint) |
Query |
createQueryForPersistenceId(BusinessObject businessObject) |
String |
getListReturnType() |
protected String |
getQualifiedReturnType(BusinessObject businessObject) |
protected String |
getQueryContentForLazyField() |
String |
getQueryPrefix() |
buildCompareField, buildSelectFrom, checkArgumentisNotEmpty, checkFieldIsNotACollection, checkObjectIsNotNull, createQueryContentForField, createQueryForField, createQueryForLazyField, createQueryForUniqueConstraint, createQueryNameForField, createQueryNameForUniqueConstraint, createSelectAllQueryContent, createSelectAllQueryForBusinessObject, getQueryName, getSelectAllQueryNamepublic String getQueryPrefix()
getQueryPrefix in class AbstractQueryGeneratorprotected void addOrderBy(char tablePrefix,
StringBuilder builder)
addOrderBy in class AbstractQueryGeneratorpublic void buildSelect(char simpleNameAlias,
StringBuilder builder)
buildSelect in class AbstractQueryGeneratorpublic String getListReturnType()
getListReturnType in class AbstractQueryGeneratorpublic Query createQueryForPersistenceId(BusinessObject businessObject)
createQueryForPersistenceId in interface QueryGeneratorcreateQueryForPersistenceId in class AbstractQueryGeneratorprotected String getQualifiedReturnType(BusinessObject businessObject)
getQualifiedReturnType in class AbstractQueryGeneratorprotected String getQueryContentForLazyField()
getQueryContentForLazyField in class AbstractQueryGeneratorprotected String createQueryContentForUniqueConstraint(String businessObjectName, UniqueConstraint uniqueConstraint)
protected String buildQueryForUniqueConstraint(UniqueConstraint uniqueConstraint, char alias, String selectBlock)
Copyright © 2018 Bonitasoft S.A.. All rights reserved.