Package ru.bgcrm.plugin.mobile
Class ExpressionObject
java.lang.Object
org.bgerp.dao.expression.ExpressionContextAccessingObject
ru.bgcrm.plugin.mobile.ExpressionObject
- All Implemented Interfaces:
ExpressionObject
-
Field Summary
Fields inherited from class org.bgerp.dao.expression.ExpressionContextAccessingObject
context -
Method Summary
Modifier and TypeMethodDescriptionvoidsendMessageToExecutors(String subject, String text) Sends mobile app push notification to executors, except ones from the currentDynActionForm.voidsendMessageToUsers(String subject, String text, Iterable<Integer> userIds) Sends mobile app push notification to executors.void
-
Method Details
-
toContext
- Specified by:
toContextin interfaceExpressionObject- Overrides:
toContextin 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
-