gran.app.adapter.email
Class BaseFilterNotifyAdapter
java.lang.Object
gran.app.adapter.email.BaseFilterNotifyAdapter
- All Implemented Interfaces:
- Adapter, FilterNotifyAdapter
- public class BaseFilterNotifyAdapter
- extends java.lang.Object
- implements FilterNotifyAdapter
|
Method Summary |
java.util.LinkedList |
findNotificationImpl(java.lang.String taskId,
java.lang.String userId,
java.util.LinkedList result)
|
java.util.Map |
getDataMapImpl(SessionContext sc,
SecuredTaskBean task,
java.lang.String filterInfo,
java.lang.String filterId,
java.util.ArrayList items)
|
java.lang.String |
getDescription()
Get description of adapter as plain text |
boolean |
init()
Initialize adapter. |
void |
sendMsgImpl(java.lang.String filterInfo,
java.lang.String templateId,
java.lang.String filterId,
java.lang.String fromUser,
java.lang.String toUser,
java.lang.String taskId)
Secure: Internal security |
void |
sendNotificationImpl(java.lang.String messageid,
java.lang.String taskid,
java.lang.String fromUser,
java.lang.String toUser,
boolean checkMessages)
|
void |
sendNotifyForTaskImpl(java.lang.String messageId,
java.lang.String taskId,
java.lang.String userId,
java.lang.String mstatusId,
boolean checkMessages)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseFilterNotifyAdapter
public BaseFilterNotifyAdapter()
init
public boolean init()
- Description copied from interface:
Adapter
- Initialize adapter. TrackStudio calls this method
during startup.
- Specified by:
init in interface Adapter
- Returns:
- true when adapter initialized, false otherwise.
getDescription
public java.lang.String getDescription()
- Description copied from interface:
Adapter
- Get description of adapter as plain text
- Specified by:
getDescription in interface Adapter
getDataMapImpl
public java.util.Map getDataMapImpl(SessionContext sc,
SecuredTaskBean task,
java.lang.String filterInfo,
java.lang.String filterId,
java.util.ArrayList items)
throws GranException
- Specified by:
getDataMapImpl in interface FilterNotifyAdapter
- Throws:
GranException
sendMsgImpl
public void sendMsgImpl(java.lang.String filterInfo,
java.lang.String templateId,
java.lang.String filterId,
java.lang.String fromUser,
java.lang.String toUser,
java.lang.String taskId)
throws GranException
Secure: Internal security
- Specified by:
sendMsgImpl in interface FilterNotifyAdapter
- Parameters:
filterInfo - filterId - templateId - Template (EmailType) identifiertaskId -
- Throws:
GranException
findNotificationImpl
public java.util.LinkedList findNotificationImpl(java.lang.String taskId,
java.lang.String userId,
java.util.LinkedList result)
throws GranException
- Specified by:
findNotificationImpl in interface FilterNotifyAdapter
- Throws:
GranException
sendNotificationImpl
public void sendNotificationImpl(java.lang.String messageid,
java.lang.String taskid,
java.lang.String fromUser,
java.lang.String toUser,
boolean checkMessages)
throws GranException
- Specified by:
sendNotificationImpl in interface FilterNotifyAdapter
- Throws:
GranException
sendNotifyForTaskImpl
public void sendNotifyForTaskImpl(java.lang.String messageId,
java.lang.String taskId,
java.lang.String userId,
java.lang.String mstatusId,
boolean checkMessages)
throws GranException
- Specified by:
sendNotifyForTaskImpl in interface FilterNotifyAdapter
- Throws:
GranException
Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.