Liferay 6.1.2-ce-ga3

com.liferay.portlet.social.service
Class SocialRequestInterpreterLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.social.service.SocialRequestInterpreterLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, ServiceWrapper<SocialRequestInterpreterLocalService>, SocialRequestInterpreterLocalService

public class SocialRequestInterpreterLocalServiceWrapper
extends Object
implements SocialRequestInterpreterLocalService, ServiceWrapper<SocialRequestInterpreterLocalService>

This class is a wrapper for SocialRequestInterpreterLocalService.

See Also:
SocialRequestInterpreterLocalService
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
SocialRequestInterpreterLocalServiceWrapper(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
           
 
Method Summary
 void addRequestInterpreter(SocialRequestInterpreter requestInterpreter)
          Adds the social request interpreter to the list of available interpreters.
 void deleteRequestInterpreter(SocialRequestInterpreter requestInterpreter)
          Removes the social request interpreter from the list of available interpreters.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 SocialRequestInterpreterLocalService getWrappedService()
           
 SocialRequestInterpreterLocalService getWrappedSocialRequestInterpreterLocalService()
          Deprecated. Renamed to getWrappedService()
 SocialRequestFeedEntry interpret(SocialRequest request, ThemeDisplay themeDisplay)
          Creates a human readable request feed entry for the social request using an available compatible request interpreter.
 void processConfirmation(SocialRequest request, ThemeDisplay themeDisplay)
          Processes the confirmation of the social request.
 void processRejection(SocialRequest request, ThemeDisplay themeDisplay)
          Processes the rejection of the social request.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
           
 void setWrappedSocialRequestInterpreterLocalService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.social.service.SocialRequestInterpreterLocalService)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRequestInterpreterLocalServiceWrapper

public SocialRequestInterpreterLocalServiceWrapper(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
Method Detail

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface SocialRequestInterpreterLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface SocialRequestInterpreterLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addRequestInterpreter

public void addRequestInterpreter(SocialRequestInterpreter requestInterpreter)
Adds the social request interpreter to the list of available interpreters.

Specified by:
addRequestInterpreter in interface SocialRequestInterpreterLocalService
Parameters:
requestInterpreter - the social request interpreter

deleteRequestInterpreter

public void deleteRequestInterpreter(SocialRequestInterpreter requestInterpreter)
Removes the social request interpreter from the list of available interpreters.

Specified by:
deleteRequestInterpreter in interface SocialRequestInterpreterLocalService
Parameters:
requestInterpreter - the social request interpreter

interpret

public SocialRequestFeedEntry interpret(SocialRequest request,
                                        ThemeDisplay themeDisplay)
Creates a human readable request feed entry for the social request using an available compatible request interpreter.

This method finds the appropriate interpreter for the request by going through the available interpreters to find one that can handle the asset type of the request.

Specified by:
interpret in interface SocialRequestInterpreterLocalService
Parameters:
request - the social request to be translated to human readable form
themeDisplay - the theme display needed by interpreters to create links and get localized text fragments
Returns:
the social request feed entry

processConfirmation

public void processConfirmation(SocialRequest request,
                                ThemeDisplay themeDisplay)
Processes the confirmation of the social request.

Confirmations are handled by finding the appropriate social request interpreter and calling its processConfirmation() method. To find the appropriate interpreter this method goes through the available interpreters to find one that can handle the asset type of the request.

Specified by:
processConfirmation in interface SocialRequestInterpreterLocalService
Parameters:
request - the social request being confirmed
themeDisplay - the theme display needed by interpreters to create links and get localized text fragments

processRejection

public void processRejection(SocialRequest request,
                             ThemeDisplay themeDisplay)
Processes the rejection of the social request.

Rejections are handled by finding the appropriate social request interpreters and calling their processRejection() methods. To find the appropriate interpreters this method goes through the available interpreters and asks them if they can handle the asset type of the request.

Specified by:
processRejection in interface SocialRequestInterpreterLocalService
Parameters:
request - the social request being rejected
themeDisplay - the theme display needed by interpreters to create links and get localized text fragments

getWrappedSocialRequestInterpreterLocalService

public SocialRequestInterpreterLocalService getWrappedSocialRequestInterpreterLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedSocialRequestInterpreterLocalService

public void setWrappedSocialRequestInterpreterLocalService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.social.service.SocialRequestInterpreterLocalService)


getWrappedService

public SocialRequestInterpreterLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<SocialRequestInterpreterLocalService>

setWrappedService

public void setWrappedService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<SocialRequestInterpreterLocalService>

Liferay 6.1.2-ce-ga3