Class sap.apf.utils.FilterOrModule: sap/apf/utils/filter


Constructor Summary
new sap.apf.utils.FilterOr(oMessageHandler, sId, oAnd)
Method Summary
addAnd(sId)Adds an object of type sap.apf.utils.FilterAnd.
addExpression(oExpression)Adds an expression object to this filter.
getId()Retrieves an ID of the term.
Constructor Detail
new sap.apf.utils.FilterOr(oMessageHandler, sId, oAnd)
Parameters:
{sap.apf.core.MessageHandler}oMessageHandler
{string}sId Identifier for the object
{sap.apf.utils.FilterAnd}oAnd Parent object
Method Detail
Adds an object of type sap.apf.utils.FilterAnd.
Parameters:
{string}sId Identifier for the object to be added.
Returns:
{sap.apf.utils.FilterAnd}
addExpression(oExpression): sap.apf.utils.FilterOr
Adds an expression object to this filter.
Parameters:
{object}oExpression Expression object
oExpression.id Expression ID
oExpression.name Expression name
{sap.apf.core.constants.FilterOperators}oExpression.operator Expression operator of type
oExpression.value Expression value
Returns:
{sap.apf.utils.FilterOr} this to allow method chaining
getId(): string
Retrieves an ID of the term.
Returns:
{string} ID of the term.