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 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 JPANotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
add(AnyAbout about)
Optional<? extends AnyAbout>
getAbout(AnyType anyType)
List<? extends AnyAbout>
getAbouts()
List<String>
getEvents()
String
getRecipientAttrName()
String
getRecipientsFIQL()
Implementation
getRecipientsProvider()
String
getSender()
List<String>
getStaticRecipients()
String
getSubject()
MailTemplate
getTemplate()
TraceLevel
getTraceLevel()
boolean
isActive()
boolean
isSelfAsRecipient()
protected void
json2list(boolean clearFirst)
void
list2json()
void
postLoad()
void
postSave()
void
setActive(boolean active)
void
setRecipientAttrName(String recipientAttrName)
void
setRecipientsFIQL(String recipientsFIQL)
void
setRecipientsProvider(Implementation recipientsProvider)
void
setSelfAsRecipient(boolean selfAsRecipient)
void
setSender(String sender)
void
setSubject(String subject)
void
setTemplate(MailTemplate template)
void
setTraceLevel(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:
getRecipientsFIQL
in interfaceNotification
-
setRecipientsFIQL
public void setRecipientsFIQL(String recipientsFIQL)
- Specified by:
setRecipientsFIQL
in interfaceNotification
-
getRecipientAttrName
public String getRecipientAttrName()
- Specified by:
getRecipientAttrName
in interfaceNotification
-
setRecipientAttrName
public void setRecipientAttrName(String recipientAttrName)
- Specified by:
setRecipientAttrName
in interfaceNotification
-
getRecipientsProvider
public Implementation getRecipientsProvider()
- Specified by:
getRecipientsProvider
in interfaceNotification
-
setRecipientsProvider
public void setRecipientsProvider(Implementation recipientsProvider)
- Specified by:
setRecipientsProvider
in interfaceNotification
-
getEvents
public List<String> getEvents()
- Specified by:
getEvents
in interfaceNotification
-
add
public boolean add(AnyAbout about)
- Specified by:
add
in interfaceNotification
-
getAbout
public Optional<? extends AnyAbout> getAbout(AnyType anyType)
- Specified by:
getAbout
in interfaceNotification
-
getAbouts
public List<? extends AnyAbout> getAbouts()
- Specified by:
getAbouts
in interfaceNotification
-
getStaticRecipients
public List<String> getStaticRecipients()
- Specified by:
getStaticRecipients
in interfaceNotification
-
isSelfAsRecipient
public boolean isSelfAsRecipient()
- Specified by:
isSelfAsRecipient
in interfaceNotification
-
setSelfAsRecipient
public void setSelfAsRecipient(boolean selfAsRecipient)
- Specified by:
setSelfAsRecipient
in interfaceNotification
-
getSender
public String getSender()
- Specified by:
getSender
in interfaceNotification
-
setSender
public void setSender(String sender)
- Specified by:
setSender
in interfaceNotification
-
getSubject
public String getSubject()
- Specified by:
getSubject
in interfaceNotification
-
setSubject
public void setSubject(String subject)
- Specified by:
setSubject
in interfaceNotification
-
getTemplate
public MailTemplate getTemplate()
- Specified by:
getTemplate
in interfaceNotification
-
setTemplate
public void setTemplate(MailTemplate template)
- Specified by:
setTemplate
in interfaceNotification
-
getTraceLevel
public TraceLevel getTraceLevel()
- Specified by:
getTraceLevel
in interfaceNotification
-
setTraceLevel
public void setTraceLevel(TraceLevel traceLevel)
- Specified by:
setTraceLevel
in interfaceNotification
-
isActive
public boolean isActive()
- Specified by:
isActive
in interfaceNotification
-
setActive
public void setActive(boolean active)
- Specified by:
setActive
in interfaceNotification
-
json2list
protected void json2list(boolean clearFirst)
-
postLoad
public void postLoad()
-
postSave
public void postSave()
-
list2json
public void list2json()
-
-