Interface XPathQueryBase
-
- All Known Subinterfaces:
XPathBasicQuery
,XPathQuery
,XPathSchemaQuery
public interface XPathQueryBase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IMendixObject>
execute(IContext context)
Retrieves object list using the given context (synchronously).XPathQueryBase
setVariable(java.lang.String name, boolean value)
Sets a variable with a value of typeBoolean
XPathQueryBase
setVariable(java.lang.String name, double value)
Sets a variable with a value of typeDouble
XPathQueryBase
setVariable(java.lang.String name, int value)
Sets a variable with a value of typeInteger
XPathQueryBase
setVariable(java.lang.String name, long value)
Sets a variable with a value of typeLong
XPathQueryBase
setVariable(java.lang.String name, IMendixIdentifier identifier)
Sets a variable with a value of typeIMendixIdentifier
XPathQueryBase
setVariable(java.lang.String name, IMendixObject object)
Sets a variable with a value of typeIMendixObject
XPathQueryBase
setVariable(java.lang.String name, java.lang.String value)
Sets a variable with a value of typeString
XPathQueryBase
setVariable(java.lang.String name, java.math.BigDecimal value)
Sets a variable with a value of typeBigDecimal
-
-
-
Method Detail
-
execute
java.util.List<IMendixObject> execute(IContext context)
Retrieves object list using the given context (synchronously).- Parameters:
context
- the context to be used to process this request- Returns:
- the list of retrieved objects.
-
setVariable
XPathQueryBase setVariable(java.lang.String name, java.math.BigDecimal value)
Sets a variable with a value of typeBigDecimal
Adds a
BigDecimal
variable In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.- Parameters:
name
- name of variables referenced in the expression (without '$') and their values.value
- variable that represents a literalBigDecimal
value- Returns:
- the updated query instance
-
setVariable
XPathQueryBase setVariable(java.lang.String name, boolean value)
Sets a variable with a value of typeBoolean
In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.
- Parameters:
name
- name of variables referenced in the expression (without '$') and their values.value
- variable that represents a literalBoolean
value- Returns:
- the updated query instance
-
setVariable
XPathQueryBase setVariable(java.lang.String name, double value)
Sets a variable with a value of typeDouble
In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.
- Parameters:
name
- name of variables referenced in the expression (without '$') and their values.value
- variable that represents a literalDouble
value- Returns:
- the updated query instance
-
setVariable
XPathQueryBase setVariable(java.lang.String name, int value)
Sets a variable with a value of typeInteger
In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.
- Parameters:
name
- name of variables referenced in the expression (without '$') and their values.value
- variable that represents a literalInteger
value- Returns:
- the updated query instance
-
setVariable
XPathQueryBase setVariable(java.lang.String name, long value)
Sets a variable with a value of typeLong
In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.
- Parameters:
name
- name of variables referenced in the expression (without '$') and their values.value
- variable that represents a literalLong
value- Returns:
- the updated query instance
-
setVariable
XPathQueryBase setVariable(java.lang.String name, IMendixObject object)
Sets a variable with a value of typeIMendixObject
In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.
- Parameters:
name
- name of variables referenced in the expression (without '$') and their values.object
- variable that represents aIMendixObject
value. Will be replaced by it's identifier in the query- Returns:
- the updated query instance
-
setVariable
XPathQueryBase setVariable(java.lang.String name, IMendixIdentifier identifier)
Sets a variable with a value of typeIMendixIdentifier
In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.
- 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
-
setVariable
XPathQueryBase setVariable(java.lang.String name, java.lang.String value)
Sets a variable with a value of typeString
In XPath queries it is possible to add variables Variable can be denoted with '$', e.g. a valid query syntax could be '//Entity.Ref[field >= $limit]'.
- Parameters:
name
- name of variables referenced in the expression (without '$') and their values.value
- variable that represents a literalString
value- Returns:
- the updated query instance
-
-