001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link ResourceBlockService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see ResourceBlockService
024     * @generated
025     */
026    @ProviderType
027    public class ResourceBlockServiceWrapper implements ResourceBlockService,
028            ServiceWrapper<ResourceBlockService> {
029            public ResourceBlockServiceWrapper(
030                    ResourceBlockService resourceBlockService) {
031                    _resourceBlockService = resourceBlockService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            @Override
040            public java.lang.String getBeanIdentifier() {
041                    return _resourceBlockService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            @Override
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _resourceBlockService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            @Override
055            public void addCompanyScopePermission(long scopeGroupId, long companyId,
056                    java.lang.String name, long roleId, java.lang.String actionId)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    _resourceBlockService.addCompanyScopePermission(scopeGroupId,
060                            companyId, name, roleId, actionId);
061            }
062    
063            @Override
064            public void addGroupScopePermission(long scopeGroupId, long companyId,
065                    long groupId, java.lang.String name, long roleId,
066                    java.lang.String actionId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    _resourceBlockService.addGroupScopePermission(scopeGroupId, companyId,
070                            groupId, name, roleId, actionId);
071            }
072    
073            @Override
074            public void addIndividualScopePermission(long companyId, long groupId,
075                    java.lang.String name, long primKey, long roleId,
076                    java.lang.String actionId)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    _resourceBlockService.addIndividualScopePermission(companyId, groupId,
080                            name, primKey, roleId, actionId);
081            }
082    
083            @Override
084            public void removeAllGroupScopePermissions(long scopeGroupId,
085                    long companyId, java.lang.String name, long roleId,
086                    java.lang.String actionId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    _resourceBlockService.removeAllGroupScopePermissions(scopeGroupId,
090                            companyId, name, roleId, actionId);
091            }
092    
093            @Override
094            public void removeCompanyScopePermission(long scopeGroupId, long companyId,
095                    java.lang.String name, long roleId, java.lang.String actionId)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    _resourceBlockService.removeCompanyScopePermission(scopeGroupId,
099                            companyId, name, roleId, actionId);
100            }
101    
102            @Override
103            public void removeGroupScopePermission(long scopeGroupId, long companyId,
104                    long groupId, java.lang.String name, long roleId,
105                    java.lang.String actionId)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    _resourceBlockService.removeGroupScopePermission(scopeGroupId,
109                            companyId, groupId, name, roleId, actionId);
110            }
111    
112            @Override
113            public void removeIndividualScopePermission(long companyId, long groupId,
114                    java.lang.String name, long primKey, long roleId,
115                    java.lang.String actionId)
116                    throws com.liferay.portal.kernel.exception.PortalException,
117                            com.liferay.portal.kernel.exception.SystemException {
118                    _resourceBlockService.removeIndividualScopePermission(companyId,
119                            groupId, name, primKey, roleId, actionId);
120            }
121    
122            @Override
123            public void setCompanyScopePermissions(long scopeGroupId, long companyId,
124                    java.lang.String name, long roleId,
125                    java.util.List<java.lang.String> actionIds)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    _resourceBlockService.setCompanyScopePermissions(scopeGroupId,
129                            companyId, name, roleId, actionIds);
130            }
131    
132            @Override
133            public void setGroupScopePermissions(long scopeGroupId, long companyId,
134                    long groupId, java.lang.String name, long roleId,
135                    java.util.List<java.lang.String> actionIds)
136                    throws com.liferay.portal.kernel.exception.PortalException,
137                            com.liferay.portal.kernel.exception.SystemException {
138                    _resourceBlockService.setGroupScopePermissions(scopeGroupId, companyId,
139                            groupId, name, roleId, actionIds);
140            }
141    
142            @Override
143            public void setIndividualScopePermissions(long companyId, long groupId,
144                    java.lang.String name, long primKey, long roleId,
145                    java.util.List<java.lang.String> actionIds)
146                    throws com.liferay.portal.kernel.exception.PortalException,
147                            com.liferay.portal.kernel.exception.SystemException {
148                    _resourceBlockService.setIndividualScopePermissions(companyId, groupId,
149                            name, primKey, roleId, actionIds);
150            }
151    
152            @Override
153            public void setIndividualScopePermissions(long companyId, long groupId,
154                    java.lang.String name, long primKey,
155                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
156                    throws com.liferay.portal.kernel.exception.PortalException,
157                            com.liferay.portal.kernel.exception.SystemException {
158                    _resourceBlockService.setIndividualScopePermissions(companyId, groupId,
159                            name, primKey, roleIdsToActionIds);
160            }
161    
162            /**
163             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
164             */
165            public ResourceBlockService getWrappedResourceBlockService() {
166                    return _resourceBlockService;
167            }
168    
169            /**
170             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
171             */
172            public void setWrappedResourceBlockService(
173                    ResourceBlockService resourceBlockService) {
174                    _resourceBlockService = resourceBlockService;
175            }
176    
177            @Override
178            public ResourceBlockService getWrappedService() {
179                    return _resourceBlockService;
180            }
181    
182            @Override
183            public void setWrappedService(ResourceBlockService resourceBlockService) {
184                    _resourceBlockService = resourceBlockService;
185            }
186    
187            private ResourceBlockService _resourceBlockService;
188    }