public abstract class BaseSocialRequestInterpreter extends Object implements SocialRequestInterpreter
Constructor and Description |
---|
BaseSocialRequestInterpreter() |
Modifier and Type | Method and Description |
---|---|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassNames
public String getUserName(long userId, ThemeDisplay themeDisplay)
public String getUserNameLink(long userId, ThemeDisplay themeDisplay)
public SocialRequestFeedEntry interpret(SocialRequest request, ThemeDisplay themeDisplay)
interpret
in interface SocialRequestInterpreter
public boolean processConfirmation(SocialRequest request, ThemeDisplay themeDisplay)
processConfirmation
in interface SocialRequestInterpreter
public void processDuplicateRequestsFromUser(SocialRequest request, int oldStatus)
public void processDuplicateRequestsToUser(SocialRequest request, int oldStatus)
public boolean processRejection(SocialRequest request, ThemeDisplay themeDisplay)
processRejection
in interface SocialRequestInterpreter
protected abstract SocialRequestFeedEntry doInterpret(SocialRequest request, ThemeDisplay themeDisplay) throws Exception
Exception
protected abstract boolean doProcessConfirmation(SocialRequest request, ThemeDisplay themeDisplay) throws Exception
Exception
protected boolean doProcessRejection(SocialRequest request, ThemeDisplay themeDisplay) throws Exception
Exception