|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.social.service.SocialRequestInterpreterLocalServiceWrapper
@ProviderType public class SocialRequestInterpreterLocalServiceWrapper
Provides a wrapper for SocialRequestInterpreterLocalService
.
SocialRequestInterpreterLocalService
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. As of 6.1.0, replaced by 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. As of 6.1.0, replaced by 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 |
---|
public SocialRequestInterpreterLocalServiceWrapper(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
Method Detail |
---|
public String getBeanIdentifier()
getBeanIdentifier
in interface SocialRequestInterpreterLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface SocialRequestInterpreterLocalService
beanIdentifier
- the Spring bean ID for this beanpublic void addRequestInterpreter(SocialRequestInterpreter requestInterpreter)
addRequestInterpreter
in interface SocialRequestInterpreterLocalService
requestInterpreter
- the social request interpreterpublic void deleteRequestInterpreter(SocialRequestInterpreter requestInterpreter)
deleteRequestInterpreter
in interface SocialRequestInterpreterLocalService
requestInterpreter
- the social request interpreterpublic SocialRequestFeedEntry interpret(SocialRequest request, ThemeDisplay themeDisplay)
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.
interpret
in interface SocialRequestInterpreterLocalService
request
- the social request to be translated to human readable
formthemeDisplay
- the theme display needed by interpreters to create
links and get localized text fragments
public void processConfirmation(SocialRequest request, ThemeDisplay themeDisplay)
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.
processConfirmation
in interface SocialRequestInterpreterLocalService
request
- the social request being confirmedthemeDisplay
- the theme display needed by interpreters to create
links and get localized text fragmentspublic void processRejection(SocialRequest request, ThemeDisplay themeDisplay)
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.
processRejection
in interface SocialRequestInterpreterLocalService
request
- the social request being rejectedthemeDisplay
- the theme display needed by interpreters to create
links and get localized text fragmentspublic SocialRequestInterpreterLocalService getWrappedSocialRequestInterpreterLocalService()
getWrappedService()
public void setWrappedSocialRequestInterpreterLocalService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
setWrappedService(com.liferay.portlet.social.service.SocialRequestInterpreterLocalService)
public SocialRequestInterpreterLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<SocialRequestInterpreterLocalService>
public void setWrappedService(SocialRequestInterpreterLocalService socialRequestInterpreterLocalService)
setWrappedService
in interface ServiceWrapper<SocialRequestInterpreterLocalService>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |