001
014
015 package com.liferay.portal.service;
016
017
026 public class ResourceLocalServiceWrapper implements ResourceLocalService,
027 ServiceWrapper<ResourceLocalService> {
028 public ResourceLocalServiceWrapper(
029 ResourceLocalService resourceLocalService) {
030 _resourceLocalService = resourceLocalService;
031 }
032
033
040 public com.liferay.portal.model.Resource addResource(
041 com.liferay.portal.model.Resource resource)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _resourceLocalService.addResource(resource);
044 }
045
046
052 public com.liferay.portal.model.Resource createResource(long resourceId) {
053 return _resourceLocalService.createResource(resourceId);
054 }
055
056
063 public void deleteResource(long resourceId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _resourceLocalService.deleteResource(resourceId);
067 }
068
069
075 public void deleteResource(com.liferay.portal.model.Resource resource)
076 throws com.liferay.portal.kernel.exception.SystemException {
077 _resourceLocalService.deleteResource(resource);
078 }
079
080
087 @SuppressWarnings("rawtypes")
088 public java.util.List dynamicQuery(
089 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return _resourceLocalService.dynamicQuery(dynamicQuery);
092 }
093
094
107 @SuppressWarnings("rawtypes")
108 public java.util.List dynamicQuery(
109 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
110 int end) throws com.liferay.portal.kernel.exception.SystemException {
111 return _resourceLocalService.dynamicQuery(dynamicQuery, start, end);
112 }
113
114
128 @SuppressWarnings("rawtypes")
129 public java.util.List dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131 int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException {
134 return _resourceLocalService.dynamicQuery(dynamicQuery, start, end,
135 orderByComparator);
136 }
137
138
145 public long dynamicQueryCount(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _resourceLocalService.dynamicQueryCount(dynamicQuery);
149 }
150
151 public com.liferay.portal.model.Resource fetchResource(long resourceId)
152 throws com.liferay.portal.kernel.exception.SystemException {
153 return _resourceLocalService.fetchResource(resourceId);
154 }
155
156
164 public com.liferay.portal.model.Resource getResource(long resourceId)
165 throws com.liferay.portal.kernel.exception.PortalException,
166 com.liferay.portal.kernel.exception.SystemException {
167 return _resourceLocalService.getResource(resourceId);
168 }
169
170 public com.liferay.portal.model.PersistedModel getPersistedModel(
171 java.io.Serializable primaryKeyObj)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _resourceLocalService.getPersistedModel(primaryKeyObj);
175 }
176
177
189 public java.util.List<com.liferay.portal.model.Resource> getResources(
190 int start, int end)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return _resourceLocalService.getResources(start, end);
193 }
194
195
201 public int getResourcesCount()
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return _resourceLocalService.getResourcesCount();
204 }
205
206
213 public com.liferay.portal.model.Resource updateResource(
214 com.liferay.portal.model.Resource resource)
215 throws com.liferay.portal.kernel.exception.SystemException {
216 return _resourceLocalService.updateResource(resource);
217 }
218
219
227 public com.liferay.portal.model.Resource updateResource(
228 com.liferay.portal.model.Resource resource, boolean merge)
229 throws com.liferay.portal.kernel.exception.SystemException {
230 return _resourceLocalService.updateResource(resource, merge);
231 }
232
233
238 public java.lang.String getBeanIdentifier() {
239 return _resourceLocalService.getBeanIdentifier();
240 }
241
242
247 public void setBeanIdentifier(java.lang.String beanIdentifier) {
248 _resourceLocalService.setBeanIdentifier(beanIdentifier);
249 }
250
251 public void addModelResources(
252 com.liferay.portal.model.AuditedModel auditedModel,
253 com.liferay.portal.service.ServiceContext serviceContext)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException {
256 _resourceLocalService.addModelResources(auditedModel, serviceContext);
257 }
258
259 public void addModelResources(long companyId, long groupId, long userId,
260 java.lang.String name, long primKey,
261 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 _resourceLocalService.addModelResources(companyId, groupId, userId,
265 name, primKey, groupPermissions, guestPermissions);
266 }
267
268 public void addModelResources(long companyId, long groupId, long userId,
269 java.lang.String name, java.lang.String primKey,
270 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 _resourceLocalService.addModelResources(companyId, groupId, userId,
274 name, primKey, groupPermissions, guestPermissions);
275 }
276
277 public com.liferay.portal.model.Resource addResource(long companyId,
278 java.lang.String name, int scope, java.lang.String primKey)
279 throws com.liferay.portal.kernel.exception.SystemException {
280 return _resourceLocalService.addResource(companyId, name, scope, primKey);
281 }
282
283 public void addResources(long companyId, long groupId, long userId,
284 java.lang.String name, long primKey, boolean portletActions,
285 boolean addGroupPermissions, boolean addGuestPermissions)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _resourceLocalService.addResources(companyId, groupId, userId, name,
289 primKey, portletActions, addGroupPermissions, addGuestPermissions);
290 }
291
292 public void addResources(long companyId, long groupId, long userId,
293 java.lang.String name, java.lang.String primKey,
294 boolean portletActions, boolean addGroupPermissions,
295 boolean addGuestPermissions)
296 throws com.liferay.portal.kernel.exception.PortalException,
297 com.liferay.portal.kernel.exception.SystemException {
298 _resourceLocalService.addResources(companyId, groupId, userId, name,
299 primKey, portletActions, addGroupPermissions, addGuestPermissions);
300 }
301
302 public void addResources(long companyId, long groupId,
303 java.lang.String name, boolean portletActions)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _resourceLocalService.addResources(companyId, groupId, name,
307 portletActions);
308 }
309
310 public void deleteResource(
311 com.liferay.portal.model.AuditedModel auditedModel, int scope)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _resourceLocalService.deleteResource(auditedModel, scope);
315 }
316
317 public void deleteResource(long companyId, java.lang.String name,
318 int scope, long primKey)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 _resourceLocalService.deleteResource(companyId, name, scope, primKey);
322 }
323
324 public void deleteResource(long companyId, java.lang.String name,
325 int scope, java.lang.String primKey)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 _resourceLocalService.deleteResource(companyId, name, scope, primKey);
329 }
330
331 public void deleteResources(java.lang.String name)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 _resourceLocalService.deleteResources(name);
334 }
335
336 public com.liferay.portal.model.Resource fetchResource(long companyId,
337 java.lang.String name, int scope, java.lang.String primKey)
338 throws com.liferay.portal.kernel.exception.SystemException {
339 return _resourceLocalService.fetchResource(companyId, name, scope,
340 primKey);
341 }
342
343 public long getLatestResourceId()
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return _resourceLocalService.getLatestResourceId();
346 }
347
348 public com.liferay.portal.model.Resource getResource(long companyId,
349 java.lang.String name, int scope, java.lang.String primKey)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException {
352 return _resourceLocalService.getResource(companyId, name, scope, primKey);
353 }
354
355 public java.util.List<com.liferay.portal.model.Resource> getResources()
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return _resourceLocalService.getResources();
358 }
359
360 public void updateModelResources(
361 com.liferay.portal.model.AuditedModel auditedModel,
362 com.liferay.portal.service.ServiceContext serviceContext)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 _resourceLocalService.updateModelResources(auditedModel, serviceContext);
366 }
367
368 public void updateResources(long companyId, long groupId,
369 java.lang.String name, long primKey,
370 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
371 throws com.liferay.portal.kernel.exception.PortalException,
372 com.liferay.portal.kernel.exception.SystemException {
373 _resourceLocalService.updateResources(companyId, groupId, name,
374 primKey, groupPermissions, guestPermissions);
375 }
376
377 public void updateResources(long companyId, long groupId,
378 java.lang.String name, java.lang.String primKey,
379 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
380 throws com.liferay.portal.kernel.exception.PortalException,
381 com.liferay.portal.kernel.exception.SystemException {
382 _resourceLocalService.updateResources(companyId, groupId, name,
383 primKey, groupPermissions, guestPermissions);
384 }
385
386 public void updateResources(long companyId, java.lang.String name,
387 int scope, java.lang.String primKey, java.lang.String newPrimKey)
388 throws com.liferay.portal.kernel.exception.PortalException,
389 com.liferay.portal.kernel.exception.SystemException {
390 _resourceLocalService.updateResources(companyId, name, scope, primKey,
391 newPrimKey);
392 }
393
394
397 public ResourceLocalService getWrappedResourceLocalService() {
398 return _resourceLocalService;
399 }
400
401
404 public void setWrappedResourceLocalService(
405 ResourceLocalService resourceLocalService) {
406 _resourceLocalService = resourceLocalService;
407 }
408
409 public ResourceLocalService getWrappedService() {
410 return _resourceLocalService;
411 }
412
413 public void setWrappedService(ResourceLocalService resourceLocalService) {
414 _resourceLocalService = resourceLocalService;
415 }
416
417 private ResourceLocalService _resourceLocalService;
418 }