social-common / pragma.account / BulkActionPlugin /

BulkActionPlugin #

interface BulkActionPlugin

Plugin used to execute customer defined actions on a list of Pragma Accounts that match a AccountRpc.PlayerSearchFilter.

Functions #

NameSummary

apply

abstract suspend fun apply(matchedAccountsOverviews: List<PragmaAccountOverview>, matchedAccounts: List<SocialIdentityWithPersonal>, operatorSession: OperatorSession, requestExt: ExtBulkAction): List<PragmaAccountOverview>

Executes a customer defined action on a list of Pragma Accounts that match a AccountRpc.PlayerSearchFilter. The behavior of this plugin can be informed by the customer defined ExtBulkAction.

needsFullPragmaAccount

abstract suspend fun needsFullPragmaAccount(requestExt: ExtBulkAction): Boolean

Defines whether the BulkActionPlugin.apply will need full account data populated in matchedAccounts.