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 toString
getContent()
Returns the content for this notificationDate
getDate()
Returns date that the notification is schedule to happenLong
getId()
Returns unique id of the task notificationString
getName()
Returns optional name of the notificationList<org.kie.api.task.model.OrganizationalEntity>
getRecipients()
Returns list of recipients that notification will be sent toString
getSubject()
Returns the subject line for this notificationboolean
isActive()
Returns if given notification is activevoid
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()
-
-
-
Method Detail
-
getId
public Long getId()
Description copied from interface:TaskNotification
Returns unique id of the task notification- Specified by:
getId
in interfaceTaskNotification
- Returns:
- task notification id
-
setId
public void setId(Long id)
-
getName
public String getName()
Description copied from interface:TaskNotification
Returns optional name of the notification- Specified by:
getName
in interfaceTaskNotification
- Returns:
- notification name
-
setName
public void setName(String name)
-
getSubject
public String getSubject()
Description copied from interface:TaskNotification
Returns the subject line for this notification- Specified by:
getSubject
in interfaceTaskNotification
- Returns:
- notification subject
-
setSubject
public void setSubject(String subject)
-
getContent
public String getContent()
Description copied from interface:TaskNotification
Returns the content for this notification- Specified by:
getContent
in interfaceTaskNotification
- Returns:
- notification content
-
setContent
public void setContent(String content)
-
getDate
public Date getDate()
Description copied from interface:TaskNotification
Returns date that the notification is schedule to happen- Specified by:
getDate
in 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:TaskNotification
Returns list of recipients that notification will be sent to- Specified by:
getRecipients
in 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:TaskNotification
Returns list of business admins that notification will be sent to- Specified by:
getBusinessAdministrators
in 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:TaskNotification
Returns if given notification is active- Specified by:
isActive
in interfaceTaskNotification
- Returns:
- active
-
setActive
public void setActive(boolean active)
-
-