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()
TaskNotification
getId
in interface TaskNotification
public void setId(Long id)
public String getName()
TaskNotification
getName
in interface TaskNotification
public void setName(String name)
public String getSubject()
TaskNotification
getSubject
in interface TaskNotification
public void setSubject(String subject)
public String getContent()
TaskNotification
getContent
in interface TaskNotification
public void setContent(String content)
public Date getDate()
TaskNotification
getDate
in interface TaskNotification
public void setDate(Date date)
public List<org.kie.api.task.model.OrganizationalEntity> getRecipients()
TaskNotification
getRecipients
in interface TaskNotification
public void setRecipients(List<org.kie.api.task.model.OrganizationalEntity> recipients)
public List<org.kie.api.task.model.OrganizationalEntity> getBusinessAdministrators()
TaskNotification
getBusinessAdministrators
in interface TaskNotification
public void setBusinessAdministrators(List<org.kie.api.task.model.OrganizationalEntity> businessAdministrators)
public boolean isActive()
TaskNotification
isActive
in interface TaskNotification
public void setActive(boolean active)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.