Package com.liferay.social.kernel.model
Class BaseSocialRequestInterpreter
Object
com.liferay.social.kernel.model.BaseSocialRequestInterpreter
- All Implemented Interfaces:
SocialRequestInterpreter
public abstract class BaseSocialRequestInterpreter
extends Object
implements SocialRequestInterpreter
- Author:
- Brian Wing Shun Chan, Amos Fong
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SocialRequestFeedEntry
doInterpret
(SocialRequest request, ThemeDisplay themeDisplay) protected abstract boolean
doProcessConfirmation
(SocialRequest request, ThemeDisplay themeDisplay) protected boolean
doProcessRejection
(SocialRequest request, ThemeDisplay themeDisplay) getUserName
(long userId, ThemeDisplay themeDisplay) getUserNameLink
(long userId, ThemeDisplay themeDisplay) interpret
(SocialRequest request, ThemeDisplay themeDisplay) boolean
processConfirmation
(SocialRequest request, ThemeDisplay themeDisplay) void
processDuplicateRequestsFromUser
(SocialRequest request, int oldStatus) void
processDuplicateRequestsToUser
(SocialRequest request, int oldStatus) boolean
processRejection
(SocialRequest request, ThemeDisplay themeDisplay) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.social.kernel.model.SocialRequestInterpreter
getClassNames
-
Constructor Details
-
BaseSocialRequestInterpreter
public BaseSocialRequestInterpreter()
-
-
Method Details
-
getUserName
-
getUserNameLink
-
interpret
- Specified by:
interpret
in interfaceSocialRequestInterpreter
-
processConfirmation
- Specified by:
processConfirmation
in interfaceSocialRequestInterpreter
-
processDuplicateRequestsFromUser
-
processDuplicateRequestsToUser
-
processRejection
- Specified by:
processRejection
in interfaceSocialRequestInterpreter
-
doInterpret
protected abstract SocialRequestFeedEntry doInterpret(SocialRequest request, ThemeDisplay themeDisplay) throws Exception - Throws:
Exception
-
doProcessConfirmation
protected abstract boolean doProcessConfirmation(SocialRequest request, ThemeDisplay themeDisplay) throws Exception - Throws:
Exception
-
doProcessRejection
protected boolean doProcessRejection(SocialRequest request, ThemeDisplay themeDisplay) throws Exception - Throws:
Exception
-