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