Class JPANotification
- 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.JPANotification
-
- All Implemented Interfaces:
Serializable,Entity,Notification
@Entity public class JPANotification extends AbstractGeneratedKeyEntity implements Notification
- 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 JPANotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(AnyAbout about)Optional<? extends AnyAbout>getAbout(AnyType anyType)List<? extends AnyAbout>getAbouts()List<String>getEvents()StringgetRecipientAttrName()StringgetRecipientsFIQL()ImplementationgetRecipientsProvider()StringgetSender()List<String>getStaticRecipients()StringgetSubject()MailTemplategetTemplate()TraceLevelgetTraceLevel()booleanisActive()booleanisSelfAsRecipient()protected voidjson2list(boolean clearFirst)voidlist2json()voidpostLoad()voidpostSave()voidsetActive(boolean active)voidsetRecipientAttrName(String recipientAttrName)voidsetRecipientsFIQL(String recipientsFIQL)voidsetRecipientsProvider(Implementation recipientsProvider)voidsetSelfAsRecipient(boolean selfAsRecipient)voidsetSender(String sender)voidsetSubject(String subject)voidsetTemplate(MailTemplate template)voidsetTraceLevel(TraceLevel traceLevel)-
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
-
getRecipientsFIQL
public String getRecipientsFIQL()
- Specified by:
getRecipientsFIQLin interfaceNotification
-
setRecipientsFIQL
public void setRecipientsFIQL(String recipientsFIQL)
- Specified by:
setRecipientsFIQLin interfaceNotification
-
getRecipientAttrName
public String getRecipientAttrName()
- Specified by:
getRecipientAttrNamein interfaceNotification
-
setRecipientAttrName
public void setRecipientAttrName(String recipientAttrName)
- Specified by:
setRecipientAttrNamein interfaceNotification
-
getRecipientsProvider
public Implementation getRecipientsProvider()
- Specified by:
getRecipientsProviderin interfaceNotification
-
setRecipientsProvider
public void setRecipientsProvider(Implementation recipientsProvider)
- Specified by:
setRecipientsProviderin interfaceNotification
-
getEvents
public List<String> getEvents()
- Specified by:
getEventsin interfaceNotification
-
add
public boolean add(AnyAbout about)
- Specified by:
addin interfaceNotification
-
getAbout
public Optional<? extends AnyAbout> getAbout(AnyType anyType)
- Specified by:
getAboutin interfaceNotification
-
getAbouts
public List<? extends AnyAbout> getAbouts()
- Specified by:
getAboutsin interfaceNotification
-
getStaticRecipients
public List<String> getStaticRecipients()
- Specified by:
getStaticRecipientsin interfaceNotification
-
isSelfAsRecipient
public boolean isSelfAsRecipient()
- Specified by:
isSelfAsRecipientin interfaceNotification
-
setSelfAsRecipient
public void setSelfAsRecipient(boolean selfAsRecipient)
- Specified by:
setSelfAsRecipientin interfaceNotification
-
getSender
public String getSender()
- Specified by:
getSenderin interfaceNotification
-
setSender
public void setSender(String sender)
- Specified by:
setSenderin interfaceNotification
-
getSubject
public String getSubject()
- Specified by:
getSubjectin interfaceNotification
-
setSubject
public void setSubject(String subject)
- Specified by:
setSubjectin interfaceNotification
-
getTemplate
public MailTemplate getTemplate()
- Specified by:
getTemplatein interfaceNotification
-
setTemplate
public void setTemplate(MailTemplate template)
- Specified by:
setTemplatein interfaceNotification
-
getTraceLevel
public TraceLevel getTraceLevel()
- Specified by:
getTraceLevelin interfaceNotification
-
setTraceLevel
public void setTraceLevel(TraceLevel traceLevel)
- Specified by:
setTraceLevelin interfaceNotification
-
isActive
public boolean isActive()
- Specified by:
isActivein interfaceNotification
-
setActive
public void setActive(boolean active)
- Specified by:
setActivein interfaceNotification
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-