1
22
23 package com.liferay.portal.service;
24
25
26
42 public class PortletLocalServiceWrapper implements PortletLocalService {
43 public PortletLocalServiceWrapper(PortletLocalService portletLocalService) {
44 _portletLocalService = portletLocalService;
45 }
46
47 public com.liferay.portal.model.Portlet addPortlet(
48 com.liferay.portal.model.Portlet portlet)
49 throws com.liferay.portal.SystemException {
50 return _portletLocalService.addPortlet(portlet);
51 }
52
53 public com.liferay.portal.model.Portlet createPortlet(long id) {
54 return _portletLocalService.createPortlet(id);
55 }
56
57 public void deletePortlet(long id)
58 throws com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException {
60 _portletLocalService.deletePortlet(id);
61 }
62
63 public void deletePortlet(com.liferay.portal.model.Portlet portlet)
64 throws com.liferay.portal.SystemException {
65 _portletLocalService.deletePortlet(portlet);
66 }
67
68 public java.util.List<Object> dynamicQuery(
69 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
70 throws com.liferay.portal.SystemException {
71 return _portletLocalService.dynamicQuery(dynamicQuery);
72 }
73
74 public java.util.List<Object> dynamicQuery(
75 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
76 int end) throws com.liferay.portal.SystemException {
77 return _portletLocalService.dynamicQuery(dynamicQuery, start, end);
78 }
79
80 public com.liferay.portal.model.Portlet getPortlet(long id)
81 throws com.liferay.portal.PortalException,
82 com.liferay.portal.SystemException {
83 return _portletLocalService.getPortlet(id);
84 }
85
86 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
87 int start, int end) throws com.liferay.portal.SystemException {
88 return _portletLocalService.getPortlets(start, end);
89 }
90
91 public int getPortletsCount() throws com.liferay.portal.SystemException {
92 return _portletLocalService.getPortletsCount();
93 }
94
95 public com.liferay.portal.model.Portlet updatePortlet(
96 com.liferay.portal.model.Portlet portlet)
97 throws com.liferay.portal.SystemException {
98 return _portletLocalService.updatePortlet(portlet);
99 }
100
101 public com.liferay.portal.model.Portlet updatePortlet(
102 com.liferay.portal.model.Portlet portlet, boolean merge)
103 throws com.liferay.portal.SystemException {
104 return _portletLocalService.updatePortlet(portlet, merge);
105 }
106
107 public com.liferay.portal.model.Portlet deployRemotePortlet(
108 com.liferay.portal.model.Portlet portlet)
109 throws com.liferay.portal.SystemException {
110 return _portletLocalService.deployRemotePortlet(portlet);
111 }
112
113 public void destroyRemotePortlet(com.liferay.portal.model.Portlet portlet) {
114 _portletLocalService.destroyRemotePortlet(portlet);
115 }
116
117 public void destroyPortlet(com.liferay.portal.model.Portlet portlet) {
118 _portletLocalService.destroyPortlet(portlet);
119 }
120
121 public com.liferay.portal.model.PortletCategory getEARDisplay(
122 java.lang.String xml) throws com.liferay.portal.SystemException {
123 return _portletLocalService.getEARDisplay(xml);
124 }
125
126 public com.liferay.portal.model.PortletApp getPortletApp(
127 java.lang.String servletContextName) {
128 return _portletLocalService.getPortletApp(servletContextName);
129 }
130
131 public com.liferay.portal.model.PortletCategory getWARDisplay(
132 java.lang.String servletContextName, java.lang.String xml)
133 throws com.liferay.portal.SystemException {
134 return _portletLocalService.getWARDisplay(servletContextName, xml);
135 }
136
137 public java.util.List<com.liferay.portal.model.Portlet> getFriendlyURLMapperPortlets() {
138 return _portletLocalService.getFriendlyURLMapperPortlets();
139 }
140
141 public java.util.List<com.liferay.portal.kernel.portlet.FriendlyURLMapper> getFriendlyURLMappers() {
142 return _portletLocalService.getFriendlyURLMappers();
143 }
144
145 public com.liferay.portal.model.Portlet getPortletById(
146 java.lang.String portletId) {
147 return _portletLocalService.getPortletById(portletId);
148 }
149
150 public com.liferay.portal.model.Portlet getPortletById(long companyId,
151 java.lang.String portletId) throws com.liferay.portal.SystemException {
152 return _portletLocalService.getPortletById(companyId, portletId);
153 }
154
155 public com.liferay.portal.model.Portlet getPortletByStrutsPath(
156 long companyId, java.lang.String strutsPath)
157 throws com.liferay.portal.SystemException {
158 return _portletLocalService.getPortletByStrutsPath(companyId, strutsPath);
159 }
160
161 public java.util.List<com.liferay.portal.model.Portlet> getPortlets() {
162 return _portletLocalService.getPortlets();
163 }
164
165 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
166 long companyId) throws com.liferay.portal.SystemException {
167 return _portletLocalService.getPortlets(companyId);
168 }
169
170 public java.util.List<com.liferay.portal.model.Portlet> getPortlets(
171 long companyId, boolean showSystem, boolean showPortal)
172 throws com.liferay.portal.SystemException {
173 return _portletLocalService.getPortlets(companyId, showSystem,
174 showPortal);
175 }
176
177 public boolean hasPortlet(long companyId, java.lang.String portletId)
178 throws com.liferay.portal.SystemException {
179 return _portletLocalService.hasPortlet(companyId, portletId);
180 }
181
182 public void initEAR(javax.servlet.ServletContext servletContext,
183 java.lang.String[] xmls,
184 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
185 _portletLocalService.initEAR(servletContext, xmls, pluginPackage);
186 }
187
188 public java.util.List<com.liferay.portal.model.Portlet> initWAR(
189 java.lang.String servletContextName,
190 javax.servlet.ServletContext servletContext, java.lang.String[] xmls,
191 com.liferay.portal.kernel.plugin.PluginPackage pluginPackage) {
192 return _portletLocalService.initWAR(servletContextName, servletContext,
193 xmls, pluginPackage);
194 }
195
196 public com.liferay.portal.model.Portlet newPortlet(long companyId,
197 java.lang.String portletId) {
198 return _portletLocalService.newPortlet(companyId, portletId);
199 }
200
201 public com.liferay.portal.model.Portlet updatePortlet(long companyId,
202 java.lang.String portletId, java.lang.String roles, boolean active)
203 throws com.liferay.portal.SystemException {
204 return _portletLocalService.updatePortlet(companyId, portletId, roles,
205 active);
206 }
207
208 public PortletLocalService getWrappedPortletLocalService() {
209 return _portletLocalService;
210 }
211
212 private PortletLocalService _portletLocalService;
213 }