Interface XPathSchemaQuery
- 
- All Superinterfaces:
- XPathQueryBase
 
 public interface XPathSchemaQuery extends XPathQueryBase Provides an interface to XPath schema queries.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description XPathSchemaQuerysetDisableSecurity(boolean disable)Determines whether security should be applied for this retrieval.XPathSchemaQuerysetRetrievalSchema(IRetrievalSchema schema)Adds a retrieval schema to this query.XPathSchemaQuerysetShouldRetrieveCount(boolean shouldRetrieveCount)Determines whether the total number of objects corresponding to this schema should be included in the result.XPathSchemaQuerysetVariable(java.lang.String name, boolean value)Sets a variable with a value of typeBooleanXPathSchemaQuerysetVariable(java.lang.String name, double value)Sets a variable with a value of typeDoubleXPathSchemaQuerysetVariable(java.lang.String name, int value)Sets a variable with a value of typeIntegerXPathSchemaQuerysetVariable(java.lang.String name, long value)Sets a variable with a value of typeLongXPathSchemaQuerysetVariable(java.lang.String name, IMendixIdentifier identifier)Sets a variable with a value of typeIMendixIdentifierXPathSchemaQuerysetVariable(java.lang.String name, IMendixObject object)Sets a variable with a value of typeIMendixObjectXPathSchemaQuerysetVariable(java.lang.String name, java.lang.String value)Sets a variable with a value of typeStringXPathSchemaQuerysetVariable(java.lang.String name, java.math.BigDecimal value)Sets a variable with a value of typeBigDecimalXPathSchemaQuerysetVariable(java.lang.String name, java.util.Collection<?> values)Sets a variable with a value of typeCollection- 
Methods inherited from interface com.mendix.datastorage.XPathQueryBaseexecute, executeAggregateDouble, executeAggregateLong, executeRaw
 
- 
 
- 
- 
- 
Method Detail- 
setRetrievalSchemaXPathSchemaQuery setRetrievalSchema(IRetrievalSchema schema) Adds a retrieval schema to this query. The schema defines paging and sorting on the query.- Parameters:
- schema- the schema to apply
- Returns:
- the updated query instance
 
 - 
setDisableSecurityXPathSchemaQuery setDisableSecurity(boolean disable) Determines whether security should be applied for this retrieval.- Parameters:
- disable- true to disable security checks, false to enable security checks
- Returns:
- the updated query instance
 
 - 
setShouldRetrieveCountXPathSchemaQuery setShouldRetrieveCount(boolean shouldRetrieveCount) Determines whether the total number of objects corresponding to this schema should be included in the result.- Parameters:
- shouldRetrieveCount- true to include the number of corresponding objects, false otherwise
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, java.math.BigDecimal value) Sets a variable with a value of typeBigDecimalAdds a BigDecimalvariable In XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.- Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- value- variable that represents a literal- BigDecimalvalue
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, boolean value) Sets a variable with a value of typeBooleanIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- value- variable that represents a literal- Booleanvalue
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, double value) Sets a variable with a value of typeDoubleIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- value- variable that represents a literal- Doublevalue
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, int value) Sets a variable with a value of typeIntegerIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- value- variable that represents a literal- Integervalue
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, long value) Sets a variable with a value of typeLongIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- value- variable that represents a literal- Longvalue
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, IMendixObject object) Sets a variable with a value of typeIMendixObjectIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- object- variable that represents a- IMendixObjectvalue. Will be replaced by it's identifier in the query
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, IMendixIdentifier identifier) Sets a variable with a value of typeIMendixIdentifierIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- identifier- variable that represents an identifier of an object
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, java.lang.String value) Sets a variable with a value of typeStringIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- value- variable that represents a literal- Stringvalue
- Returns:
- the updated query instance
 
 - 
setVariableXPathSchemaQuery setVariable(java.lang.String name, java.util.Collection<?> values) Sets a variable with a value of typeCollectionIn XPath queries it is possible to add variables. A variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field = $values]'. - Specified by:
- setVariablein interface- XPathQueryBase
- Parameters:
- name- name of variables referenced in the expression (without '$') and their values
- values- variable that represents a collection of values
- Returns:
- the updated query instance
 
 
- 
 
-