public class KBActivityInterpreter
extends com.liferay.social.kernel.model.BaseSocialActivityInterpreter
| Constructor and Description |
|---|
KBActivityInterpreter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getClassNames() |
protected java.lang.String |
getEntryTitle(com.liferay.social.kernel.model.SocialActivity activity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected java.lang.String |
getLink(com.liferay.social.kernel.model.SocialActivity activity,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected com.liferay.portal.kernel.util.ResourceBundleLoader |
getResourceBundleLoader() |
protected java.lang.String |
getTitlePattern(java.lang.String groupName,
com.liferay.social.kernel.model.SocialActivity activity) |
protected boolean |
hasPermissions(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.social.kernel.model.SocialActivity activity,
java.lang.String actionId,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
protected void |
setKBArticleLocalService(com.liferay.knowledge.base.service.KBArticleLocalService kbArticleLocalService) |
protected void |
setKBCommentLocalService(com.liferay.knowledge.base.service.KBCommentLocalService kbCommentLocalService) |
protected void |
setKBTemplateLocalService(com.liferay.knowledge.base.service.KBTemplateLocalService kbTemplateLocalService) |
addNoSuchEntryRedirect, buildLink, cleanContent, doInterpret, doInterpret, doInterpret, getActivitySetId, getBody, getGroupName, getGroupName, getJSONValue, getJSONValue, getPath, getSelector, getTitle, getTitleArguments, getUserName, getUserName, getValue, getViewEntryInTrashURL, getViewEntryURL, hasPermission, interpret, interpret, updateActivitySet, wrapLink, wrapLinkpublic java.lang.String[] getClassNames()
protected java.lang.String getEntryTitle(com.liferay.social.kernel.model.SocialActivity activity,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws java.lang.Exception
getEntryTitle in class com.liferay.social.kernel.model.BaseSocialActivityInterpreterjava.lang.Exceptionprotected java.lang.String getLink(com.liferay.social.kernel.model.SocialActivity activity,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws java.lang.Exception
getLink in class com.liferay.social.kernel.model.BaseSocialActivityInterpreterjava.lang.Exceptionprotected com.liferay.portal.kernel.util.ResourceBundleLoader getResourceBundleLoader()
getResourceBundleLoader in class com.liferay.social.kernel.model.BaseSocialActivityInterpreterprotected java.lang.String getTitlePattern(java.lang.String groupName,
com.liferay.social.kernel.model.SocialActivity activity)
getTitlePattern in class com.liferay.social.kernel.model.BaseSocialActivityInterpreterprotected boolean hasPermissions(com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker,
com.liferay.social.kernel.model.SocialActivity activity,
java.lang.String actionId,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
throws java.lang.Exception
hasPermissions in class com.liferay.social.kernel.model.BaseSocialActivityInterpreterjava.lang.Exceptionprotected void setKBArticleLocalService(com.liferay.knowledge.base.service.KBArticleLocalService kbArticleLocalService)
protected void setKBCommentLocalService(com.liferay.knowledge.base.service.KBCommentLocalService kbCommentLocalService)
protected void setKBTemplateLocalService(com.liferay.knowledge.base.service.KBTemplateLocalService kbTemplateLocalService)