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 ResourceBlockService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ResourceBlockService
024     * @generated
025     */
026    public class ResourceBlockServiceWrapper implements ResourceBlockService,
027            ServiceWrapper<ResourceBlockService> {
028            public ResourceBlockServiceWrapper(
029                    ResourceBlockService resourceBlockService) {
030                    _resourceBlockService = resourceBlockService;
031            }
032    
033            public void addCompanyScopePermission(long scopeGroupId, long companyId,
034                    java.lang.String name, long roleId, java.lang.String actionId)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    _resourceBlockService.addCompanyScopePermission(scopeGroupId,
038                            companyId, name, roleId, actionId);
039            }
040    
041            public void addGroupScopePermission(long scopeGroupId, long companyId,
042                    long groupId, java.lang.String name, long roleId,
043                    java.lang.String actionId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    _resourceBlockService.addGroupScopePermission(scopeGroupId, companyId,
047                            groupId, name, roleId, actionId);
048            }
049    
050            public void addIndividualScopePermission(long companyId, long groupId,
051                    java.lang.String name, long primKey, long roleId,
052                    java.lang.String actionId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    _resourceBlockService.addIndividualScopePermission(companyId, groupId,
056                            name, primKey, roleId, actionId);
057            }
058    
059            public void removeAllGroupScopePermissions(long scopeGroupId,
060                    long companyId, java.lang.String name, long roleId,
061                    java.lang.String actionId)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    _resourceBlockService.removeAllGroupScopePermissions(scopeGroupId,
065                            companyId, name, roleId, actionId);
066            }
067    
068            public void removeCompanyScopePermission(long scopeGroupId, long companyId,
069                    java.lang.String name, long roleId, java.lang.String actionId)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    _resourceBlockService.removeCompanyScopePermission(scopeGroupId,
073                            companyId, name, roleId, actionId);
074            }
075    
076            public void removeGroupScopePermission(long scopeGroupId, long companyId,
077                    long groupId, java.lang.String name, long roleId,
078                    java.lang.String actionId)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    _resourceBlockService.removeGroupScopePermission(scopeGroupId,
082                            companyId, groupId, name, roleId, actionId);
083            }
084    
085            public void removeIndividualScopePermission(long companyId, long groupId,
086                    java.lang.String name, long primKey, long roleId,
087                    java.lang.String actionId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    _resourceBlockService.removeIndividualScopePermission(companyId,
091                            groupId, name, primKey, roleId, actionId);
092            }
093    
094            public void setCompanyScopePermissions(long scopeGroupId, long companyId,
095                    java.lang.String name, long roleId,
096                    java.util.List<java.lang.String> actionIds)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    _resourceBlockService.setCompanyScopePermissions(scopeGroupId,
100                            companyId, name, roleId, actionIds);
101            }
102    
103            public void setGroupScopePermissions(long scopeGroupId, long companyId,
104                    long groupId, java.lang.String name, long roleId,
105                    java.util.List<java.lang.String> actionIds)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    _resourceBlockService.setGroupScopePermissions(scopeGroupId, companyId,
109                            groupId, name, roleId, actionIds);
110            }
111    
112            public void setIndividualScopePermissions(long companyId, long groupId,
113                    java.lang.String name, long primKey, long roleId,
114                    java.util.List<java.lang.String> actionIds)
115                    throws com.liferay.portal.kernel.exception.PortalException,
116                            com.liferay.portal.kernel.exception.SystemException {
117                    _resourceBlockService.setIndividualScopePermissions(companyId, groupId,
118                            name, primKey, roleId, actionIds);
119            }
120    
121            public void setIndividualScopePermissions(long companyId, long groupId,
122                    java.lang.String name, long primKey,
123                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    _resourceBlockService.setIndividualScopePermissions(companyId, groupId,
127                            name, primKey, roleIdsToActionIds);
128            }
129    
130            /**
131             * @deprecated Renamed to {@link #getWrappedService}
132             */
133            public ResourceBlockService getWrappedResourceBlockService() {
134                    return _resourceBlockService;
135            }
136    
137            /**
138             * @deprecated Renamed to {@link #setWrappedService}
139             */
140            public void setWrappedResourceBlockService(
141                    ResourceBlockService resourceBlockService) {
142                    _resourceBlockService = resourceBlockService;
143            }
144    
145            public ResourceBlockService getWrappedService() {
146                    return _resourceBlockService;
147            }
148    
149            public void setWrappedService(ResourceBlockService resourceBlockService) {
150                    _resourceBlockService = resourceBlockService;
151            }
152    
153            private ResourceBlockService _resourceBlockService;
154    }