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
064 public com.liferay.portal.model.Resource deleteResource(long resourceId)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 return _resourceLocalService.deleteResource(resourceId);
068 }
069
070
077 public com.liferay.portal.model.Resource deleteResource(
078 com.liferay.portal.model.Resource resource)
079 throws com.liferay.portal.kernel.exception.SystemException {
080 return _resourceLocalService.deleteResource(resource);
081 }
082
083 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
084 return _resourceLocalService.dynamicQuery();
085 }
086
087
094 @SuppressWarnings("rawtypes")
095 public java.util.List dynamicQuery(
096 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
097 throws com.liferay.portal.kernel.exception.SystemException {
098 return _resourceLocalService.dynamicQuery(dynamicQuery);
099 }
100
101
114 @SuppressWarnings("rawtypes")
115 public java.util.List dynamicQuery(
116 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
117 int end) throws com.liferay.portal.kernel.exception.SystemException {
118 return _resourceLocalService.dynamicQuery(dynamicQuery, start, end);
119 }
120
121
135 @SuppressWarnings("rawtypes")
136 public java.util.List dynamicQuery(
137 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
138 int end,
139 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
140 throws com.liferay.portal.kernel.exception.SystemException {
141 return _resourceLocalService.dynamicQuery(dynamicQuery, start, end,
142 orderByComparator);
143 }
144
145
152 public long dynamicQueryCount(
153 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _resourceLocalService.dynamicQueryCount(dynamicQuery);
156 }
157
158 public com.liferay.portal.model.Resource fetchResource(long resourceId)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return _resourceLocalService.fetchResource(resourceId);
161 }
162
163
171 public com.liferay.portal.model.Resource getResource(long resourceId)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException {
174 return _resourceLocalService.getResource(resourceId);
175 }
176
177 public com.liferay.portal.model.PersistedModel getPersistedModel(
178 java.io.Serializable primaryKeyObj)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _resourceLocalService.getPersistedModel(primaryKeyObj);
182 }
183
184
196 public java.util.List<com.liferay.portal.model.Resource> getResources(
197 int start, int end)
198 throws com.liferay.portal.kernel.exception.SystemException {
199 return _resourceLocalService.getResources(start, end);
200 }
201
202
208 public int getResourcesCount()
209 throws com.liferay.portal.kernel.exception.SystemException {
210 return _resourceLocalService.getResourcesCount();
211 }
212
213
220 public com.liferay.portal.model.Resource updateResource(
221 com.liferay.portal.model.Resource resource)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _resourceLocalService.updateResource(resource);
224 }
225
226
234 public com.liferay.portal.model.Resource updateResource(
235 com.liferay.portal.model.Resource resource, boolean merge)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return _resourceLocalService.updateResource(resource, merge);
238 }
239
240
245 public java.lang.String getBeanIdentifier() {
246 return _resourceLocalService.getBeanIdentifier();
247 }
248
249
254 public void setBeanIdentifier(java.lang.String beanIdentifier) {
255 _resourceLocalService.setBeanIdentifier(beanIdentifier);
256 }
257
258 public void addModelResources(
259 com.liferay.portal.model.AuditedModel auditedModel,
260 com.liferay.portal.service.ServiceContext serviceContext)
261 throws com.liferay.portal.kernel.exception.PortalException,
262 com.liferay.portal.kernel.exception.SystemException {
263 _resourceLocalService.addModelResources(auditedModel, serviceContext);
264 }
265
266 public void addModelResources(long companyId, long groupId, long userId,
267 java.lang.String name, long primKey,
268 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
269 throws com.liferay.portal.kernel.exception.PortalException,
270 com.liferay.portal.kernel.exception.SystemException {
271 _resourceLocalService.addModelResources(companyId, groupId, userId,
272 name, primKey, groupPermissions, guestPermissions);
273 }
274
275 public void addModelResources(long companyId, long groupId, long userId,
276 java.lang.String name, java.lang.String primKey,
277 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 _resourceLocalService.addModelResources(companyId, groupId, userId,
281 name, primKey, groupPermissions, guestPermissions);
282 }
283
284 public com.liferay.portal.model.Resource addResource(long companyId,
285 java.lang.String name, int scope, java.lang.String primKey)
286 throws com.liferay.portal.kernel.exception.SystemException {
287 return _resourceLocalService.addResource(companyId, name, scope, primKey);
288 }
289
290 public void addResources(long companyId, long groupId, long userId,
291 java.lang.String name, long primKey, boolean portletActions,
292 boolean addGroupPermissions, boolean addGuestPermissions)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 _resourceLocalService.addResources(companyId, groupId, userId, name,
296 primKey, portletActions, addGroupPermissions, addGuestPermissions);
297 }
298
299 public void addResources(long companyId, long groupId, long userId,
300 java.lang.String name, java.lang.String primKey,
301 boolean portletActions, boolean addGroupPermissions,
302 boolean addGuestPermissions)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _resourceLocalService.addResources(companyId, groupId, userId, name,
306 primKey, portletActions, addGroupPermissions, addGuestPermissions);
307 }
308
309 public void addResources(long companyId, long groupId,
310 java.lang.String name, boolean portletActions)
311 throws com.liferay.portal.kernel.exception.PortalException,
312 com.liferay.portal.kernel.exception.SystemException {
313 _resourceLocalService.addResources(companyId, groupId, name,
314 portletActions);
315 }
316
317 public void deleteResource(
318 com.liferay.portal.model.AuditedModel auditedModel, int scope)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 _resourceLocalService.deleteResource(auditedModel, scope);
322 }
323
324 public void deleteResource(long companyId, java.lang.String name,
325 int scope, long 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 deleteResource(long companyId, java.lang.String name,
332 int scope, java.lang.String primKey)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 _resourceLocalService.deleteResource(companyId, name, scope, primKey);
336 }
337
338 public void deleteResources(java.lang.String name)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 _resourceLocalService.deleteResources(name);
341 }
342
343 public com.liferay.portal.model.Resource fetchResource(long companyId,
344 java.lang.String name, int scope, java.lang.String primKey)
345 throws com.liferay.portal.kernel.exception.SystemException {
346 return _resourceLocalService.fetchResource(companyId, name, scope,
347 primKey);
348 }
349
350 public long getLatestResourceId()
351 throws com.liferay.portal.kernel.exception.SystemException {
352 return _resourceLocalService.getLatestResourceId();
353 }
354
355 public com.liferay.portal.model.Resource getResource(long companyId,
356 java.lang.String name, int scope, java.lang.String primKey)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return _resourceLocalService.getResource(companyId, name, scope, primKey);
360 }
361
362 public java.util.List<com.liferay.portal.model.Resource> getResources()
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return _resourceLocalService.getResources();
365 }
366
367 public void updateModelResources(
368 com.liferay.portal.model.AuditedModel auditedModel,
369 com.liferay.portal.service.ServiceContext serviceContext)
370 throws com.liferay.portal.kernel.exception.PortalException,
371 com.liferay.portal.kernel.exception.SystemException {
372 _resourceLocalService.updateModelResources(auditedModel, serviceContext);
373 }
374
375 public void updateResources(long companyId, long groupId,
376 java.lang.String name, long primKey,
377 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
378 throws com.liferay.portal.kernel.exception.PortalException,
379 com.liferay.portal.kernel.exception.SystemException {
380 _resourceLocalService.updateResources(companyId, groupId, name,
381 primKey, groupPermissions, guestPermissions);
382 }
383
384 public void updateResources(long companyId, long groupId,
385 java.lang.String name, java.lang.String primKey,
386 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
387 throws com.liferay.portal.kernel.exception.PortalException,
388 com.liferay.portal.kernel.exception.SystemException {
389 _resourceLocalService.updateResources(companyId, groupId, name,
390 primKey, groupPermissions, guestPermissions);
391 }
392
393 public void updateResources(long companyId, java.lang.String name,
394 int scope, java.lang.String primKey, java.lang.String newPrimKey)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 _resourceLocalService.updateResources(companyId, name, scope, primKey,
398 newPrimKey);
399 }
400
401
404 public ResourceLocalService getWrappedResourceLocalService() {
405 return _resourceLocalService;
406 }
407
408
411 public void setWrappedResourceLocalService(
412 ResourceLocalService resourceLocalService) {
413 _resourceLocalService = resourceLocalService;
414 }
415
416 public ResourceLocalService getWrappedService() {
417 return _resourceLocalService;
418 }
419
420 public void setWrappedService(ResourceLocalService resourceLocalService) {
421 _resourceLocalService = resourceLocalService;
422 }
423
424 private ResourceLocalService _resourceLocalService;
425 }