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