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            /**
313            * Returns the OSGi service identifier.
314            *
315            * @return the OSGi service identifier
316            */
317            @Override
318            public java.lang.String getOSGiServiceIdentifier() {
319                    return _resourceBlockLocalService.getOSGiServiceIdentifier();
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            @Override
558            public void setCompanyScopePermissions(long companyId,
559                    java.lang.String name, long roleId,
560                    java.util.List<java.lang.String> actionIds)
561                    throws com.liferay.portal.kernel.exception.PortalException {
562                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
563                            roleId, actionIds);
564            }
565    
566            @Override
567            public void setCompanyScopePermissions(long companyId,
568                    java.lang.String name, long roleId, long actionIdsLong) {
569                    _resourceBlockLocalService.setCompanyScopePermissions(companyId, name,
570                            roleId, actionIdsLong);
571            }
572    
573            @Override
574            public void setGroupScopePermissions(long companyId, long groupId,
575                    java.lang.String name, long roleId,
576                    java.util.List<java.lang.String> actionIds)
577                    throws com.liferay.portal.kernel.exception.PortalException {
578                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
579                            name, roleId, actionIds);
580            }
581    
582            @Override
583            public void setGroupScopePermissions(long companyId, long groupId,
584                    java.lang.String name, long roleId, long actionIdsLong) {
585                    _resourceBlockLocalService.setGroupScopePermissions(companyId, groupId,
586                            name, roleId, actionIdsLong);
587            }
588    
589            @Override
590            public void setIndividualScopePermissions(long companyId, long groupId,
591                    java.lang.String name,
592                    com.liferay.portal.model.PermissionedModel permissionedModel,
593                    long roleId, java.util.List<java.lang.String> actionIds)
594                    throws com.liferay.portal.kernel.exception.PortalException {
595                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
596                            groupId, name, permissionedModel, roleId, actionIds);
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, long actionIdsLong) {
604                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
605                            groupId, name, permissionedModel, roleId, actionIdsLong);
606            }
607    
608            @Override
609            public void setIndividualScopePermissions(long companyId, long groupId,
610                    java.lang.String name, long primKey, long roleId,
611                    java.util.List<java.lang.String> actionIds)
612                    throws com.liferay.portal.kernel.exception.PortalException {
613                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
614                            groupId, name, primKey, roleId, actionIds);
615            }
616    
617            @Override
618            public void setIndividualScopePermissions(long companyId, long groupId,
619                    java.lang.String name, long primKey, long roleId, long actionIdsLong)
620                    throws com.liferay.portal.kernel.exception.PortalException {
621                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
622                            groupId, name, primKey, roleId, actionIdsLong);
623            }
624    
625            @Override
626            public void setIndividualScopePermissions(long companyId, long groupId,
627                    java.lang.String name, long primKey,
628                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
629                    throws com.liferay.portal.kernel.exception.PortalException {
630                    _resourceBlockLocalService.setIndividualScopePermissions(companyId,
631                            groupId, name, primKey, roleIdsToActionIds);
632            }
633    
634            @Override
635            public void updateCompanyScopePermissions(long companyId,
636                    java.lang.String name, long roleId, long actionIdsLong, int operator) {
637                    _resourceBlockLocalService.updateCompanyScopePermissions(companyId,
638                            name, roleId, actionIdsLong, operator);
639            }
640    
641            @Override
642            public void updateGroupScopePermissions(long companyId, long groupId,
643                    java.lang.String name, long roleId, long actionIdsLong, int operator) {
644                    _resourceBlockLocalService.updateGroupScopePermissions(companyId,
645                            groupId, name, roleId, actionIdsLong, operator);
646            }
647    
648            @Override
649            public void updateIndividualScopePermissions(long companyId, long groupId,
650                    java.lang.String name,
651                    com.liferay.portal.model.PermissionedModel permissionedModel,
652                    long roleId, long actionIdsLong, int operator) {
653                    _resourceBlockLocalService.updateIndividualScopePermissions(companyId,
654                            groupId, name, permissionedModel, roleId, actionIdsLong, operator);
655            }
656    
657            /**
658            * Updates the resource block in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
659            *
660            * @param resourceBlock the resource block
661            * @return the resource block that was updated
662            */
663            @Override
664            public com.liferay.portal.model.ResourceBlock updateResourceBlock(
665                    com.liferay.portal.model.ResourceBlock resourceBlock) {
666                    return _resourceBlockLocalService.updateResourceBlock(resourceBlock);
667            }
668    
669            @Override
670            public com.liferay.portal.model.ResourceBlock updateResourceBlockId(
671                    long companyId, long groupId, java.lang.String name,
672                    com.liferay.portal.model.PermissionedModel permissionedModel,
673                    java.lang.String permissionsHash,
674                    com.liferay.portal.model.ResourceBlockPermissionsContainer resourceBlockPermissionsContainer) {
675                    return _resourceBlockLocalService.updateResourceBlockId(companyId,
676                            groupId, name, permissionedModel, permissionsHash,
677                            resourceBlockPermissionsContainer);
678            }
679    
680            @Override
681            public void verifyResourceBlockId(long companyId, java.lang.String name,
682                    long primKey)
683                    throws com.liferay.portal.kernel.exception.PortalException {
684                    _resourceBlockLocalService.verifyResourceBlockId(companyId, name,
685                            primKey);
686            }
687    
688            /**
689             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
690             */
691            @Deprecated
692            public ResourceBlockLocalService getWrappedResourceBlockLocalService() {
693                    return _resourceBlockLocalService;
694            }
695    
696            /**
697             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
698             */
699            @Deprecated
700            public void setWrappedResourceBlockLocalService(
701                    ResourceBlockLocalService resourceBlockLocalService) {
702                    _resourceBlockLocalService = resourceBlockLocalService;
703            }
704    
705            @Override
706            public ResourceBlockLocalService getWrappedService() {
707                    return _resourceBlockLocalService;
708            }
709    
710            @Override
711            public void setWrappedService(
712                    ResourceBlockLocalService resourceBlockLocalService) {
713                    _resourceBlockLocalService = resourceBlockLocalService;
714            }
715    
716            private ResourceBlockLocalService _resourceBlockLocalService;
717    }