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, getSelectAllQueryName
public String getQueryPrefix()
getQueryPrefix
in class AbstractQueryGenerator
protected void addOrderBy(char tablePrefix, StringBuilder builder)
addOrderBy
in class AbstractQueryGenerator
public void buildSelect(char simpleNameAlias, StringBuilder builder)
buildSelect
in class AbstractQueryGenerator
public String getListReturnType()
getListReturnType
in class AbstractQueryGenerator
public Query createQueryForPersistenceId(BusinessObject businessObject)
createQueryForPersistenceId
in interface QueryGenerator
createQueryForPersistenceId
in class AbstractQueryGenerator
protected String getQualifiedReturnType(BusinessObject businessObject)
getQualifiedReturnType
in class AbstractQueryGenerator
protected String getQueryContentForLazyField()
getQueryContentForLazyField
in class AbstractQueryGenerator
protected String createQueryContentForUniqueConstraint(String businessObjectName, UniqueConstraint uniqueConstraint)
protected String buildQueryForUniqueConstraint(UniqueConstraint uniqueConstraint, char alias, String selectBlock)
Copyright © 2020 Bonitasoft S.A. All rights reserved.