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 ExpressionContextAccessingObject
context -
Method Summary
Modifier and TypeMethodDescriptionvoidsendMessageToExecutors(String subject, String text) Sends mobile app push notification to executors, except ones from the currentDynActionFormvoidsendMessageToUsers(String subject, String text, Iterable<Integer> userIds) Sends mobile app push notification to executorsvoid
-
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 subjecttext- 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 subjecttext- message textuserIds- recipient user IDs- Throws:
SQLException
-