public interface INoticeSystem extends Remote
| Modifier and Type | Field and Description |
|---|---|
static String |
INTERNAL_NOTICE_PERIOD |
static String |
MAIL_CONF_PROPERTIES |
static String |
NOTICE_CONTENT
Notice entity column name which specifies the notice content
|
static String |
NOTICE_CREATE_DATE
Notice entity column name that specifies the notice generation date
|
static String |
NOTICE_DELETE_RECEIVE_NOTICE
This column sets the received notice as deleted
|
static String |
NOTICE_DELETE_SEND_NOTICE
This column sets the sent notices as deleted
|
static String |
NOTICE_DESTINY_KEY
Key name of the notice destiny entity.
|
static String |
NOTICE_ENTITY_DESTINY_TABLE_DB |
static String |
NOTICE_ENTITY_TABLE_DB |
static String |
NOTICE_FORCE_READ
Notice entity column name which indicates if this is a mandatory read
notice
|
static String |
NOTICE_FROM_PARAMETER
Column name of the notices entity where is stored the name of the user
that generates the notice
|
static String |
NOTICE_KEY
Notice entity key
|
static String |
NOTICE_MAILTO_PARAMETER
Destiny entity column name which the mail addresses the notices are send
to are stored in
|
static String |
NOTICE_MESSAGE_COLUMN_NAME |
static String |
NOTICE_MESSAGE_TYPE_COLUMN_NAME |
static String |
NOTICE_OTHER_COLUMNS |
static String |
NOTICE_READ
Destiny entity column name which indicates if this notice has been read
(this column is only used for internal notices)
|
static String |
NOTICE_READ_DATE
Destiny entity column name which indicates the notice read date
|
static String |
NOTICE_RESPONSE_REQUEST
Notices entity column name which indicates if this notice requests
confirmation (0 = without response request)
|
static String |
NOTICE_SEND
Destiny entity column name which indicates if this notice has been sent,
when notice is internal notice this columns indicates if destiny user has
queried the notice.
|
static String |
NOTICE_SEND_DATE
Destiny entity column name which specifies the notice sent date
|
static String |
NOTICE_SEND_MAIL
Destiny entity column name which indicates if this notice must be send in
a email (0 = internal notice, 1= email notice)
|
static String |
NOTICE_SUBJECT
Notice entity column name which specifies se notice subject
|
static String |
NOTICE_SYSTEM
Parameter that must exists in the reference locator (local and remote) to
allow that all notices threads start.
|
static String |
NOTICE_TO_PARAMETER
Column name of the destiny entity where user name is stored
|
static String |
PROP_NOTICE_CLASS_MAIL |
static String |
PROP_NOTICE_CONFIG_DEFAULT_TEMPLATE |
static String |
PROP_NOTICE_CONFIG_MAIL |
static String |
PROP_NOTICE_CONFIG_REQUEST_TEMPLATE |
static String |
PROP_NOTICE_CONFIG_TEMPLATES |
static String |
PROP_NOTICE_ENTITY_DESTINY_NAME |
static String |
PROP_NOTICE_ENTITY_NAME |
static String |
SEND_MAIL_PERIOD |
| Modifier and Type | Method and Description |
|---|---|
void |
checkNoticeSent(int sessionId,
Object noticeKey)
This method sets a notices as sent
|
EntityResult |
getInternalNotices(int sessionId,
boolean unsend,
boolean unread,
boolean deleted)
Method to get all notices for the specified user.
|
String |
getNoticeEntityDestinyName()
Get the name of the notice destiny entity
|
String |
getNoticeEntityName()
Get the name of the notice entity
|
Vector |
getNoticeTypes()
Get the identifies for all notices types in the application
|
EntityResult |
getSentNotices(int sessionId,
Boolean deleted)
Method to query all notices sent by the specified user
|
Object |
getUserId(int sessionId)
Get the identification of the user that must be stored in the notice
system to identify this application user.
|
void |
removeReceivedNotices(int sessionId,
Vector idNotices)
This method removes the specified received notices for the user with this
session identifier.
|
void |
removeSentNotices(int sessionId,
Vector idNotices)
This method sets the specified notices as deleted
|
void |
sendNotice(Hashtable messageValues,
int sessionId,
boolean request)
Method used to send notices.
|
void |
setNoticesRead(int sessionId,
Vector idNotices)
Method to set some notices as read
|
static final String NOTICE_SYSTEM
static final String PROP_NOTICE_ENTITY_NAME
static final String PROP_NOTICE_ENTITY_DESTINY_NAME
static final String PROP_NOTICE_CONFIG_MAIL
static final String PROP_NOTICE_CLASS_MAIL
static final String PROP_NOTICE_CONFIG_TEMPLATES
static final String PROP_NOTICE_CONFIG_DEFAULT_TEMPLATE
static final String PROP_NOTICE_CONFIG_REQUEST_TEMPLATE
static final String MAIL_CONF_PROPERTIES
static final String INTERNAL_NOTICE_PERIOD
static final String SEND_MAIL_PERIOD
static final String NOTICE_ENTITY_TABLE_DB
static final String NOTICE_ENTITY_DESTINY_TABLE_DB
static final String NOTICE_MESSAGE_TYPE_COLUMN_NAME
static final String NOTICE_OTHER_COLUMNS
static final String NOTICE_KEY
static final String NOTICE_DESTINY_KEY
static final String NOTICE_TO_PARAMETER
static final String NOTICE_FROM_PARAMETER
static final String NOTICE_MAILTO_PARAMETER
static final String NOTICE_RESPONSE_REQUEST
static final String NOTICE_SEND_MAIL
static final String NOTICE_READ
static final String NOTICE_READ_DATE
static final String NOTICE_SEND
static final String NOTICE_CREATE_DATE
static final String NOTICE_SEND_DATE
static final String NOTICE_SUBJECT
static final String NOTICE_CONTENT
static final String NOTICE_FORCE_READ
static final String NOTICE_DELETE_SEND_NOTICE
static final String NOTICE_DELETE_RECEIVE_NOTICE
static final String NOTICE_MESSAGE_COLUMN_NAME
void sendNotice(Hashtable messageValues, int sessionId, boolean request) throws Exception
messageValues - sessionId - request - If this is true, the notices is a request notice. In this case
the correct template must be selectedExceptionEntityResult getInternalNotices(int sessionId, boolean unsend, boolean unread, boolean deleted) throws Exception
sessionId - User session identifierunsend - When this is true only return the unsend noticesunread - When this is true ontly return the unread noticesExceptionvoid setNoticesRead(int sessionId,
Vector idNotices)
throws Exception
sessionId - User session identifieridNotices - Array with the notice keysExceptionEntityResult getSentNotices(int sessionId, Boolean deleted) throws Exception
sessionId - User session identifierdeleted - deleted = true only query the deleted notices Exceptionvoid checkNoticeSent(int sessionId,
Object noticeKey)
throws Exception
sessionId - User session identifiernoticeKey - Notice key.Exceptionvoid removeSentNotices(int sessionId,
Vector idNotices)
throws Exception
sessionId - User session identifieridNotices - Keys of the notices to removeExceptionvoid removeReceivedNotices(int sessionId,
Vector idNotices)
throws Exception
sessionId - User session identifieridNotices - Notice keysExceptionVector getNoticeTypes() throws Exception
ExceptionString getNoticeEntityName() throws Exception
ExceptionString getNoticeEntityDestinyName() throws Exception
ExceptionObject getUserId(int sessionId) throws Exception
sessionId - User session identifierExceptionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.