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 java.util.List<com.liferay.portal.model.Role> getRoles(
408                    java.lang.String name, long primKey, java.lang.String actionId)
409                    throws com.liferay.portal.kernel.exception.PortalException {
410                    return _resourceBlockLocalService.getRoles(name, primKey, actionId);
411            }
412    
413            @Override
414            public boolean hasPermission(java.lang.String name,
415                    com.liferay.portal.model.PermissionedModel permissionedModel,
416                    java.lang.String actionId,
417                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag)
418                    throws com.liferay.portal.kernel.exception.PortalException {
419                    return _resourceBlockLocalService.hasPermission(name,
420                            permissionedModel, actionId, resourceBlockIdsBag);
421            }
422    
423            @Override
424            public boolean hasPermission(java.lang.String name, long primKey,
425                    java.lang.String actionId,
426                    com.liferay.portal.security.permission.ResourceBlockIdsBag resourceBlockIdsBag)
427                    throws com.liferay.portal.kernel.exception.PortalException {
428                    return _resourceBlockLocalService.hasPermission(name, primKey,
429                            actionId, resourceBlockIdsBag);
430            }
431    
432            @Override
433            public boolean isSupported(java.lang.String name) {
434                    return _resourceBlockLocalService.isSupported(name);
435            }
436    
437            @Override
438            public void releasePermissionedModelResourceBlock(java.lang.String name,
439                    long primKey)
440                    throws com.liferay.portal.kernel.exception.PortalException {
441                    _resourceBlockLocalService.releasePermissionedModelResourceBlock(name,
442                            primKey);
443            }
444    
445            @Override
446            public void releasePermissionedModelResourceBlock(
447                    com.liferay.portal.model.PermissionedModel permissionedModel) {
448                    _resourceBlockLocalService.releasePermissionedModelResourceBlock(permissionedModel);
449            }
450    
451            /**
452            * Decrements the reference count of the resource block and updates it in
453            * the database or deletes the resource block if the reference count reaches
454            * zero.
455            *
456            * @param resourceBlock the resource block
457            */
458            @Override
459            public void releaseResourceBlock(
460                    com.liferay.portal.model.ResourceBlock resourceBlock) {
461                    _resourceBlockLocalService.releaseResourceBlock(resourceBlock);
462            }
463    
464            /**
465            * Decrements the reference count of the resource block and updates it in
466            * the database or deletes the resource block if the reference count reaches
467            * zero.
468            *
469            * @param resourceBlockId the primary key of the resource block
470            */
471            @Override
472            public void releaseResourceBlock(long resourceBlockId) {
473                    _resourceBlockLocalService.releaseResourceBlock(resourceBlockId);
474            }
475    
476            @Override
477            public void removeAllGroupScopePermissions(long companyId,
478                    java.lang.String name, long roleId, java.lang.String actionId)
479                    throws com.liferay.portal.kernel.exception.PortalException {
480                    _resourceBlockLocalService.removeAllGroupScopePermissions(companyId,
481                            name, roleId, actionId);
482            }
483    
484            @Override
485            public void removeAllGroupScopePermissions(long companyId,
486                    java.lang.String name, long roleId, long actionIdsLong) {
487                    _resourceBlockLocalService.removeAllGroupScopePermissions(companyId,
488                            name, roleId, actionIdsLong);
489            }
490    
491            @Override
492            public void removeCompanyScopePermission(long companyId,
493                    java.lang.String name, long roleId, java.lang.String actionId)
494                    throws com.liferay.portal.kernel.exception.PortalException {
495                    _resourceBlockLocalService.removeCompanyScopePermission(companyId,
496                            name, roleId, actionId);
497            }
498    
499            @Override
500            public void removeCompanyScopePermissions(long companyId,
501                    java.lang.String name, long roleId, long actionIdsLong) {
502                    _resourceBlockLocalService.removeCompanyScopePermissions(companyId,
503                            name, roleId, actionIdsLong);
504            }
505    
506            @Override
507            public void removeGroupScopePermission(long companyId, long groupId,
508                    java.lang.String name, long roleId, java.lang.String actionId)
509                    throws com.liferay.portal.kernel.exception.PortalException {
510                    _resourceBlockLocalService.removeGroupScopePermission(companyId,
511                            groupId, name, roleId, actionId);
512            }
513    
514            @Override
515            public void removeGroupScopePermissions(long companyId, long groupId,
516                    java.lang.String name, long roleId, long actionIdsLong) {
517                    _resourceBlockLocalService.removeGroupScopePermissions(companyId,
518                            groupId, name, roleId, actionIdsLong);
519            }
520    
521            @Override
522            public void removeIndividualScopePermission(long companyId, long groupId,
523                    java.lang.String name,
524                    com.liferay.portal.model.PermissionedModel permissionedModel,
525                    long roleId, java.lang.String actionId)
526                    throws com.liferay.portal.kernel.exception.PortalException {
527                    _resourceBlockLocalService.removeIndividualScopePermission(companyId,
528                            groupId, name, permissionedModel, roleId, actionId);
529            }
530    
531            @Override
532            public void removeIndividualScopePermission(long companyId, long groupId,
533                    java.lang.String name, long primKey, long roleId,
534                    java.lang.String actionId)
535                    throws com.liferay.portal.kernel.exception.PortalException {
536                    _resourceBlockLocalService.removeIndividualScopePermission(companyId,
537                            groupId, name, primKey, roleId, actionId);
538            }
539    
540            @Override
541            public void removeIndividualScopePermissions(long companyId, long groupId,
542                    java.lang.String name,
543                    com.liferay.portal.model.PermissionedModel permissionedModel,
544                    long roleId, long actionIdsLong) {
545                    _resourceBlockLocalService.removeIndividualScopePermissions(companyId,
546                            groupId, name, permissionedModel, roleId, actionIdsLong);
547            }
548    
549            @Override
550            public void removeIndividualScopePermissions(long companyId, long groupId,
551                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
552                    throws com.liferay.portal.kernel.exception.PortalException {
553                    _resourceBlockLocalService.removeIndividualScopePermissions(companyId,
554                            groupId, name, primKey, roleId, actionIdsLong);
555            }
556    
557            /**
558            * Sets the Spring bean ID for this bean.
559            *
560            * @param beanIdentifier the Spring bean ID for this bean
561            */
562            @Override
563            public void setBeanIdentifier(java.lang.String beanIdentifier) {
564                    _resourceBlockLocalService.setBeanIdentifier(beanIdentifier);
565            }
566    
567            @Override
568            public void setCompanyScopePermissions(long companyId,
569                    java.lang.String name, long roleId,
570                    java.util.List<java.lang.String> actionIds)
571                    throws com.liferay.portal.kernel.exception.PortalException {
572                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
573                            roleId, actionIds);
574            }
575    
576            @Override
577            public void setCompanyScopePermissions(long companyId,
578                    java.lang.String name, long roleId, long actionIdsLong) {
579                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
580                            roleId, actionIdsLong);
581            }
582    
583            @Override
584            public void setGroupScopePermissions(long companyId, long groupId,
585                    java.lang.String name, long roleId,
586                    java.util.List<java.lang.String> actionIds)
587                    throws com.liferay.portal.kernel.exception.PortalException {
588                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
589                            name, roleId, actionIds);
590            }
591    
592            @Override
593            public void setGroupScopePermissions(long companyId, long groupId,
594                    java.lang.String name, long roleId, long actionIdsLong) {
595                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
596                            name, roleId, actionIdsLong);
597            }
598    
599            @Override
600            public void setIndividualScopePermissions(long companyId, long groupId,
601                    java.lang.String name,
602                    com.liferay.portal.model.PermissionedModel permissionedModel,
603                    long roleId, java.util.List<java.lang.String> actionIds)
604                    throws com.liferay.portal.kernel.exception.PortalException {
605                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
606                            groupId, name, permissionedModel, roleId, actionIds);
607            }
608    
609            @Override
610            public void setIndividualScopePermissions(long companyId, long groupId,
611                    java.lang.String name,
612                    com.liferay.portal.model.PermissionedModel permissionedModel,
613                    long roleId, long actionIdsLong) {
614                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
615                            groupId, name, permissionedModel, roleId, actionIdsLong);
616            }
617    
618            @Override
619            public void setIndividualScopePermissions(long companyId, long groupId,
620                    java.lang.String name, long primKey, long roleId,
621                    java.util.List<java.lang.String> actionIds)
622                    throws com.liferay.portal.kernel.exception.PortalException {
623                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
624                            groupId, name, primKey, roleId, actionIds);
625            }
626    
627            @Override
628            public void setIndividualScopePermissions(long companyId, long groupId,
629                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
630                    throws com.liferay.portal.kernel.exception.PortalException {
631                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
632                            groupId, name, primKey, roleId, actionIdsLong);
633            }
634    
635            @Override
636            public void setIndividualScopePermissions(long companyId, long groupId,
637                    java.lang.String name, long primKey,
638                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
639                    throws com.liferay.portal.kernel.exception.PortalException {
640                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
641                            groupId, name, primKey, roleIdsToActionIds);
642            }
643    
644            @Override
645            public void updateCompanyScopePermissions(long companyId,
646                    java.lang.String name, long roleId, long actionIdsLong, int operator) {
647                    _resourceBlockLocalService.updateCompanyScopePermissions(companyId,
648                            name, roleId, actionIdsLong, operator);
649            }
650    
651            @Override
652            public void updateGroupScopePermissions(long companyId, long groupId,
653                    java.lang.String name, long roleId, long actionIdsLong, int operator) {
654                    _resourceBlockLocalService.updateGroupScopePermissions(companyId,
655                            groupId, name, roleId, actionIdsLong, operator);
656            }
657    
658            @Override
659            public void updateIndividualScopePermissions(long companyId, long groupId,
660                    java.lang.String name,
661                    com.liferay.portal.model.PermissionedModel permissionedModel,
662                    long roleId, long actionIdsLong, int operator) {
663                    _resourceBlockLocalService.updateIndividualScopePermissions(companyId,
664                            groupId, name, permissionedModel, roleId, actionIdsLong, operator);
665            }
666    
667            /**
668            * Updates the resource block in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
669            *
670            * @param resourceBlock the resource block
671            * @return the resource block that was updated
672            */
673            @Override
674            public com.liferay.portal.model.ResourceBlock updateResourceBlock(
675                    com.liferay.portal.model.ResourceBlock resourceBlock) {
676                    return _resourceBlockLocalService.updateResourceBlock(resourceBlock);
677            }
678    
679            @Override
680            public com.liferay.portal.model.ResourceBlock updateResourceBlockId(
681                    long companyId, long groupId, java.lang.String name,
682                    com.liferay.portal.model.PermissionedModel permissionedModel,
683                    java.lang.String permissionsHash,
684                    com.liferay.portal.model.ResourceBlockPermissionsContainer resourceBlockPermissionsContainer) {
685                    return _resourceBlockLocalService.updateResourceBlockId(companyId,
686                            groupId, name, permissionedModel, permissionsHash,
687                            resourceBlockPermissionsContainer);
688            }
689    
690            @Override
691            public void verifyResourceBlockId(long companyId, java.lang.String name,
692                    long primKey)
693                    throws com.liferay.portal.kernel.exception.PortalException {
694                    _resourceBlockLocalService.verifyResourceBlockId(companyId, name,
695                            primKey);
696            }
697    
698            /**
699             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
700             */
701            @Deprecated
702            public ResourceBlockLocalService getWrappedResourceBlockLocalService() {
703                    return _resourceBlockLocalService;
704            }
705    
706            /**
707             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
708             */
709            @Deprecated
710            public void setWrappedResourceBlockLocalService(
711                    ResourceBlockLocalService resourceBlockLocalService) {
712                    _resourceBlockLocalService = resourceBlockLocalService;
713            }
714    
715            @Override
716            public ResourceBlockLocalService getWrappedService() {
717                    return _resourceBlockLocalService;
718            }
719    
720            @Override
721            public void setWrappedService(
722                    ResourceBlockLocalService resourceBlockLocalService) {
723                    _resourceBlockLocalService = resourceBlockLocalService;
724            }
725    
726            private ResourceBlockLocalService _resourceBlockLocalService;
727    }