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 SocialRequestFeedEntrydoInterpret(SocialRequest request, ThemeDisplay themeDisplay) protected abstract booleandoProcessConfirmation(SocialRequest request, ThemeDisplay themeDisplay) protected booleandoProcessRejection(SocialRequest request, ThemeDisplay themeDisplay) getUserName(long userId, ThemeDisplay themeDisplay) getUserNameLink(long userId, ThemeDisplay themeDisplay) interpret(SocialRequest request, ThemeDisplay themeDisplay) booleanprocessConfirmation(SocialRequest request, ThemeDisplay themeDisplay) voidprocessDuplicateRequestsFromUser(SocialRequest request, int oldStatus) voidprocessDuplicateRequestsToUser(SocialRequest request, int oldStatus) booleanprocessRejection(SocialRequest request, ThemeDisplay themeDisplay) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.social.kernel.model.SocialRequestInterpreter
getClassNames
-
Constructor Details
-
BaseSocialRequestInterpreter
public BaseSocialRequestInterpreter()
-
-
Method Details
-
getUserName
-
getUserNameLink
-
interpret
- Specified by:
interpretin interfaceSocialRequestInterpreter
-
processConfirmation
- Specified by:
processConfirmationin interfaceSocialRequestInterpreter
-
processDuplicateRequestsFromUser
-
processDuplicateRequestsToUser
-
processRejection
- Specified by:
processRejectionin 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
-