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