Foundations Apex API Developer Reference

fferpcore.PublicationMatcher

global interface PublicationMatcher

Interface capable of matching fferpcore.DataSource rows for filtering when creating messages.

Methods

prepare

void prepare(fferpcore.DataSource dataSource)

Prepares the given fferpcore.DataSource for matching. For instance, one way in which this is used is to require a field with a value that is to be matched.

Input Parameters

Name Type Description
dataSource fferpcore.DataSource The DataSource to be prepared for matching.

matches

Boolean matches(fferpcore.DataSource.Row dataSourceRow)

Determines whether the given fferpcore.DataSource row is a match.

Input Parameters

Name Type Description
dataSourceRow fferpcore.DataSource.Row The DataSource row to be checked for a match.

Return Value

A Boolean value indicating whether the row is a match.

© Copyright 2009–2022 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.