Sets the correct message receiver base on the notification type (must already be set) and sets the correct locale for the provided user (if the Message is of the sub-class TemplateMessage)
Syntax
void
setReceiverAndLocale
(
Message
message
,
Customer
receiver
,
long
actor
)
Parameters
-
message –
the message in which the field will be populated.
-
customer –
who is the receiver of the message
-
actor –
who has invoked the service (for tracking purposes)