|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FilterNotifyAdapter
This adapter used for email notification
Method Summary | |
---|---|
java.util.Map |
getDataMapImpl(SessionContext sc,
SecuredTaskBean task,
java.lang.String sourceTaskName,
java.lang.String sourceFilterName,
java.lang.String sourceNotificationName,
java.lang.String filterId,
java.util.ArrayList items,
java.lang.String reason)
Returns a Map with data to be sent |
boolean |
processSubscriptionImpl(java.lang.String subId,
java.lang.String taskId)
Send subscription for the task |
boolean |
sendMsgImpl(java.lang.String sourceTaskName,
java.lang.String sourceFilterName,
java.lang.String sourceNotificationName,
java.lang.String templateId,
java.lang.String fi,
java.lang.String fromUser,
java.lang.String toUser,
java.lang.String task,
boolean sendForEmptyTaskList,
java.lang.String reason)
Send e-mail message |
boolean |
sendNotifyForTaskImpl(java.lang.String messageId,
java.lang.String taskId,
java.lang.String userId,
java.lang.String mstatusId,
java.lang.String singleNotificationId,
java.lang.String notificationType)
Send notification for the task |
Methods inherited from interface com.trackstudio.app.adapter.Adapter |
---|
getDescription, init |
Method Detail |
---|
boolean sendMsgImpl(java.lang.String sourceTaskName, java.lang.String sourceFilterName, java.lang.String sourceNotificationName, java.lang.String templateId, java.lang.String fi, java.lang.String fromUser, java.lang.String toUser, java.lang.String task, boolean sendForEmptyTaskList, java.lang.String reason) throws GranException
sourceTaskName
- name of task for which the message will be sentsourceFilterName
- name of filter which returns subtasks listsourceNotificationName
- name of notification ruletemplateId
- template of e-mail message's bodyfi
- source filter identifierfromUser
- from user's idtoUser
- to user's idtask
- task's idsendForEmptyTaskList
- if true, notification will be sent even if the filtered subtasks list is empty
GranException
java.util.Map getDataMapImpl(SessionContext sc, SecuredTaskBean task, java.lang.String sourceTaskName, java.lang.String sourceFilterName, java.lang.String sourceNotificationName, java.lang.String filterId, java.util.ArrayList items, java.lang.String reason) throws GranException
sc
- session contexttask
- source tasksourceFilterName
- name of filter which returns subtasks listsourceNotificationName
- name of notification rulefilterId
- source filter identifieritems
- list of subtasksreason
- reason of sending
GranException
boolean sendNotifyForTaskImpl(java.lang.String messageId, java.lang.String taskId, java.lang.String userId, java.lang.String mstatusId, java.lang.String singleNotificationId, java.lang.String notificationType) throws GranException
messageId
- message id which will be senttaskId
- task iduserId
- user idmstatusId
- id of status. Is not equals to 0, notification will be send to all users of this statuscheckMessages
- is true, tasks without messages won’t be filteredsingleNotificationId
- id of single notification rule to be executed. If not null, all other rules won’t be executednotificationType
- type of notification rule to be executed. Returned by Notification.getCondition().
GranException
boolean processSubscriptionImpl(java.lang.String subId, java.lang.String taskId) throws GranException
subId
- subscription idtaskId
- task id
GranException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |