com.liferay.portlet.social.model.impl
Class SocialRequestInterpreterImpl

java.lang.Object
  extended by com.liferay.portlet.social.model.impl.SocialRequestInterpreterImpl
All Implemented Interfaces:
SocialRequestInterpreter

public class SocialRequestInterpreterImpl
extends java.lang.Object
implements SocialRequestInterpreter

Author:
Brian Wing Shun Chan

Constructor Summary
SocialRequestInterpreterImpl(java.lang.String portletId, SocialRequestInterpreter requestInterpreter)
           
 
Method Summary
 java.lang.String[] getClassNames()
           
 java.lang.String getPortletId()
           
 boolean hasClassName(java.lang.String className)
           
 SocialRequestFeedEntry interpret(SocialRequest request, ThemeDisplay themeDisplay)
           
 boolean processConfirmation(SocialRequest request, ThemeDisplay themeDisplay)
           
 boolean processRejection(SocialRequest request, ThemeDisplay themeDisplay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRequestInterpreterImpl

public SocialRequestInterpreterImpl(java.lang.String portletId,
                                    SocialRequestInterpreter requestInterpreter)
Method Detail

getClassNames

public java.lang.String[] getClassNames()
Specified by:
getClassNames in interface SocialRequestInterpreter

getPortletId

public java.lang.String getPortletId()

hasClassName

public boolean hasClassName(java.lang.String className)

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