Package org.jbpm.kie.services.impl.admin
Class TaskNotificationImpl
- java.lang.Object
-
- org.jbpm.kie.services.impl.admin.TaskNotificationImpl
-
- All Implemented Interfaces:
Serializable,TaskNotification
public class TaskNotificationImpl extends Object implements TaskNotification
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.kie.api.task.model.OrganizationalEntity>getBusinessAdministrators()Returns list of business admins that notification will be sent toStringgetContent()Returns the content for this notificationDategetDate()Returns date that the notification is schedule to happenLonggetId()Returns unique id of the task notificationStringgetName()Returns optional name of the notificationList<org.kie.api.task.model.OrganizationalEntity>getRecipients()Returns list of recipients that notification will be sent toStringgetSubject()Returns the subject line for this notificationbooleanisActive()Returns if given notification is activevoidsetActive(boolean active)voidsetBusinessAdministrators(List<org.kie.api.task.model.OrganizationalEntity> businessAdministrators)voidsetContent(String content)voidsetDate(Date date)voidsetId(Long id)voidsetName(String name)voidsetRecipients(List<org.kie.api.task.model.OrganizationalEntity> recipients)voidsetSubject(String subject)StringtoString()
-
-
-
Method Detail
-
getId
public Long getId()
Description copied from interface:TaskNotificationReturns unique id of the task notification- Specified by:
getIdin interfaceTaskNotification- Returns:
- task notification id
-
setId
public void setId(Long id)
-
getName
public String getName()
Description copied from interface:TaskNotificationReturns optional name of the notification- Specified by:
getNamein interfaceTaskNotification- Returns:
- notification name
-
setName
public void setName(String name)
-
getSubject
public String getSubject()
Description copied from interface:TaskNotificationReturns the subject line for this notification- Specified by:
getSubjectin interfaceTaskNotification- Returns:
- notification subject
-
setSubject
public void setSubject(String subject)
-
getContent
public String getContent()
Description copied from interface:TaskNotificationReturns the content for this notification- Specified by:
getContentin interfaceTaskNotification- Returns:
- notification content
-
setContent
public void setContent(String content)
-
getDate
public Date getDate()
Description copied from interface:TaskNotificationReturns date that the notification is schedule to happen- Specified by:
getDatein interfaceTaskNotification- Returns:
- time notification is scheduled
-
setDate
public void setDate(Date date)
-
getRecipients
public List<org.kie.api.task.model.OrganizationalEntity> getRecipients()
Description copied from interface:TaskNotificationReturns list of recipients that notification will be sent to- Specified by:
getRecipientsin interfaceTaskNotification- Returns:
- list of recipients
-
setRecipients
public void setRecipients(List<org.kie.api.task.model.OrganizationalEntity> recipients)
-
getBusinessAdministrators
public List<org.kie.api.task.model.OrganizationalEntity> getBusinessAdministrators()
Description copied from interface:TaskNotificationReturns list of business admins that notification will be sent to- Specified by:
getBusinessAdministratorsin interfaceTaskNotification- Returns:
- business admin list
-
setBusinessAdministrators
public void setBusinessAdministrators(List<org.kie.api.task.model.OrganizationalEntity> businessAdministrators)
-
isActive
public boolean isActive()
Description copied from interface:TaskNotificationReturns if given notification is active- Specified by:
isActivein interfaceTaskNotification- Returns:
- active
-
setActive
public void setActive(boolean active)
-
-