001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ResourceBlockLocalService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ResourceBlockLocalService
024     * @generated
025     */
026    public class ResourceBlockLocalServiceWrapper
027            implements ResourceBlockLocalService,
028                    ServiceWrapper<ResourceBlockLocalService> {
029            public ResourceBlockLocalServiceWrapper(
030                    ResourceBlockLocalService resourceBlockLocalService) {
031                    _resourceBlockLocalService = resourceBlockLocalService;
032            }
033    
034            /**
035            * Adds the resource block to the database. Also notifies the appropriate model listeners.
036            *
037            * @param resourceBlock the resource block
038            * @return the resource block that was added
039            * @throws SystemException if a system exception occurred
040            */
041            public com.liferay.portal.model.ResourceBlock addResourceBlock(
042                    com.liferay.portal.model.ResourceBlock resourceBlock)
043                    throws com.liferay.portal.kernel.exception.SystemException {
044                    return _resourceBlockLocalService.addResourceBlock(resourceBlock);
045            }
046    
047            /**
048            * Creates a new resource block with the primary key. Does not add the resource block to the database.
049            *
050            * @param resourceBlockId the primary key for the new resource block
051            * @return the new resource block
052            */
053            public com.liferay.portal.model.ResourceBlock createResourceBlock(
054                    long resourceBlockId) {
055                    return _resourceBlockLocalService.createResourceBlock(resourceBlockId);
056            }
057    
058            /**
059            * Deletes the resource block with the primary key from the database. Also notifies the appropriate model listeners.
060            *
061            * @param resourceBlockId the primary key of the resource block
062            * @return the resource block that was removed
063            * @throws PortalException if a resource block with the primary key could not be found
064            * @throws SystemException if a system exception occurred
065            */
066            public com.liferay.portal.model.ResourceBlock deleteResourceBlock(
067                    long resourceBlockId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _resourceBlockLocalService.deleteResourceBlock(resourceBlockId);
071            }
072    
073            /**
074            * Deletes the resource block from the database. Also notifies the appropriate model listeners.
075            *
076            * @param resourceBlock the resource block
077            * @return the resource block that was removed
078            * @throws SystemException if a system exception occurred
079            */
080            public com.liferay.portal.model.ResourceBlock deleteResourceBlock(
081                    com.liferay.portal.model.ResourceBlock resourceBlock)
082                    throws com.liferay.portal.kernel.exception.SystemException {
083                    return _resourceBlockLocalService.deleteResourceBlock(resourceBlock);
084            }
085    
086            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
087                    return _resourceBlockLocalService.dynamicQuery();
088            }
089    
090            /**
091            * Performs a dynamic query on the database and returns the matching rows.
092            *
093            * @param dynamicQuery the dynamic query
094            * @return the matching rows
095            * @throws SystemException if a system exception occurred
096            */
097            @SuppressWarnings("rawtypes")
098            public java.util.List dynamicQuery(
099                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
100                    throws com.liferay.portal.kernel.exception.SystemException {
101                    return _resourceBlockLocalService.dynamicQuery(dynamicQuery);
102            }
103    
104            /**
105            * Performs a dynamic query on the database and returns a range of the matching rows.
106            *
107            * <p>
108            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
109            * </p>
110            *
111            * @param dynamicQuery the dynamic query
112            * @param start the lower bound of the range of model instances
113            * @param end the upper bound of the range of model instances (not inclusive)
114            * @return the range of matching rows
115            * @throws SystemException if a system exception occurred
116            */
117            @SuppressWarnings("rawtypes")
118            public java.util.List dynamicQuery(
119                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
120                    int end) throws com.liferay.portal.kernel.exception.SystemException {
121                    return _resourceBlockLocalService.dynamicQuery(dynamicQuery, start, end);
122            }
123    
124            /**
125            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
126            *
127            * <p>
128            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
129            * </p>
130            *
131            * @param dynamicQuery the dynamic query
132            * @param start the lower bound of the range of model instances
133            * @param end the upper bound of the range of model instances (not inclusive)
134            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
135            * @return the ordered range of matching rows
136            * @throws SystemException if a system exception occurred
137            */
138            @SuppressWarnings("rawtypes")
139            public java.util.List dynamicQuery(
140                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
141                    int end,
142                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
143                    throws com.liferay.portal.kernel.exception.SystemException {
144                    return _resourceBlockLocalService.dynamicQuery(dynamicQuery, start,
145                            end, orderByComparator);
146            }
147    
148            /**
149            * Returns the number of rows that match the dynamic query.
150            *
151            * @param dynamicQuery the dynamic query
152            * @return the number of rows that match the dynamic query
153            * @throws SystemException if a system exception occurred
154            */
155            public long dynamicQueryCount(
156                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
157                    throws com.liferay.portal.kernel.exception.SystemException {
158                    return _resourceBlockLocalService.dynamicQueryCount(dynamicQuery);
159            }
160    
161            public com.liferay.portal.model.ResourceBlock fetchResourceBlock(
162                    long resourceBlockId)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return _resourceBlockLocalService.fetchResourceBlock(resourceBlockId);
165            }
166    
167            /**
168            * Returns the resource block with the primary key.
169            *
170            * @param resourceBlockId the primary key of the resource block
171            * @return the resource block
172            * @throws PortalException if a resource block with the primary key could not be found
173            * @throws SystemException if a system exception occurred
174            */
175            public com.liferay.portal.model.ResourceBlock getResourceBlock(
176                    long resourceBlockId)
177                    throws com.liferay.portal.kernel.exception.PortalException,
178                            com.liferay.portal.kernel.exception.SystemException {
179                    return _resourceBlockLocalService.getResourceBlock(resourceBlockId);
180            }
181    
182            public com.liferay.portal.model.PersistedModel getPersistedModel(
183                    java.io.Serializable primaryKeyObj)
184                    throws com.liferay.portal.kernel.exception.PortalException,
185                            com.liferay.portal.kernel.exception.SystemException {
186                    return _resourceBlockLocalService.getPersistedModel(primaryKeyObj);
187            }
188    
189            /**
190            * Returns a range of all the resource blocks.
191            *
192            * <p>
193            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
194            * </p>
195            *
196            * @param start the lower bound of the range of resource blocks
197            * @param end the upper bound of the range of resource blocks (not inclusive)
198            * @return the range of resource blocks
199            * @throws SystemException if a system exception occurred
200            */
201            public java.util.List<com.liferay.portal.model.ResourceBlock> getResourceBlocks(
202                    int start, int end)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return _resourceBlockLocalService.getResourceBlocks(start, end);
205            }
206    
207            /**
208            * Returns the number of resource blocks.
209            *
210            * @return the number of resource blocks
211            * @throws SystemException if a system exception occurred
212            */
213            public int getResourceBlocksCount()
214                    throws com.liferay.portal.kernel.exception.SystemException {
215                    return _resourceBlockLocalService.getResourceBlocksCount();
216            }
217    
218            /**
219            * Updates the resource block in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
220            *
221            * @param resourceBlock the resource block
222            * @return the resource block that was updated
223            * @throws SystemException if a system exception occurred
224            */
225            public com.liferay.portal.model.ResourceBlock updateResourceBlock(
226                    com.liferay.portal.model.ResourceBlock resourceBlock)
227                    throws com.liferay.portal.kernel.exception.SystemException {
228                    return _resourceBlockLocalService.updateResourceBlock(resourceBlock);
229            }
230    
231            /**
232            * Returns the Spring bean ID for this bean.
233            *
234            * @return the Spring bean ID for this bean
235            */
236            public java.lang.String getBeanIdentifier() {
237                    return _resourceBlockLocalService.getBeanIdentifier();
238            }
239    
240            /**
241            * Sets the Spring bean ID for this bean.
242            *
243            * @param beanIdentifier the Spring bean ID for this bean
244            */
245            public void setBeanIdentifier(java.lang.String beanIdentifier) {
246                    _resourceBlockLocalService.setBeanIdentifier(beanIdentifier);
247            }
248    
249            public void addCompanyScopePermission(long companyId,
250                    java.lang.String name, long roleId, java.lang.String actionId)
251                    throws com.liferay.portal.kernel.exception.PortalException,
252                            com.liferay.portal.kernel.exception.SystemException {
253                    _resourceBlockLocalService.addCompanyScopePermission(companyId, name,
254                            roleId, actionId);
255            }
256    
257            public void addCompanyScopePermissions(long companyId,
258                    java.lang.String name, long roleId, long actionIdsLong)
259                    throws com.liferay.portal.kernel.exception.SystemException {
260                    _resourceBlockLocalService.addCompanyScopePermissions(companyId, name,
261                            roleId, actionIdsLong);
262            }
263    
264            public void addGroupScopePermission(long companyId, long groupId,
265                    java.lang.String name, long roleId, java.lang.String actionId)
266                    throws com.liferay.portal.kernel.exception.PortalException,
267                            com.liferay.portal.kernel.exception.SystemException {
268                    _resourceBlockLocalService.addGroupScopePermission(companyId, groupId,
269                            name, roleId, actionId);
270            }
271    
272            public void addGroupScopePermissions(long companyId, long groupId,
273                    java.lang.String name, long roleId, long actionIdsLong)
274                    throws com.liferay.portal.kernel.exception.SystemException {
275                    _resourceBlockLocalService.addGroupScopePermissions(companyId, groupId,
276                            name, roleId, actionIdsLong);
277            }
278    
279            public void addIndividualScopePermission(long companyId, long groupId,
280                    java.lang.String name, long primKey, long roleId,
281                    java.lang.String actionId)
282                    throws com.liferay.portal.kernel.exception.PortalException,
283                            com.liferay.portal.kernel.exception.SystemException {
284                    _resourceBlockLocalService.addIndividualScopePermission(companyId,
285                            groupId, name, primKey, roleId, actionId);
286            }
287    
288            public void addIndividualScopePermission(long companyId, long groupId,
289                    java.lang.String name,
290                    com.liferay.portal.model.PermissionedModel permissionedModel,
291                    long roleId, java.lang.String actionId)
292                    throws com.liferay.portal.kernel.exception.PortalException,
293                            com.liferay.portal.kernel.exception.SystemException {
294                    _resourceBlockLocalService.addIndividualScopePermission(companyId,
295                            groupId, name, permissionedModel, roleId, actionId);
296            }
297    
298            public void addIndividualScopePermissions(long companyId, long groupId,
299                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
300                    throws com.liferay.portal.kernel.exception.PortalException,
301                            com.liferay.portal.kernel.exception.SystemException {
302                    _resourceBlockLocalService.addIndividualScopePermissions(companyId,
303                            groupId, name, primKey, roleId, actionIdsLong);
304            }
305    
306            public void addIndividualScopePermissions(long companyId, long groupId,
307                    java.lang.String name,
308                    com.liferay.portal.model.PermissionedModel permissionedModel,
309                    long roleId, long actionIdsLong)
310                    throws com.liferay.portal.kernel.exception.SystemException {
311                    _resourceBlockLocalService.addIndividualScopePermissions(companyId,
312                            groupId, name, permissionedModel, roleId, actionIdsLong);
313            }
314    
315            /**
316            * Adds a resource block if necessary and associates the resource block
317            * permissions with it. The resource block will have an initial reference
318            * count of one.
319            *
320            * @param companyId the primary key of the resource block's company
321            * @param groupId the primary key of the resource block's group
322            * @param name the resource block's name
323            * @param permissionsHash the resource block's permission hash
324            * @param resourceBlockPermissionsContainer the resource block's
325            permissions container
326            * @return the new resource block
327            * @throws SystemException if a system exception occurred
328            */
329            public com.liferay.portal.model.ResourceBlock addResourceBlock(
330                    long companyId, long groupId, java.lang.String name,
331                    java.lang.String permissionsHash,
332                    com.liferay.portal.model.ResourceBlockPermissionsContainer resourceBlockPermissionsContainer)
333                    throws com.liferay.portal.kernel.exception.SystemException {
334                    return _resourceBlockLocalService.addResourceBlock(companyId, groupId,
335                            name, permissionsHash, resourceBlockPermissionsContainer);
336            }
337    
338            public long getActionId(java.lang.String name, java.lang.String actionId)
339                    throws com.liferay.portal.kernel.exception.PortalException {
340                    return _resourceBlockLocalService.getActionId(name, actionId);
341            }
342    
343            public long getActionIds(java.lang.String name,
344                    java.util.List<java.lang.String> actionIds)
345                    throws com.liferay.portal.kernel.exception.PortalException {
346                    return _resourceBlockLocalService.getActionIds(name, actionIds);
347            }
348    
349            public java.util.List<java.lang.String> getActionIds(
350                    java.lang.String name, long actionIdsLong)
351                    throws com.liferay.portal.kernel.exception.SystemException {
352                    return _resourceBlockLocalService.getActionIds(name, actionIdsLong);
353            }
354    
355            public java.util.List<java.lang.String> getCompanyScopePermissions(
356                    com.liferay.portal.model.ResourceBlock resourceBlock, long roleId)
357                    throws com.liferay.portal.kernel.exception.SystemException {
358                    return _resourceBlockLocalService.getCompanyScopePermissions(resourceBlock,
359                            roleId);
360            }
361    
362            public java.util.List<java.lang.String> getGroupScopePermissions(
363                    com.liferay.portal.model.ResourceBlock resourceBlock, long roleId)
364                    throws com.liferay.portal.kernel.exception.SystemException {
365                    return _resourceBlockLocalService.getGroupScopePermissions(resourceBlock,
366                            roleId);
367            }
368    
369            public com.liferay.portal.model.PermissionedModel getPermissionedModel(
370                    java.lang.String name, long primKey)
371                    throws com.liferay.portal.kernel.exception.PortalException,
372                            com.liferay.portal.kernel.exception.SystemException {
373                    return _resourceBlockLocalService.getPermissionedModel(name, primKey);
374            }
375    
376            public java.util.List<java.lang.String> getPermissions(
377                    com.liferay.portal.model.ResourceBlock resourceBlock, long roleId)
378                    throws com.liferay.portal.kernel.exception.SystemException {
379                    return _resourceBlockLocalService.getPermissions(resourceBlock, roleId);
380            }
381    
382            public com.liferay.portal.model.ResourceBlock getResourceBlock(
383                    java.lang.String name, long primKey)
384                    throws com.liferay.portal.kernel.exception.PortalException,
385                            com.liferay.portal.kernel.exception.SystemException {
386                    return _resourceBlockLocalService.getResourceBlock(name, primKey);
387            }
388    
389            public java.util.List<java.lang.Long> getResourceBlockIds(
390                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag,
391                    java.lang.String name, java.lang.String actionId)
392                    throws com.liferay.portal.kernel.exception.PortalException {
393                    return _resourceBlockLocalService.getResourceBlockIds(resourceBlockIdsBag,
394                            name, actionId);
395            }
396    
397            public com.liferay.portal.security.permission.ResourceBlockIdsBag getResourceBlockIdsBag(
398                    long companyId, long groupId, java.lang.String name, long[] roleIds)
399                    throws com.liferay.portal.kernel.exception.SystemException {
400                    return _resourceBlockLocalService.getResourceBlockIdsBag(companyId,
401                            groupId, name, roleIds);
402            }
403    
404            public boolean hasPermission(java.lang.String name, long primKey,
405                    java.lang.String actionId,
406                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag)
407                    throws com.liferay.portal.kernel.exception.PortalException,
408                            com.liferay.portal.kernel.exception.SystemException {
409                    return _resourceBlockLocalService.hasPermission(name, primKey,
410                            actionId, resourceBlockIdsBag);
411            }
412    
413            public boolean hasPermission(java.lang.String name,
414                    com.liferay.portal.model.PermissionedModel permissionedModel,
415                    java.lang.String actionId,
416                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag)
417                    throws com.liferay.portal.kernel.exception.PortalException {
418                    return _resourceBlockLocalService.hasPermission(name,
419                            permissionedModel, actionId, resourceBlockIdsBag);
420            }
421    
422            public boolean isSupported(java.lang.String name) {
423                    return _resourceBlockLocalService.isSupported(name);
424            }
425    
426            public void releasePermissionedModelResourceBlock(
427                    com.liferay.portal.model.PermissionedModel permissionedModel)
428                    throws com.liferay.portal.kernel.exception.SystemException {
429                    _resourceBlockLocalService.releasePermissionedModelResourceBlock(permissionedModel);
430            }
431    
432            public void releasePermissionedModelResourceBlock(java.lang.String name,
433                    long primKey)
434                    throws com.liferay.portal.kernel.exception.PortalException,
435                            com.liferay.portal.kernel.exception.SystemException {
436                    _resourceBlockLocalService.releasePermissionedModelResourceBlock(name,
437                            primKey);
438            }
439    
440            /**
441            * Decrements the reference count of the resource block and updates it in
442            * the database or deletes the resource block if the reference count reaches
443            * zero.
444            *
445            * @param resourceBlockId the primary key of the resource block
446            * @throws SystemException if a system exception occurred
447            */
448            public void releaseResourceBlock(long resourceBlockId)
449                    throws com.liferay.portal.kernel.exception.SystemException {
450                    _resourceBlockLocalService.releaseResourceBlock(resourceBlockId);
451            }
452    
453            /**
454            * Decrements the reference count of the resource block and updates it in
455            * the database or deletes the resource block if the reference count reaches
456            * zero.
457            *
458            * @param resourceBlock the resource block
459            * @throws SystemException if a system exception occurred
460            */
461            public void releaseResourceBlock(
462                    com.liferay.portal.model.ResourceBlock resourceBlock)
463                    throws com.liferay.portal.kernel.exception.SystemException {
464                    _resourceBlockLocalService.releaseResourceBlock(resourceBlock);
465            }
466    
467            public void removeAllGroupScopePermissions(long companyId,
468                    java.lang.String name, long roleId, long actionIdsLong)
469                    throws com.liferay.portal.kernel.exception.SystemException {
470                    _resourceBlockLocalService.removeAllGroupScopePermissions(companyId,
471                            name, roleId, actionIdsLong);
472            }
473    
474            public void removeAllGroupScopePermissions(long companyId,
475                    java.lang.String name, long roleId, java.lang.String actionId)
476                    throws com.liferay.portal.kernel.exception.PortalException,
477                            com.liferay.portal.kernel.exception.SystemException {
478                    _resourceBlockLocalService.removeAllGroupScopePermissions(companyId,
479                            name, roleId, actionId);
480            }
481    
482            public void removeCompanyScopePermission(long companyId,
483                    java.lang.String name, long roleId, java.lang.String actionId)
484                    throws com.liferay.portal.kernel.exception.PortalException,
485                            com.liferay.portal.kernel.exception.SystemException {
486                    _resourceBlockLocalService.removeCompanyScopePermission(companyId,
487                            name, roleId, actionId);
488            }
489    
490            public void removeCompanyScopePermissions(long companyId,
491                    java.lang.String name, long roleId, long actionIdsLong)
492                    throws com.liferay.portal.kernel.exception.SystemException {
493                    _resourceBlockLocalService.removeCompanyScopePermissions(companyId,
494                            name, roleId, actionIdsLong);
495            }
496    
497            public void removeGroupScopePermission(long companyId, long groupId,
498                    java.lang.String name, long roleId, java.lang.String actionId)
499                    throws com.liferay.portal.kernel.exception.PortalException,
500                            com.liferay.portal.kernel.exception.SystemException {
501                    _resourceBlockLocalService.removeGroupScopePermission(companyId,
502                            groupId, name, roleId, actionId);
503            }
504    
505            public void removeGroupScopePermissions(long companyId, long groupId,
506                    java.lang.String name, long roleId, long actionIdsLong)
507                    throws com.liferay.portal.kernel.exception.SystemException {
508                    _resourceBlockLocalService.removeGroupScopePermissions(companyId,
509                            groupId, name, roleId, actionIdsLong);
510            }
511    
512            public void removeIndividualScopePermission(long companyId, long groupId,
513                    java.lang.String name, long primKey, long roleId,
514                    java.lang.String actionId)
515                    throws com.liferay.portal.kernel.exception.PortalException,
516                            com.liferay.portal.kernel.exception.SystemException {
517                    _resourceBlockLocalService.removeIndividualScopePermission(companyId,
518                            groupId, name, primKey, roleId, actionId);
519            }
520    
521            public void removeIndividualScopePermission(long companyId, long groupId,
522                    java.lang.String name,
523                    com.liferay.portal.model.PermissionedModel permissionedModel,
524                    long roleId, java.lang.String actionId)
525                    throws com.liferay.portal.kernel.exception.PortalException,
526                            com.liferay.portal.kernel.exception.SystemException {
527                    _resourceBlockLocalService.removeIndividualScopePermission(companyId,
528                            groupId, name, permissionedModel, roleId, actionId);
529            }
530    
531            public void removeIndividualScopePermissions(long companyId, long groupId,
532                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
533                    throws com.liferay.portal.kernel.exception.PortalException,
534                            com.liferay.portal.kernel.exception.SystemException {
535                    _resourceBlockLocalService.removeIndividualScopePermissions(companyId,
536                            groupId, name, primKey, roleId, actionIdsLong);
537            }
538    
539            public void removeIndividualScopePermissions(long companyId, long groupId,
540                    java.lang.String name,
541                    com.liferay.portal.model.PermissionedModel permissionedModel,
542                    long roleId, long actionIdsLong)
543                    throws com.liferay.portal.kernel.exception.SystemException {
544                    _resourceBlockLocalService.removeIndividualScopePermissions(companyId,
545                            groupId, name, permissionedModel, roleId, actionIdsLong);
546            }
547    
548            public void setCompanyScopePermissions(long companyId,
549                    java.lang.String name, long roleId,
550                    java.util.List<java.lang.String> actionIds)
551                    throws com.liferay.portal.kernel.exception.PortalException,
552                            com.liferay.portal.kernel.exception.SystemException {
553                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
554                            roleId, actionIds);
555            }
556    
557            public void setCompanyScopePermissions(long companyId,
558                    java.lang.String name, long roleId, long actionIdsLong)
559                    throws com.liferay.portal.kernel.exception.SystemException {
560                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
561                            roleId, actionIdsLong);
562            }
563    
564            public void setGroupScopePermissions(long companyId, long groupId,
565                    java.lang.String name, long roleId,
566                    java.util.List<java.lang.String> actionIds)
567                    throws com.liferay.portal.kernel.exception.PortalException,
568                            com.liferay.portal.kernel.exception.SystemException {
569                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
570                            name, roleId, actionIds);
571            }
572    
573            public void setGroupScopePermissions(long companyId, long groupId,
574                    java.lang.String name, long roleId, long actionIdsLong)
575                    throws com.liferay.portal.kernel.exception.SystemException {
576                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
577                            name, roleId, actionIdsLong);
578            }
579    
580            public void setIndividualScopePermissions(long companyId, long groupId,
581                    java.lang.String name, long primKey, long roleId,
582                    java.util.List<java.lang.String> actionIds)
583                    throws com.liferay.portal.kernel.exception.PortalException,
584                            com.liferay.portal.kernel.exception.SystemException {
585                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
586                            groupId, name, primKey, roleId, actionIds);
587            }
588    
589            public void setIndividualScopePermissions(long companyId, long groupId,
590                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
591                    throws com.liferay.portal.kernel.exception.PortalException,
592                            com.liferay.portal.kernel.exception.SystemException {
593                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
594                            groupId, name, primKey, roleId, actionIdsLong);
595            }
596    
597            public void setIndividualScopePermissions(long companyId, long groupId,
598                    java.lang.String name, long primKey,
599                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
600                    throws com.liferay.portal.kernel.exception.PortalException,
601                            com.liferay.portal.kernel.exception.SystemException {
602                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
603                            groupId, name, primKey, roleIdsToActionIds);
604            }
605    
606            public void setIndividualScopePermissions(long companyId, long groupId,
607                    java.lang.String name,
608                    com.liferay.portal.model.PermissionedModel permissionedModel,
609                    long roleId, java.util.List<java.lang.String> actionIds)
610                    throws com.liferay.portal.kernel.exception.PortalException,
611                            com.liferay.portal.kernel.exception.SystemException {
612                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
613                            groupId, name, permissionedModel, roleId, actionIds);
614            }
615    
616            public void setIndividualScopePermissions(long companyId, long groupId,
617                    java.lang.String name,
618                    com.liferay.portal.model.PermissionedModel permissionedModel,
619                    long roleId, long actionIdsLong)
620                    throws com.liferay.portal.kernel.exception.SystemException {
621                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
622                            groupId, name, permissionedModel, roleId, actionIdsLong);
623            }
624    
625            public void updateCompanyScopePermissions(long companyId,
626                    java.lang.String name, long roleId, long actionIdsLong, int operator)
627                    throws com.liferay.portal.kernel.exception.SystemException {
628                    _resourceBlockLocalService.updateCompanyScopePermissions(companyId,
629                            name, roleId, actionIdsLong, operator);
630            }
631    
632            public void updateGroupScopePermissions(long companyId, long groupId,
633                    java.lang.String name, long roleId, long actionIdsLong, int operator)
634                    throws com.liferay.portal.kernel.exception.SystemException {
635                    _resourceBlockLocalService.updateGroupScopePermissions(companyId,
636                            groupId, name, roleId, actionIdsLong, operator);
637            }
638    
639            public void updateIndividualScopePermissions(long companyId, long groupId,
640                    java.lang.String name,
641                    com.liferay.portal.model.PermissionedModel permissionedModel,
642                    long roleId, long actionIdsLong, int operator)
643                    throws com.liferay.portal.kernel.exception.SystemException {
644                    _resourceBlockLocalService.updateIndividualScopePermissions(companyId,
645                            groupId, name, permissionedModel, roleId, actionIdsLong, operator);
646            }
647    
648            public com.liferay.portal.model.ResourceBlock updateResourceBlockId(
649                    long companyId, long groupId, java.lang.String name,
650                    com.liferay.portal.model.PermissionedModel permissionedModel,
651                    java.lang.String permissionsHash,
652                    com.liferay.portal.model.ResourceBlockPermissionsContainer resourceBlockPermissionsContainer)
653                    throws com.liferay.portal.kernel.exception.SystemException {
654                    return _resourceBlockLocalService.updateResourceBlockId(companyId,
655                            groupId, name, permissionedModel, permissionsHash,
656                            resourceBlockPermissionsContainer);
657            }
658    
659            public void verifyResourceBlockId(long companyId, java.lang.String name,
660                    long primKey)
661                    throws com.liferay.portal.kernel.exception.PortalException,
662                            com.liferay.portal.kernel.exception.SystemException {
663                    _resourceBlockLocalService.verifyResourceBlockId(companyId, name,
664                            primKey);
665            }
666    
667            /**
668             * @deprecated Renamed to {@link #getWrappedService}
669             */
670            public ResourceBlockLocalService getWrappedResourceBlockLocalService() {
671                    return _resourceBlockLocalService;
672            }
673    
674            /**
675             * @deprecated Renamed to {@link #setWrappedService}
676             */
677            public void setWrappedResourceBlockLocalService(
678                    ResourceBlockLocalService resourceBlockLocalService) {
679                    _resourceBlockLocalService = resourceBlockLocalService;
680            }
681    
682            public ResourceBlockLocalService getWrappedService() {
683                    return _resourceBlockLocalService;
684            }
685    
686            public void setWrappedService(
687                    ResourceBlockLocalService resourceBlockLocalService) {
688                    _resourceBlockLocalService = resourceBlockLocalService;
689            }
690    
691            private ResourceBlockLocalService _resourceBlockLocalService;
692    }