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