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