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
Method Summary |
protected abstract SocialRequestFeedEntry |
doInterpret(SocialRequest request,
ThemeDisplay themeDisplay)
|
protected abstract boolean |
doProcessConfirmation(SocialRequest request,
ThemeDisplay themeDisplay)
|
protected boolean |
doProcessRejection(SocialRequest request,
ThemeDisplay themeDisplay)
|
String |
getUserName(long userId,
ThemeDisplay themeDisplay)
|
String |
getUserNameLink(long userId,
ThemeDisplay themeDisplay)
|
SocialRequestFeedEntry |
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 |
BaseSocialRequestInterpreter
public BaseSocialRequestInterpreter()
getUserName
public String getUserName(long userId,
ThemeDisplay themeDisplay)
getUserNameLink
public String getUserNameLink(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