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