public class TaskNotificationImpl extends Object implements TaskNotification
| Constructor and Description |
|---|
TaskNotificationImpl(Long id,
String name,
String subject,
String content,
Date date,
List<org.kie.api.task.model.OrganizationalEntity> recipients,
List<org.kie.api.task.model.OrganizationalEntity> businessAdministrators,
boolean active) |
| Modifier and Type | Method and Description |
|---|---|
List<org.kie.api.task.model.OrganizationalEntity> |
getBusinessAdministrators()
Returns list of business admins that notification will be sent to
|
String |
getContent()
Returns the content for this notification
|
Date |
getDate()
Returns date that the notification is schedule to happen
|
Long |
getId()
Returns unique id of the task notification
|
String |
getName()
Returns optional name of the notification
|
List<org.kie.api.task.model.OrganizationalEntity> |
getRecipients()
Returns list of recipients that notification will be sent to
|
String |
getSubject()
Returns the subject line for this notification
|
boolean |
isActive()
Returns if given notification is active
|
void |
setActive(boolean active) |
void |
setBusinessAdministrators(List<org.kie.api.task.model.OrganizationalEntity> businessAdministrators) |
void |
setContent(String content) |
void |
setDate(Date date) |
void |
setId(Long id) |
void |
setName(String name) |
void |
setRecipients(List<org.kie.api.task.model.OrganizationalEntity> recipients) |
void |
setSubject(String subject) |
String |
toString() |
public Long getId()
TaskNotificationgetId in interface TaskNotificationpublic void setId(Long id)
public String getName()
TaskNotificationgetName in interface TaskNotificationpublic void setName(String name)
public String getSubject()
TaskNotificationgetSubject in interface TaskNotificationpublic void setSubject(String subject)
public String getContent()
TaskNotificationgetContent in interface TaskNotificationpublic void setContent(String content)
public Date getDate()
TaskNotificationgetDate in interface TaskNotificationpublic void setDate(Date date)
public List<org.kie.api.task.model.OrganizationalEntity> getRecipients()
TaskNotificationgetRecipients in interface TaskNotificationpublic void setRecipients(List<org.kie.api.task.model.OrganizationalEntity> recipients)
public List<org.kie.api.task.model.OrganizationalEntity> getBusinessAdministrators()
TaskNotificationgetBusinessAdministrators in interface TaskNotificationpublic void setBusinessAdministrators(List<org.kie.api.task.model.OrganizationalEntity> businessAdministrators)
public boolean isActive()
TaskNotificationisActive in interface TaskNotificationpublic void setActive(boolean active)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.