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 Summary
Modifier and TypeMethodDescriptionRetrieves thisQueryObjectRuleclause with any tokens unresolved.getLabel()Retrieves thisQueryobjectrulelabel.getName()Retrieves thisQueryobjectrulename.Retrieves the name of the query object.getResolvedFilterClause(Map<String, String> tokenMap) Retrieves the resolvedQueryobjectrulefilter clause for a given source object.booleanisActive()Determines whether thisQueryobjectruleis active.
-
Method Details
-
getName
String getName()Retrieves thisQueryobjectrulename. For example,product_rule__c.- Returns:
Queryobjectrulename
-
getLabel
String getLabel()Retrieves thisQueryobjectrulelabel. For example, Product Rule.- Returns:
Queryobjectrulelabel
-
isActive
boolean isActive()Determines whether thisQueryobjectruleis 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 thisQueryObjectRuleclause with any tokens unresolved.- Returns:
- rule clause
-
getResolvedFilterClause
Retrieves the resolvedQueryobjectrulefilter 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
-