1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.core.messages.dao;
17
18 import java.util.List;
19
20 import org.kuali.student.core.messages.entity.MessageEntity;
21
22
23 public interface MessageManagementDAO {
24 public MessageEntity addMessage(MessageEntity me);
25 public int getTotalMessages();
26 public List<String> getLocales();
27 public List<String> getMessageGroups();
28 public MessageEntity getMessage(String locale, String groupKey, String messageKey);
29 public List<MessageEntity> getMessages(String locale, String groupKey);
30 public List<MessageEntity> getMessagesByGroups(String locale, List<String> groupKeys);
31 public MessageEntity updateMessage(String locale, String groupKey, String messageKey, MessageEntity updatedMessage);
32 }