001
014
015 package com.liferay.portal.service;
016
017
024 public class PortletServiceWrapper implements PortletService,
025 ServiceWrapper<PortletService> {
026 public PortletServiceWrapper(PortletService portletService) {
027 _portletService = portletService;
028 }
029
030
035 @Override
036 public java.lang.String getBeanIdentifier() {
037 return _portletService.getBeanIdentifier();
038 }
039
040
045 @Override
046 public void setBeanIdentifier(java.lang.String beanIdentifier) {
047 _portletService.setBeanIdentifier(beanIdentifier);
048 }
049
050 @Override
051 public com.liferay.portal.kernel.json.JSONArray getWARPortlets() {
052 return _portletService.getWARPortlets();
053 }
054
055 @Override
056 public com.liferay.portal.model.Portlet updatePortlet(long companyId,
057 java.lang.String portletId, java.lang.String roles, boolean active)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _portletService.updatePortlet(companyId, portletId, roles, active);
061 }
062
063
066 public PortletService getWrappedPortletService() {
067 return _portletService;
068 }
069
070
073 public void setWrappedPortletService(PortletService portletService) {
074 _portletService = portletService;
075 }
076
077 @Override
078 public PortletService getWrappedService() {
079 return _portletService;
080 }
081
082 @Override
083 public void setWrappedService(PortletService portletService) {
084 _portletService = portletService;
085 }
086
087 private PortletService _portletService;
088 }