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

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

public class SocialRequestInterpreterImpl
extends java.lang.Object
implements com.liferay.portlet.social.model.SocialRequestInterpreter

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
SocialRequestInterpreterImpl(java.lang.String portletId, com.liferay.portlet.social.model.SocialRequestInterpreter requestInterpreter)
           
 
Method Summary
 java.lang.String[] getClassNames()
           
 java.lang.String getPortletId()
           
 boolean hasClassName(java.lang.String className)
           
 com.liferay.portlet.social.model.SocialRequestFeedEntry interpret(com.liferay.portlet.social.model.SocialRequest request, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 boolean processConfirmation(com.liferay.portlet.social.model.SocialRequest request, com.liferay.portal.theme.ThemeDisplay themeDisplay)
           
 boolean processRejection(com.liferay.portlet.social.model.SocialRequest request, com.liferay.portal.theme.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,
                                    com.liferay.portlet.social.model.SocialRequestInterpreter requestInterpreter)
Method Detail

getClassNames

public java.lang.String[] getClassNames()
Specified by:
getClassNames in interface com.liferay.portlet.social.model.SocialRequestInterpreter

getPortletId

public java.lang.String getPortletId()

hasClassName

public boolean hasClassName(java.lang.String className)

interpret

public com.liferay.portlet.social.model.SocialRequestFeedEntry interpret(com.liferay.portlet.social.model.SocialRequest request,
                                                                         com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
interpret in interface com.liferay.portlet.social.model.SocialRequestInterpreter

processConfirmation

public boolean processConfirmation(com.liferay.portlet.social.model.SocialRequest request,
                                   com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
processConfirmation in interface com.liferay.portlet.social.model.SocialRequestInterpreter

processRejection

public boolean processRejection(com.liferay.portlet.social.model.SocialRequest request,
                                com.liferay.portal.theme.ThemeDisplay themeDisplay)
Specified by:
processRejection in interface com.liferay.portlet.social.model.SocialRequestInterpreter