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 thisQueryObjectRule
clause with any tokens unresolved.getLabel()
Retrieves thisQueryobjectrule
label.getName()
Retrieves thisQueryobjectrule
name.Retrieves the name of the query object.getResolvedFilterClause
(Map<String, String> tokenMap) Retrieves the resolvedQueryobjectrule
filter clause for a given source object.boolean
isActive()
Determines whether thisQueryobjectrule
is active.
-
Method Details
-
getName
String getName()Retrieves thisQueryobjectrule
name. For example,product_rule__c
.- Returns:
Queryobjectrule
name
-
getLabel
String getLabel()Retrieves thisQueryobjectrule
label. For example, Product Rule.- Returns:
Queryobjectrule
label
-
isActive
boolean isActive()Determines whether thisQueryobjectrule
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 thisQueryObjectRule
clause with any tokens unresolved.- Returns:
- rule clause
-
getResolvedFilterClause
Retrieves the resolvedQueryobjectrule
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
-