Interface XPathSchemaQuery

All Superinterfaces:
XPathQueryBase

public interface XPathSchemaQuery extends XPathQueryBase
  • Method Details

    • setRetrievalSchema

      XPathSchemaQuery 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
    • setDisableSecurity

      XPathSchemaQuery 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
    • setShouldRetrieveCount

      XPathSchemaQuery 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
    • setVariable

      XPathSchemaQuery setVariable(String name, BigDecimal value)
      Sets a variable with a value of type BigDecimal

      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]'.

      Specified by:
      setVariable in interface XPathQueryBase
      Parameters:
      name - name of variables referenced in the expression (without '$') and their values.
      value - variable that represents a literal BigDecimal value
      Returns:
      the updated query instance
    • setVariable

      XPathSchemaQuery setVariable(String name, boolean value)
      Sets a variable with a value of type Boolean

      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]'.

      Specified by:
      setVariable in interface XPathQueryBase
      Parameters:
      name - name of variables referenced in the expression (without '$') and their values.
      value - variable that represents a literal Boolean value
      Returns:
      the updated query instance
    • setVariable

      XPathSchemaQuery setVariable(String name, double value)
      Sets a variable with a value of type Double

      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]'.

      Specified by:
      setVariable in interface XPathQueryBase
      Parameters:
      name - name of variables referenced in the expression (without '$') and their values.
      value - variable that represents a literal Double value
      Returns:
      the updated query instance
    • setVariable

      XPathSchemaQuery setVariable(String name, int value)
      Sets a variable with a value of type Integer

      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]'.

      Specified by:
      setVariable in interface XPathQueryBase
      Parameters:
      name - name of variables referenced in the expression (without '$') and their values.
      value - variable that represents a literal Integer value
      Returns:
      the updated query instance
    • setVariable

      XPathSchemaQuery setVariable(String name, long value)
      Sets a variable with a value of type Long

      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]'.

      Specified by:
      setVariable in interface XPathQueryBase
      Parameters:
      name - name of variables referenced in the expression (without '$') and their values.
      value - variable that represents a literal Long value
      Returns:
      the updated query instance
    • setVariable

      XPathSchemaQuery setVariable(String name, IMendixObject object)
      Sets a variable with a value of type IMendixObject

      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]'.

      Specified by:
      setVariable in interface XPathQueryBase
      Parameters:
      name - name of variables referenced in the expression (without '$') and their values.
      object - variable that represents a IMendixObject value. Will be replaced by it's identifier in the query
      Returns:
      the updated query instance
    • setVariable

      XPathSchemaQuery setVariable(String name, IMendixIdentifier identifier)
      Sets a variable with a value of type IMendixIdentifier

      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]'.

      Specified by:
      setVariable in 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
    • setVariable

      XPathSchemaQuery setVariable(String name, String value)
      Sets a variable with a value of type String

      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]'.

      Specified by:
      setVariable in interface XPathQueryBase
      Parameters:
      name - name of variables referenced in the expression (without '$') and their values.
      value - variable that represents a literal String value
      Returns:
      the updated query instance