|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.pubsub.SubscriptionContentProvider
com.webmethods.caf.faces.data.pubsub.PubSubContentProvider
com.webmethods.caf.faces.data.task.impl.TaskNotificationContentProvider
public class TaskNotificationContentProvider
Bean which is implements sending task notifications and to subscribe/un-subscribe users to task subscriptions
Field Summary | |
---|---|
protected boolean |
m_notifyAssignedUsers
Flag on whether to send notification only to users assigned to a task (or user is member of group or role assigned to a task) |
protected ITaskContentProvider |
m_taskClientBean
Represents instance of the task to send notification about |
Fields inherited from class com.webmethods.caf.faces.data.pubsub.PubSubContentProvider |
---|
m_notificationBodyView, m_notificationSubject, m_principalID, m_principalType, m_sourceID |
Fields inherited from class com.webmethods.caf.faces.data.pubsub.SubscriptionContentProvider |
---|
m_subscriptionID, m_subscriptionName, PRINCIPAL_TYPE_GROUP, PRINCIPAL_TYPE_ROLE, PRINCIPAL_TYPE_USER |
Constructor Summary | |
---|---|
TaskNotificationContentProvider()
|
Method Summary | |
---|---|
ITaskContentProvider |
getTaskClientBean()
Returns instance of the task object when sending notification |
boolean |
isNotifyAssignedUsers()
Return flag if to notify only users assigned to the task. |
void |
publish()
Publish new notification for source object. |
void |
setNotifyAssignedUsers(boolean notifyAssignedUsers)
Sets flag to notify only users assigned to the task. |
void |
setTaskClientBean(ITaskContentProvider taskClientBean)
Sets instance of task object to send notification about |
Methods inherited from class com.webmethods.caf.faces.data.pubsub.PubSubContentProvider |
---|
getNotificationBodyView, getNotificationSubject, getPrincipalID, getPrincipalType, setNotificationBodyView, setNotificationSubject, setPrincipalID, setPrincipalType |
Methods inherited from class com.webmethods.caf.faces.data.pubsub.SubscriptionContentProvider |
---|
getSubscribers, getSubscriptionID, getSubscriptionName, getSubscriptionObjectID, isSubscribed, setSubscriptionID, setSubscriptionName, subscribe, unsubscribe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ITaskContentProvider m_taskClientBean
protected boolean m_notifyAssignedUsers
Constructor Detail |
---|
public TaskNotificationContentProvider()
Method Detail |
---|
public ITaskContentProvider getTaskClientBean()
public void setTaskClientBean(ITaskContentProvider taskClientBean)
public boolean isNotifyAssignedUsers()
public void setNotifyAssignedUsers(boolean notifyAssignedUsers)
public void publish() throws ContentProviderException
PubSubContentProvider
publish
in class PubSubContentProvider
ContentProviderException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |