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