UpdateStrategyConfig
Objekt dass die möglichen Updatestrategien für das Customizing erstellbar macht.
Methods
none
none():
INotificationUpdateStrategy
creates the absolut basic update strategy that has no special handling at all.
Returns
Returns an UpdateStrategy that can be passed for example to the updateUserNotificationsStateWithRecordsRecipe method
withTypeAndStateExclusion
withTypeAndStateExclusion(
pStateField,pTypeField):INotificationUpdateStrategy
creates a notification update strategy where the newly set state is excluded and where (in some cases) a type is excluded. For example: Exclude non archivable Notifications when the new type is ARCHIVE.
Parameters
string | number | booleanName of the Field for the state (like seen, unseen, new, etc.) within the used notification entity; The field needs to be filterable
string | number | booleanName of the Field for the notification type(code) within the used notification entity; The field needs to be filterable
Returns
Returns an UpdateStrategy that can be passed for example to the updateUserNotificationsStateWithRecordsRecipe method