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 String
TABLE
protected 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()
AnyTypeKind
getAnyTypeKind()
String
getEntityKey()
String
getHtmlBody()
Notification
getNotification()
Set<String>
getRecipients()
String
getSender()
String
getSubject()
String
getTextBody()
TraceLevel
getTraceLevel()
boolean
isExecuted()
protected void
json2list(boolean clearFirst)
void
list2json()
void
postLoad()
void
postSave()
void
setAnyTypeKind(AnyTypeKind anyTypeKind)
void
setEntityKey(String entityKey)
void
setExecuted(boolean executed)
void
setHtmlBody(String htmlBody)
void
setNotification(Notification notification)
void
setSender(String sender)
void
setSubject(String subject)
void
setTextBody(String textBody)
void
setTraceLevel(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:
getNotification
in interfaceNotificationTask
-
setNotification
public void setNotification(Notification notification)
- Specified by:
setNotification
in interfaceNotificationTask
-
getAnyTypeKind
public AnyTypeKind getAnyTypeKind()
- Specified by:
getAnyTypeKind
in interfaceNotificationTask
-
setAnyTypeKind
public void setAnyTypeKind(AnyTypeKind anyTypeKind)
- Specified by:
setAnyTypeKind
in interfaceNotificationTask
-
getEntityKey
public String getEntityKey()
- Specified by:
getEntityKey
in interfaceNotificationTask
-
setEntityKey
public void setEntityKey(String entityKey)
- Specified by:
setEntityKey
in interfaceNotificationTask
-
getRecipients
public Set<String> getRecipients()
- Specified by:
getRecipients
in interfaceNotificationTask
-
getSender
public String getSender()
- Specified by:
getSender
in interfaceNotificationTask
-
setSender
public void setSender(String sender)
- Specified by:
setSender
in interfaceNotificationTask
-
getSubject
public String getSubject()
- Specified by:
getSubject
in interfaceNotificationTask
-
setSubject
public void setSubject(String subject)
- Specified by:
setSubject
in interfaceNotificationTask
-
getTextBody
public String getTextBody()
- Specified by:
getTextBody
in interfaceNotificationTask
-
setTextBody
public void setTextBody(String textBody)
- Specified by:
setTextBody
in interfaceNotificationTask
-
getHtmlBody
public String getHtmlBody()
- Specified by:
getHtmlBody
in interfaceNotificationTask
-
setHtmlBody
public void setHtmlBody(String htmlBody)
- Specified by:
setHtmlBody
in interfaceNotificationTask
-
isExecuted
public boolean isExecuted()
- Specified by:
isExecuted
in interfaceNotificationTask
-
setExecuted
public void setExecuted(boolean executed)
- Specified by:
setExecuted
in interfaceNotificationTask
-
getTraceLevel
public TraceLevel getTraceLevel()
- Specified by:
getTraceLevel
in interfaceNotificationTask
-
setTraceLevel
public void setTraceLevel(TraceLevel traceLevel)
- Specified by:
setTraceLevel
in interfaceNotificationTask
-
executionClass
protected Class<? extends TaskExec<NotificationTask>> executionClass()
- Specified by:
executionClass
in classAbstractTask<NotificationTask>
-
executions
protected List<TaskExec<NotificationTask>> executions()
- Specified by:
executions
in classAbstractTask<NotificationTask>
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-