public class WhereClauseDescriptor extends Object implements WhereClauseDefinition
Modifier and Type | Field and Description |
---|---|
protected String |
docType
Deprecated.
since 6.0: doc type moved up to the page provider descriptor.
|
protected boolean |
escapeFixedPartParameters |
protected Class<? extends Escaper> |
escaperClass |
protected String |
fixedPart |
protected PredicateDefinition[] |
predicates |
protected boolean |
quoteFixedPartParameters |
protected String |
selectStatement
This parameter allows to override the default select statement used by the fixed part ("select * from Document"
for NXQL queries, for instance).
|
Constructor and Description |
---|
WhereClauseDescriptor() |
Modifier and Type | Method and Description |
---|---|
WhereClauseDescriptor |
clone() |
String |
getDocType()
Deprecated.
since 6.0: use
BasePageProviderDescriptor.getSearchDocumentType() |
boolean |
getEscapeFixedPartParameters() |
Class<? extends Escaper> |
getEscaperClass() |
String |
getFixedPart() |
PredicateDefinition[] |
getPredicates() |
boolean |
getQuoteFixedPartParameters() |
String |
getSelectStatement()
Return the custom select statement used by the fixed part ("select * from Document" for NXQL queries, for
instance).
|
void |
setFixedPart(String fixedPart) |
void |
setFixedPath(String fixedPart) |
void |
setPredicates(PredicateDefinition[] predicates) |
@Deprecated protected String docType
protected Class<? extends Escaper> escaperClass
protected PredicateDefinition[] predicates
protected String selectStatement
protected boolean quoteFixedPartParameters
protected boolean escapeFixedPartParameters
public WhereClauseDescriptor()
@Deprecated public String getDocType()
BasePageProviderDescriptor.getSearchDocumentType()
getDocType
in interface WhereClauseDefinition
public void setFixedPath(String fixedPart)
setFixedPath
in interface WhereClauseDefinition
public boolean getQuoteFixedPartParameters()
getQuoteFixedPartParameters
in interface WhereClauseDefinition
public boolean getEscapeFixedPartParameters()
getEscapeFixedPartParameters
in interface WhereClauseDefinition
public PredicateDefinition[] getPredicates()
getPredicates
in interface WhereClauseDefinition
public void setPredicates(PredicateDefinition[] predicates)
setPredicates
in interface WhereClauseDefinition
public String getFixedPart()
getFixedPart
in interface WhereClauseDefinition
public void setFixedPart(String fixedPart)
setFixedPart
in interface WhereClauseDefinition
public Class<? extends Escaper> getEscaperClass()
getEscaperClass
in interface WhereClauseDefinition
public String getSelectStatement()
WhereClauseDefinition
getSelectStatement
in interface WhereClauseDefinition
public WhereClauseDescriptor clone()
Copyright © 2017 Nuxeo. All rights reserved.