Class JPANotificationTask
- java.lang.Object
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
-
- org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
-
- org.apache.syncope.core.persistence.jpa.entity.task.AbstractTask<NotificationTask>
-
- org.apache.syncope.core.persistence.jpa.entity.task.JPANotificationTask
-
- All Implemented Interfaces:
Serializable,Entity,NotificationTask,Task<NotificationTask>
@Entity public class JPANotificationTask extends AbstractTask<NotificationTask> implements NotificationTask
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringTABLEprotected static TypeReference<List<String>>TYPEREF-
Fields inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
LOG
-
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
-
Constructor Summary
Constructors Constructor Description JPANotificationTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<? extends TaskExec<NotificationTask>>executionClass()protected List<TaskExec<NotificationTask>>executions()AnyTypeKindgetAnyTypeKind()StringgetEntityKey()StringgetHtmlBody()NotificationgetNotification()Set<String>getRecipients()StringgetSender()StringgetSubject()StringgetTextBody()TraceLevelgetTraceLevel()booleanisExecuted()protected voidjson2list(boolean clearFirst)voidlist2json()voidpostLoad()voidpostSave()voidsetAnyTypeKind(AnyTypeKind anyTypeKind)voidsetEntityKey(String entityKey)voidsetExecuted(boolean executed)voidsetHtmlBody(String htmlBody)voidsetNotification(Notification notification)voidsetSender(String sender)voidsetSubject(String subject)voidsetTextBody(String textBody)voidsetTraceLevel(TraceLevel traceLevel)-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.task.AbstractTask
add, getExecs
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractGeneratedKeyEntity
getKey, setKey
-
Methods inherited from class org.apache.syncope.core.persistence.jpa.entity.AbstractEntity
checkImplementationType, checkType, equals, hashCode, toString
-
-
-
-
Field Detail
-
TABLE
public static final String TABLE
- See Also:
- Constant Field Values
-
TYPEREF
protected static final TypeReference<List<String>> TYPEREF
-
-
Method Detail
-
getNotification
public Notification getNotification()
- Specified by:
getNotificationin interfaceNotificationTask
-
setNotification
public void setNotification(Notification notification)
- Specified by:
setNotificationin interfaceNotificationTask
-
getAnyTypeKind
public AnyTypeKind getAnyTypeKind()
- Specified by:
getAnyTypeKindin interfaceNotificationTask
-
setAnyTypeKind
public void setAnyTypeKind(AnyTypeKind anyTypeKind)
- Specified by:
setAnyTypeKindin interfaceNotificationTask
-
getEntityKey
public String getEntityKey()
- Specified by:
getEntityKeyin interfaceNotificationTask
-
setEntityKey
public void setEntityKey(String entityKey)
- Specified by:
setEntityKeyin interfaceNotificationTask
-
getRecipients
public Set<String> getRecipients()
- Specified by:
getRecipientsin interfaceNotificationTask
-
getSender
public String getSender()
- Specified by:
getSenderin interfaceNotificationTask
-
setSender
public void setSender(String sender)
- Specified by:
setSenderin interfaceNotificationTask
-
getSubject
public String getSubject()
- Specified by:
getSubjectin interfaceNotificationTask
-
setSubject
public void setSubject(String subject)
- Specified by:
setSubjectin interfaceNotificationTask
-
getTextBody
public String getTextBody()
- Specified by:
getTextBodyin interfaceNotificationTask
-
setTextBody
public void setTextBody(String textBody)
- Specified by:
setTextBodyin interfaceNotificationTask
-
getHtmlBody
public String getHtmlBody()
- Specified by:
getHtmlBodyin interfaceNotificationTask
-
setHtmlBody
public void setHtmlBody(String htmlBody)
- Specified by:
setHtmlBodyin interfaceNotificationTask
-
isExecuted
public boolean isExecuted()
- Specified by:
isExecutedin interfaceNotificationTask
-
setExecuted
public void setExecuted(boolean executed)
- Specified by:
setExecutedin interfaceNotificationTask
-
getTraceLevel
public TraceLevel getTraceLevel()
- Specified by:
getTraceLevelin interfaceNotificationTask
-
setTraceLevel
public void setTraceLevel(TraceLevel traceLevel)
- Specified by:
setTraceLevelin interfaceNotificationTask
-
executionClass
protected Class<? extends TaskExec<NotificationTask>> executionClass()
- Specified by:
executionClassin classAbstractTask<NotificationTask>
-
executions
protected List<TaskExec<NotificationTask>> executions()
- Specified by:
executionsin classAbstractTask<NotificationTask>
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-