Package ru.bgcrm.plugin.mobile
Class ExpressionObject
java.lang.Object
ru.bgcrm.dao.expression.ExpressionContextAccessingObject
ru.bgcrm.plugin.mobile.ExpressionObject
- All Implemented Interfaces:
ExpressionObject
-
Field Summary
Fields inherited from class ru.bgcrm.dao.expression.ExpressionContextAccessingObject
context
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendMessageToExecutors
(String subject, String text) Sends mobile app push notification to executors, except ones from the currentDynActionForm
.void
sendMessageToUsers
(String subject, String text, Iterable<Integer> userIds) Sends mobile app push notification to executors.void
-
Method Details
-
toContext
- Specified by:
toContext
in interfaceExpressionObject
- Overrides:
toContext
in classExpressionContextAccessingObject
-
sendMessageToExecutors
Sends mobile app push notification to executors, except ones from the currentDynActionForm
.- Parameters:
subject
- message subject.text
- message text.- Throws:
SQLException
-
sendMessageToUsers
public void sendMessageToUsers(String subject, String text, Iterable<Integer> userIds) throws SQLException Sends mobile app push notification to executors.- Parameters:
subject
- message subject.text
- message text.userIds
- recipient user IDs.- Throws:
SQLException
-