public interface SubscriberInterface
Modifier and Type | Method and Description |
---|---|
void |
createNewMessage(HashMap<String,String> hashAttachs)
Creates the new message.
|
void |
deleteMessage(String id)
Delete message.
|
void |
forwardMessage(String fromLogin,
String subject,
List<String> listContactsLogin,
Date date,
HashMap<String,String> hashAttachs,
String textMessage)
Forward message.
|
void |
loadReceivedMessages()
Load received messages.
|
void |
loadSentMessages()
Load sent messages.
|
void |
markAsReadMessage(String id,
boolean isRead)
Mark as read message.
|
void |
replyMessage(String fromLogin,
String subject,
List<String> listContactsLogin,
Date date,
String textMessage)
Reply message.
|
void |
rootLoaded(FileModel root)
Root loaded.
|
void |
updatePrevieMessage(MessageModel message)
Update previe message.
|
void rootLoaded(FileModel root)
root
- the rootvoid loadSentMessages()
void loadReceivedMessages()
void deleteMessage(String id)
id
- the idvoid markAsReadMessage(String id, boolean isRead)
id
- the idisRead
- the is readvoid updatePrevieMessage(MessageModel message)
message
- the messagevoid createNewMessage(HashMap<String,String> hashAttachs)
hashAttachs
- the hash attachsvoid forwardMessage(String fromLogin, String subject, List<String> listContactsLogin, Date date, HashMap<String,String> hashAttachs, String textMessage)
fromLogin
- the from loginsubject
- the subjectlistContactsLogin
- the list contacts logindate
- the datehashAttachs
- the hash attachstextMessage
- the text messageCopyright © 2016. All Rights Reserved.