Interface MessageServiceAsync
public interface MessageServiceAsync
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteTemplates
(String name, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
deleteTemplates
(List<Long> ids, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
getMessage
(long messageId, boolean markAsRead, com.google.gwt.user.client.rpc.AsyncCallback<GUIMessage> callback) void
getTemplate
(long templateId, com.google.gwt.user.client.rpc.AsyncCallback<GUIMessageTemplate> callback) void
loadTemplates
(String language, String type, com.google.gwt.user.client.rpc.AsyncCallback<List<GUIMessageTemplate>> callback) void
save
(GUIMessage message, List<Long> recipientIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) void
saveTemplates
(List<GUIMessageTemplate> templates, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback)
-
Method Details
-
delete
-
getMessage
void getMessage(long messageId, boolean markAsRead, com.google.gwt.user.client.rpc.AsyncCallback<GUIMessage> callback) -
save
void save(GUIMessage message, List<Long> recipientIds, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
loadTemplates
void loadTemplates(String language, String type, com.google.gwt.user.client.rpc.AsyncCallback<List<GUIMessageTemplate>> callback) -
saveTemplates
void saveTemplates(List<GUIMessageTemplate> templates, com.google.gwt.user.client.rpc.AsyncCallback<Void> callback) -
deleteTemplates
-
deleteTemplates
-
getTemplate
void getTemplate(long templateId, com.google.gwt.user.client.rpc.AsyncCallback<GUIMessageTemplate> callback)
-