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