public interface INoticeEntity
| Modifier and Type | Method and Description |
|---|---|
void |
checkNoticeSent(Object idNotice)
Marks a notices as sent and update the date sent
|
EntityResult |
getInternalNotices(int sessionId,
boolean unsend,
boolean unread,
boolean deleted)
Gets all the records for the user with the specified sessionId and set
these messages as read and update the sent date
|
EntityResult |
getNewMailNotice()
Get the information about e-mail notices that have not been already sent
|
EntityResult |
getSentNotices(int sessionId,
Boolean deleted) |
void |
removeReceivedNotices(int sessionId,
Vector noticeskeys)
Sets the specified notices for the specified user as removed.
|
void |
removeSentNotices(int sessionId,
Vector noticesKeys)
Set the specified notices as deleted but does not remove them from the
database
|
void |
sentNotices(Hashtable kv,
int sessionId,
boolean request)
Inserts the notice in the notice table and insert all destinies in
destiny notice table
All message fields are inserted and a new field using the template for this notice type is created and also inserted in the notice table |
void |
setNoticesRead(int sessionId,
Vector readNotices)
Set all the specified notices as read
|
EntityResult getSentNotices(int sessionId, Boolean deleted) throws Exception
sessionId - deleted - Exceptionvoid sentNotices(Hashtable kv, int sessionId, boolean request) throws Exception
kv - sessionId - ExceptionEntityResult getInternalNotices(int sessionId, boolean unsend, boolean unread, boolean deleted) throws Exception
sessionId - unsend - unread - deleted - Exceptionvoid setNoticesRead(int sessionId,
Vector readNotices)
throws Exception
sessionId - User identifierreadNotices - List with the keys of the notices to updateExceptionEntityResult getNewMailNotice() throws Exception
Exceptionvoid checkNoticeSent(Object idNotice) throws Exception
idNotice - Exceptionvoid removeSentNotices(int sessionId,
Vector noticesKeys)
throws Exception
sessionId - noticesKeys - ExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.