Package ru.bgcrm.plugin.mobile
Class ExpressionObject
java.lang.Object
ru.bgcrm.dao.expression.ExpressionContextAccessingObject
ru.bgcrm.plugin.mobile.ExpressionObject
-
Field Summary
Fields inherited from class ru.bgcrm.dao.expression.ExpressionContextAccessingObject
expression
-
Constructor Summary
-
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.Methods inherited from class ru.bgcrm.dao.expression.ExpressionContextAccessingObject
setExpression
-
Constructor Details
-
ExpressionObject
public ExpressionObject()
-
-
Method Details
-
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
-