com.liferay.portlet.social.model
Class BaseSocialRequestInterpreter
java.lang.Object
com.liferay.portlet.social.model.BaseSocialRequestInterpreter
- All Implemented Interfaces:
- SocialRequestInterpreter
- Direct Known Subclasses:
- PortalRequestInterpreter
public abstract class BaseSocialRequestInterpreter
- extends Object
- implements SocialRequestInterpreter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseSocialRequestInterpreter
public BaseSocialRequestInterpreter()
getUserName
public 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
processDuplicateRequestsFromUser
public void processDuplicateRequestsFromUser(SocialRequest request,
int oldStatus)
throws SystemException
- Throws:
SystemException
processDuplicateRequestsToUser
public void processDuplicateRequestsToUser(SocialRequest request,
int oldStatus)
throws SystemException
- Throws:
SystemException
processRejection
public boolean processRejection(SocialRequest request,
ThemeDisplay themeDisplay)
- Specified by:
processRejection
in interface SocialRequestInterpreter
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