com.liferay.portlet.social.model
Class BaseSocialRequestInterpreter
java.lang.Object
com.liferay.portlet.social.model.BaseSocialRequestInterpreter
- All Implemented Interfaces:
- SocialRequestInterpreter
public abstract class BaseSocialRequestInterpreter
- extends java.lang.Object
- implements SocialRequestInterpreter
View Source
- Author:
- Brian Wing Shun Chan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSocialRequestInterpreter
public BaseSocialRequestInterpreter()
getUserName
public java.lang.String getUserName(long userId,
ThemeDisplay themeDisplay)
interpret
public SocialRequestFeedEntry interpret(SocialRequest request,
ThemeDisplay themeDisplay)
- Specified by:
interpret
in interface SocialRequestInterpreter
processConfirmation
public boolean processConfirmation(SocialRequest request,
ThemeDisplay themeDisplay)
- Specified by:
processConfirmation
in interface SocialRequestInterpreter
processRejection
public boolean processRejection(SocialRequest request,
ThemeDisplay themeDisplay)
- Specified by:
processRejection
in interface SocialRequestInterpreter
doInterpret
protected abstract SocialRequestFeedEntry doInterpret(SocialRequest request,
ThemeDisplay themeDisplay)
throws java.lang.Exception
- Throws:
java.lang.Exception
doProcessConfirmation
protected abstract boolean doProcessConfirmation(SocialRequest request,
ThemeDisplay themeDisplay)
throws java.lang.Exception
- Throws:
java.lang.Exception
doProcessRejection
protected boolean doProcessRejection(SocialRequest request,
ThemeDisplay themeDisplay)
throws java.lang.Exception
- Throws:
java.lang.Exception