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(com.liferay.knowledge.base.model.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) |
protected boolean |
hasPermission(com.liferay.portal.kernel.model.Subscription subscription,
java.lang.String inferredClassName,
long inferredClassPK,
com.liferay.portal.kernel.model.User user) |
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, initialize, 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, setLocalizedPortletTitleMap, setLocalizedSubjectMap, setMailId, setNotificationClassNameId, setNotificationType, setPortletId, setReplyToAddress, setScopeGroupId, setServiceContext, setSMTPAccount, setSubject, setUniqueMailId, setUserIdpublic AdminSubscriptionSender(com.liferay.knowledge.base.model.KBArticle kbArticle,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
protected void deleteSubscription(com.liferay.portal.kernel.model.Subscription subscription)
throws java.lang.Exception
deleteSubscription in class com.liferay.portal.kernel.util.SubscriptionSenderjava.lang.Exceptionprotected java.lang.String getEmailKBArticleAttachments(java.util.Locale locale)
throws java.lang.Exception
java.lang.Exceptionprotected 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.SubscriptionSenderjava.lang.Exceptionprotected java.lang.String replaceContent(java.lang.String content,
java.util.Locale locale)
throws java.lang.Exception
replaceContent in class com.liferay.portal.kernel.util.SubscriptionSenderjava.lang.Exception