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