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            /**
299            * Returns the Spring bean ID for this bean.
300            *
301            * @return the Spring bean ID for this bean
302            */
303            @Override
304            public java.lang.String getBeanIdentifier() {
305                    return _resourceBlockLocalService.getBeanIdentifier();
306            }
307    
308            @Override
309            public java.util.List<java.lang.String> getCompanyScopePermissions(
310                    com.liferay.portal.model.ResourceBlock resourceBlock, long roleId) {
311                    return _resourceBlockLocalService.getCompanyScopePermissions(resourceBlock,
312                            roleId);
313            }
314    
315            @Override
316            public java.util.List<java.lang.String> getGroupScopePermissions(
317                    com.liferay.portal.model.ResourceBlock resourceBlock, long roleId) {
318                    return _resourceBlockLocalService.getGroupScopePermissions(resourceBlock,
319                            roleId);
320            }
321    
322            @Override
323            public com.liferay.portal.model.PermissionedModel getPermissionedModel(
324                    java.lang.String name, long primKey)
325                    throws com.liferay.portal.kernel.exception.PortalException {
326                    return _resourceBlockLocalService.getPermissionedModel(name, primKey);
327            }
328    
329            @Override
330            public java.util.List<java.lang.String> getPermissions(
331                    com.liferay.portal.model.ResourceBlock resourceBlock, long roleId) {
332                    return _resourceBlockLocalService.getPermissions(resourceBlock, roleId);
333            }
334    
335            @Override
336            public com.liferay.portal.model.PersistedModel getPersistedModel(
337                    java.io.Serializable primaryKeyObj)
338                    throws com.liferay.portal.kernel.exception.PortalException {
339                    return _resourceBlockLocalService.getPersistedModel(primaryKeyObj);
340            }
341    
342            @Override
343            public com.liferay.portal.model.ResourceBlock getResourceBlock(
344                    java.lang.String name, long primKey)
345                    throws com.liferay.portal.kernel.exception.PortalException {
346                    return _resourceBlockLocalService.getResourceBlock(name, primKey);
347            }
348    
349            /**
350            * Returns the resource block with the primary key.
351            *
352            * @param resourceBlockId the primary key of the resource block
353            * @return the resource block
354            * @throws PortalException if a resource block with the primary key could not be found
355            */
356            @Override
357            public com.liferay.portal.model.ResourceBlock getResourceBlock(
358                    long resourceBlockId)
359                    throws com.liferay.portal.kernel.exception.PortalException {
360                    return _resourceBlockLocalService.getResourceBlock(resourceBlockId);
361            }
362    
363            @Override
364            public java.util.List<java.lang.Long> getResourceBlockIds(
365                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag,
366                    java.lang.String name, java.lang.String actionId)
367                    throws com.liferay.portal.kernel.exception.PortalException {
368                    return _resourceBlockLocalService.getResourceBlockIds(resourceBlockIdsBag,
369                            name, actionId);
370            }
371    
372            @Override
373            public com.liferay.portal.security.permission.ResourceBlockIdsBag getResourceBlockIdsBag(
374                    long companyId, long groupId, java.lang.String name, long[] roleIds) {
375                    return _resourceBlockLocalService.getResourceBlockIdsBag(companyId,
376                            groupId, name, roleIds);
377            }
378    
379            /**
380            * Returns a range of all the resource blocks.
381            *
382            * <p>
383            * 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.
384            * </p>
385            *
386            * @param start the lower bound of the range of resource blocks
387            * @param end the upper bound of the range of resource blocks (not inclusive)
388            * @return the range of resource blocks
389            */
390            @Override
391            public java.util.List<com.liferay.portal.model.ResourceBlock> getResourceBlocks(
392                    int start, int end) {
393                    return _resourceBlockLocalService.getResourceBlocks(start, end);
394            }
395    
396            /**
397            * Returns the number of resource blocks.
398            *
399            * @return the number of resource blocks
400            */
401            @Override
402            public int getResourceBlocksCount() {
403                    return _resourceBlockLocalService.getResourceBlocksCount();
404            }
405    
406            @Override
407            public boolean hasPermission(java.lang.String name,
408                    com.liferay.portal.model.PermissionedModel permissionedModel,
409                    java.lang.String actionId,
410                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag)
411                    throws com.liferay.portal.kernel.exception.PortalException {
412                    return _resourceBlockLocalService.hasPermission(name,
413                            permissionedModel, actionId, resourceBlockIdsBag);
414            }
415    
416            @Override
417            public boolean hasPermission(java.lang.String name, long primKey,
418                    java.lang.String actionId,
419                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag)
420                    throws com.liferay.portal.kernel.exception.PortalException {
421                    return _resourceBlockLocalService.hasPermission(name, primKey,
422                            actionId, resourceBlockIdsBag);
423            }
424    
425            @Override
426            public boolean isSupported(java.lang.String name) {
427                    return _resourceBlockLocalService.isSupported(name);
428            }
429    
430            @Override
431            public void releasePermissionedModelResourceBlock(java.lang.String name,
432                    long primKey)
433                    throws com.liferay.portal.kernel.exception.PortalException {
434                    _resourceBlockLocalService.releasePermissionedModelResourceBlock(name,
435                            primKey);
436            }
437    
438            @Override
439            public void releasePermissionedModelResourceBlock(
440                    com.liferay.portal.model.PermissionedModel permissionedModel) {
441                    _resourceBlockLocalService.releasePermissionedModelResourceBlock(permissionedModel);
442            }
443    
444            /**
445            * Decrements the reference count of the resource block and updates it in
446            * the database or deletes the resource block if the reference count reaches
447            * zero.
448            *
449            * @param resourceBlock the resource block
450            */
451            @Override
452            public void releaseResourceBlock(
453                    com.liferay.portal.model.ResourceBlock resourceBlock) {
454                    _resourceBlockLocalService.releaseResourceBlock(resourceBlock);
455            }
456    
457            /**
458            * Decrements the reference count of the resource block and updates it in
459            * the database or deletes the resource block if the reference count reaches
460            * zero.
461            *
462            * @param resourceBlockId the primary key of the resource block
463            */
464            @Override
465            public void releaseResourceBlock(long resourceBlockId) {
466                    _resourceBlockLocalService.releaseResourceBlock(resourceBlockId);
467            }
468    
469            @Override
470            public void removeAllGroupScopePermissions(long companyId,
471                    java.lang.String name, long roleId, java.lang.String actionId)
472                    throws com.liferay.portal.kernel.exception.PortalException {
473                    _resourceBlockLocalService.removeAllGroupScopePermissions(companyId,
474                            name, roleId, actionId);
475            }
476    
477            @Override
478            public void removeAllGroupScopePermissions(long companyId,
479                    java.lang.String name, long roleId, long actionIdsLong) {
480                    _resourceBlockLocalService.removeAllGroupScopePermissions(companyId,
481                            name, roleId, actionIdsLong);
482            }
483    
484            @Override
485            public void removeCompanyScopePermission(long companyId,
486                    java.lang.String name, long roleId, java.lang.String actionId)
487                    throws com.liferay.portal.kernel.exception.PortalException {
488                    _resourceBlockLocalService.removeCompanyScopePermission(companyId,
489                            name, roleId, actionId);
490            }
491    
492            @Override
493            public void removeCompanyScopePermissions(long companyId,
494                    java.lang.String name, long roleId, long actionIdsLong) {
495                    _resourceBlockLocalService.removeCompanyScopePermissions(companyId,
496                            name, roleId, actionIdsLong);
497            }
498    
499            @Override
500            public void removeGroupScopePermission(long companyId, long groupId,
501                    java.lang.String name, long roleId, java.lang.String actionId)
502                    throws com.liferay.portal.kernel.exception.PortalException {
503                    _resourceBlockLocalService.removeGroupScopePermission(companyId,
504                            groupId, name, roleId, actionId);
505            }
506    
507            @Override
508            public void removeGroupScopePermissions(long companyId, long groupId,
509                    java.lang.String name, long roleId, long actionIdsLong) {
510                    _resourceBlockLocalService.removeGroupScopePermissions(companyId,
511                            groupId, name, roleId, actionIdsLong);
512            }
513    
514            @Override
515            public void removeIndividualScopePermission(long companyId, long groupId,
516                    java.lang.String name,
517                    com.liferay.portal.model.PermissionedModel permissionedModel,
518                    long roleId, java.lang.String actionId)
519                    throws com.liferay.portal.kernel.exception.PortalException {
520                    _resourceBlockLocalService.removeIndividualScopePermission(companyId,
521                            groupId, name, permissionedModel, roleId, actionId);
522            }
523    
524            @Override
525            public void removeIndividualScopePermission(long companyId, long groupId,
526                    java.lang.String name, long primKey, long roleId,
527                    java.lang.String actionId)
528                    throws com.liferay.portal.kernel.exception.PortalException {
529                    _resourceBlockLocalService.removeIndividualScopePermission(companyId,
530                            groupId, name, primKey, roleId, actionId);
531            }
532    
533            @Override
534            public void removeIndividualScopePermissions(long companyId, long groupId,
535                    java.lang.String name,
536                    com.liferay.portal.model.PermissionedModel permissionedModel,
537                    long roleId, long actionIdsLong) {
538                    _resourceBlockLocalService.removeIndividualScopePermissions(companyId,
539                            groupId, name, permissionedModel, roleId, actionIdsLong);
540            }
541    
542            @Override
543            public void removeIndividualScopePermissions(long companyId, long groupId,
544                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
545                    throws com.liferay.portal.kernel.exception.PortalException {
546                    _resourceBlockLocalService.removeIndividualScopePermissions(companyId,
547                            groupId, name, primKey, roleId, actionIdsLong);
548            }
549    
550            /**
551            * Sets the Spring bean ID for this bean.
552            *
553            * @param beanIdentifier the Spring bean ID for this bean
554            */
555            @Override
556            public void setBeanIdentifier(java.lang.String beanIdentifier) {
557                    _resourceBlockLocalService.setBeanIdentifier(beanIdentifier);
558            }
559    
560            @Override
561            public void setCompanyScopePermissions(long companyId,
562                    java.lang.String name, long roleId,
563                    java.util.List<java.lang.String> actionIds)
564                    throws com.liferay.portal.kernel.exception.PortalException {
565                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
566                            roleId, actionIds);
567            }
568    
569            @Override
570            public void setCompanyScopePermissions(long companyId,
571                    java.lang.String name, long roleId, long actionIdsLong) {
572                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
573                            roleId, actionIdsLong);
574            }
575    
576            @Override
577            public void setGroupScopePermissions(long companyId, long groupId,
578                    java.lang.String name, long roleId,
579                    java.util.List<java.lang.String> actionIds)
580                    throws com.liferay.portal.kernel.exception.PortalException {
581                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
582                            name, roleId, actionIds);
583            }
584    
585            @Override
586            public void setGroupScopePermissions(long companyId, long groupId,
587                    java.lang.String name, long roleId, long actionIdsLong) {
588                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
589                            name, roleId, actionIdsLong);
590            }
591    
592            @Override
593            public void setIndividualScopePermissions(long companyId, long groupId,
594                    java.lang.String name,
595                    com.liferay.portal.model.PermissionedModel permissionedModel,
596                    long roleId, java.util.List<java.lang.String> actionIds)
597                    throws com.liferay.portal.kernel.exception.PortalException {
598                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
599                            groupId, name, permissionedModel, roleId, actionIds);
600            }
601    
602            @Override
603            public void setIndividualScopePermissions(long companyId, long groupId,
604                    java.lang.String name,
605                    com.liferay.portal.model.PermissionedModel permissionedModel,
606                    long roleId, long actionIdsLong) {
607                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
608                            groupId, name, permissionedModel, roleId, actionIdsLong);
609            }
610    
611            @Override
612            public void setIndividualScopePermissions(long companyId, long groupId,
613                    java.lang.String name, long primKey, long roleId,
614                    java.util.List<java.lang.String> actionIds)
615                    throws com.liferay.portal.kernel.exception.PortalException {
616                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
617                            groupId, name, primKey, roleId, actionIds);
618            }
619    
620            @Override
621            public void setIndividualScopePermissions(long companyId, long groupId,
622                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
623                    throws com.liferay.portal.kernel.exception.PortalException {
624                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
625                            groupId, name, primKey, roleId, actionIdsLong);
626            }
627    
628            @Override
629            public void setIndividualScopePermissions(long companyId, long groupId,
630                    java.lang.String name, long primKey,
631                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
632                    throws com.liferay.portal.kernel.exception.PortalException {
633                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
634                            groupId, name, primKey, roleIdsToActionIds);
635            }
636    
637            @Override
638            public void updateCompanyScopePermissions(long companyId,
639                    java.lang.String name, long roleId, long actionIdsLong, int operator) {
640                    _resourceBlockLocalService.updateCompanyScopePermissions(companyId,
641                            name, roleId, actionIdsLong, operator);
642            }
643    
644            @Override
645            public void updateGroupScopePermissions(long companyId, long groupId,
646                    java.lang.String name, long roleId, long actionIdsLong, int operator) {
647                    _resourceBlockLocalService.updateGroupScopePermissions(companyId,
648                            groupId, name, roleId, actionIdsLong, operator);
649            }
650    
651            @Override
652            public void updateIndividualScopePermissions(long companyId, long groupId,
653                    java.lang.String name,
654                    com.liferay.portal.model.PermissionedModel permissionedModel,
655                    long roleId, long actionIdsLong, int operator) {
656                    _resourceBlockLocalService.updateIndividualScopePermissions(companyId,
657                            groupId, name, permissionedModel, roleId, actionIdsLong, operator);
658            }
659    
660            /**
661            * Updates the resource block in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
662            *
663            * @param resourceBlock the resource block
664            * @return the resource block that was updated
665            */
666            @Override
667            public com.liferay.portal.model.ResourceBlock updateResourceBlock(
668                    com.liferay.portal.model.ResourceBlock resourceBlock) {
669                    return _resourceBlockLocalService.updateResourceBlock(resourceBlock);
670            }
671    
672            @Override
673            public com.liferay.portal.model.ResourceBlock updateResourceBlockId(
674                    long companyId, long groupId, java.lang.String name,
675                    com.liferay.portal.model.PermissionedModel permissionedModel,
676                    java.lang.String permissionsHash,
677                    com.liferay.portal.model.ResourceBlockPermissionsContainer resourceBlockPermissionsContainer) {
678                    return _resourceBlockLocalService.updateResourceBlockId(companyId,
679                            groupId, name, permissionedModel, permissionsHash,
680                            resourceBlockPermissionsContainer);
681            }
682    
683            @Override
684            public void verifyResourceBlockId(long companyId, java.lang.String name,
685                    long primKey)
686                    throws com.liferay.portal.kernel.exception.PortalException {
687                    _resourceBlockLocalService.verifyResourceBlockId(companyId, name,
688                            primKey);
689            }
690    
691            /**
692             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
693             */
694            @Deprecated
695            public ResourceBlockLocalService getWrappedResourceBlockLocalService() {
696                    return _resourceBlockLocalService;
697            }
698    
699            /**
700             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
701             */
702            @Deprecated
703            public void setWrappedResourceBlockLocalService(
704                    ResourceBlockLocalService resourceBlockLocalService) {
705                    _resourceBlockLocalService = resourceBlockLocalService;
706            }
707    
708            @Override
709            public ResourceBlockLocalService getWrappedService() {
710                    return _resourceBlockLocalService;
711            }
712    
713            @Override
714            public void setWrappedService(
715                    ResourceBlockLocalService resourceBlockLocalService) {
716                    _resourceBlockLocalService = resourceBlockLocalService;
717            }
718    
719            private ResourceBlockLocalService _resourceBlockLocalService;
720    }