public class AdminSubscriptionSender
extends com.liferay.portal.kernel.util.SubscriptionSender
body, bulk, companyId, creatorUserId, currentUserId, fileAttachments, fromAddress, fromName, groupId, htmlFormat, inReplyTo, localizedBodyMap, localizedPortletTitleMap, localizedSubjectMap, mailId, portletId, replyToAddress, scopeGroupId, serviceContext, smtpAccount, subject, uniqueMailId
Constructor and Description |
---|
AdminSubscriptionSender(KBArticle kbArticle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
deleteSubscription(com.liferay.portal.kernel.model.Subscription subscription) |
protected java.lang.String |
getEmailKBArticleAttachments(java.util.Locale locale)
Deprecated.
As of 1.1.0, with no direct replacement
|
protected boolean |
hasPermission(com.liferay.portal.kernel.model.Subscription subscription,
java.lang.String inferredClassName,
long inferredClassPK,
com.liferay.portal.kernel.model.User user) |
void |
initialize() |
protected java.lang.String |
replaceContent(java.lang.String content,
java.util.Locale locale) |
addFileAttachment, addFileAttachment, addPersistedSubscribers, addRuntimeSubscribers, flushNotifications, flushNotificationsAsync, getContextAttribute, getCurrentUserId, getMailId, getUserId, hasPermission, hasSubscribePermission, notifyPersistedSubscriber, notifyPersistedSubscriber, notifyRuntimeSubscriber, notifySubscriber, populateNotificationEventJSONObject, processMailMessage, replaceContent, sendEmail, sendEmailNotification, sendNotification, sendUserNotification, setBody, setBulk, setClassName, setClassPK, setCompanyId, setContextAttribute, setContextAttribute, setContextAttribute, setContextAttributes, setContextCreatorUserPrefix, setCreatorUserId, setCurrentUserId, setEntryTitle, setEntryURL, setFrom, setGroupId, setHtmlFormat, setInReplyTo, setLocalizedBodyMap, setLocalizedContextAttribute, setLocalizedContextAttribute, setLocalizedContextAttribute, setLocalizedPortletTitleMap, setLocalizedSubjectMap, setMailId, setNotificationClassNameId, setNotificationType, setPortletId, setReplyToAddress, setScopeGroupId, setServiceContext, setSMTPAccount, setSubject, setUniqueMailId, setUserId
public AdminSubscriptionSender(KBArticle kbArticle, com.liferay.portal.kernel.service.ServiceContext serviceContext)
public void initialize() throws java.lang.Exception
initialize
in class com.liferay.portal.kernel.util.SubscriptionSender
java.lang.Exception
protected void deleteSubscription(com.liferay.portal.kernel.model.Subscription subscription) throws java.lang.Exception
deleteSubscription
in class com.liferay.portal.kernel.util.SubscriptionSender
java.lang.Exception
@Deprecated protected java.lang.String getEmailKBArticleAttachments(java.util.Locale locale) throws java.lang.Exception
java.lang.Exception
protected boolean hasPermission(com.liferay.portal.kernel.model.Subscription subscription, java.lang.String inferredClassName, long inferredClassPK, com.liferay.portal.kernel.model.User user) throws java.lang.Exception
hasPermission
in class com.liferay.portal.kernel.util.SubscriptionSender
java.lang.Exception
protected java.lang.String replaceContent(java.lang.String content, java.util.Locale locale) throws java.lang.Exception
replaceContent
in class com.liferay.portal.kernel.util.SubscriptionSender
java.lang.Exception