class MailConfigurationCache extends Object
Modifier and Type | Field and Description |
---|---|
private Topic |
config |
private RecipientType |
defaultRecipientType |
private RelatedTopic |
defaultSender |
private boolean |
defaultSenderIsNull |
private DeepaMehtaService |
dms |
private static Logger |
log |
static String |
MAIL_CONFIG |
private ResultList<RelatedTopic> |
recipientTypes |
private Set<String> |
recipientTypeUris |
private Map<String,Topic> |
searchParentTypes |
private ResultList<RelatedTopic> |
searchTypes |
private Set<String> |
searchTypeUris |
static String |
SMTP_HOST |
private String |
smtpHost |
Constructor and Description |
---|
MailConfigurationCache(DeepaMehtaService dms) |
Modifier and Type | Method and Description |
---|---|
RecipientType |
checkRecipientType(String type)
Returns the corresponding enumeration value or the configured default
recipient type.
|
private Topic |
getConfiguration() |
RecipientType |
getDefaultRecipientType() |
RelatedTopic |
getDefaultSender() |
ResultList<RelatedTopic> |
getRecipientTypes() |
Set<String> |
getRecipientTypeUris() |
Collection<Topic> |
getSearchParentTypes() |
ResultList<RelatedTopic> |
getSearchTypes() |
Set<String> |
getSearchTypeUris() |
String |
getSmtpHost() |
Topic |
getTopic() |
private Map<String,Topic> |
revealSearchParentTypes() |
public static final String MAIL_CONFIG
public static final String SMTP_HOST
private RecipientType defaultRecipientType
private RelatedTopic defaultSender
private boolean defaultSenderIsNull
private final DeepaMehtaService dms
private ResultList<RelatedTopic> recipientTypes
private Set<String> recipientTypeUris
private Map<String,Topic> searchParentTypes
private ResultList<RelatedTopic> searchTypes
private Set<String> searchTypeUris
public MailConfigurationCache(DeepaMehtaService dms)
public RecipientType checkRecipientType(String type)
type
- Valid recipient type enumeration value.private Topic getConfiguration()
public RecipientType getDefaultRecipientType()
public RelatedTopic getDefaultSender()
public ResultList<RelatedTopic> getRecipientTypes()
public Set<String> getRecipientTypeUris()
public Collection<Topic> getSearchParentTypes()
public ResultList<RelatedTopic> getSearchTypes()
public Set<String> getSearchTypeUris()
public String getSmtpHost()
private Map<String,Topic> revealSearchParentTypes()
Copyright © 2015. All Rights Reserved.