Interface QueryObjectRule


public interface QueryObjectRule
Provides methods to retrieve information related to a query object rule. This is a contract object for the Queryobjectrule subcomponent under Integrationrule.
  • Method Details

    • getName

      String getName()
      Retrieves this Queryobjectrule name. For example, product_rule__c.
      Returns:
      Queryobjectrule name
    • getLabel

      String getLabel()
      Retrieves this Queryobjectrule label. For example, Product Rule.
      Returns:
      Queryobjectrule label
    • isActive

      boolean isActive()
      Determines whether this Queryobjectrule is active.
      Returns:
      status of the Queryobjectrule, true if active or false if inactive
    • getQueryObject

      String getQueryObject()
      Retrieves the name of the query object. For example, product__v.
      Returns:
      name of object
    • getFilterClause

      String getFilterClause()
      Retrieves this QueryObjectRule clause with any tokens unresolved.
      Returns:
      rule clause
    • getResolvedFilterClause

      String getResolvedFilterClause(Map<String,String> tokenMap)
      Retrieves the resolved Queryobjectrule filter clause for a given source object.
      Parameters:
      tokenMap - key/value pairs of tokens to replace in the clause
      Returns:
      resolved clause applying to the specified source object