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 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            /**
034            * Returns the Spring bean ID for this bean.
035            *
036            * @return the Spring bean ID for this bean
037            */
038            public java.lang.String getBeanIdentifier() {
039                    return _resourceBlockService.getBeanIdentifier();
040            }
041    
042            /**
043            * Sets the Spring bean ID for this bean.
044            *
045            * @param beanIdentifier the Spring bean ID for this bean
046            */
047            public void setBeanIdentifier(java.lang.String beanIdentifier) {
048                    _resourceBlockService.setBeanIdentifier(beanIdentifier);
049            }
050    
051            public void addCompanyScopePermission(long scopeGroupId, long companyId,
052                    java.lang.String name, long roleId, java.lang.String actionId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    _resourceBlockService.addCompanyScopePermission(scopeGroupId,
056                            companyId, name, roleId, actionId);
057            }
058    
059            public void addGroupScopePermission(long scopeGroupId, long companyId,
060                    long groupId, 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.addGroupScopePermission(scopeGroupId, companyId,
065                            groupId, name, roleId, actionId);
066            }
067    
068            public void addIndividualScopePermission(long companyId, long groupId,
069                    java.lang.String name, long primKey, long roleId,
070                    java.lang.String actionId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    _resourceBlockService.addIndividualScopePermission(companyId, groupId,
074                            name, primKey, roleId, actionId);
075            }
076    
077            public void removeAllGroupScopePermissions(long scopeGroupId,
078                    long companyId, java.lang.String name, long roleId,
079                    java.lang.String actionId)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    _resourceBlockService.removeAllGroupScopePermissions(scopeGroupId,
083                            companyId, name, roleId, actionId);
084            }
085    
086            public void removeCompanyScopePermission(long scopeGroupId, long companyId,
087                    java.lang.String name, long roleId, java.lang.String actionId)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    _resourceBlockService.removeCompanyScopePermission(scopeGroupId,
091                            companyId, name, roleId, actionId);
092            }
093    
094            public void removeGroupScopePermission(long scopeGroupId, long companyId,
095                    long groupId, java.lang.String name, long roleId,
096                    java.lang.String actionId)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    _resourceBlockService.removeGroupScopePermission(scopeGroupId,
100                            companyId, groupId, name, roleId, actionId);
101            }
102    
103            public void removeIndividualScopePermission(long companyId, long groupId,
104                    java.lang.String name, long primKey, long roleId,
105                    java.lang.String actionId)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    _resourceBlockService.removeIndividualScopePermission(companyId,
109                            groupId, name, primKey, roleId, actionId);
110            }
111    
112            public void setCompanyScopePermissions(long scopeGroupId, long companyId,
113                    java.lang.String name, 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.setCompanyScopePermissions(scopeGroupId,
118                            companyId, name, roleId, actionIds);
119            }
120    
121            public void setGroupScopePermissions(long scopeGroupId, long companyId,
122                    long groupId, java.lang.String name, long roleId,
123                    java.util.List<java.lang.String> actionIds)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    _resourceBlockService.setGroupScopePermissions(scopeGroupId, companyId,
127                            groupId, name, roleId, actionIds);
128            }
129    
130            public void setIndividualScopePermissions(long companyId, long groupId,
131                    java.lang.String name, long primKey, 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.setIndividualScopePermissions(companyId, groupId,
136                            name, primKey, roleId, actionIds);
137            }
138    
139            public void setIndividualScopePermissions(long companyId, long groupId,
140                    java.lang.String name, long primKey,
141                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
142                    throws com.liferay.portal.kernel.exception.PortalException,
143                            com.liferay.portal.kernel.exception.SystemException {
144                    _resourceBlockService.setIndividualScopePermissions(companyId, groupId,
145                            name, primKey, roleIdsToActionIds);
146            }
147    
148            /**
149             * @deprecated Renamed to {@link #getWrappedService}
150             */
151            public ResourceBlockService getWrappedResourceBlockService() {
152                    return _resourceBlockService;
153            }
154    
155            /**
156             * @deprecated Renamed to {@link #setWrappedService}
157             */
158            public void setWrappedResourceBlockService(
159                    ResourceBlockService resourceBlockService) {
160                    _resourceBlockService = resourceBlockService;
161            }
162    
163            public ResourceBlockService getWrappedService() {
164                    return _resourceBlockService;
165            }
166    
167            public void setWrappedService(ResourceBlockService resourceBlockService) {
168                    _resourceBlockService = resourceBlockService;
169            }
170    
171            private ResourceBlockService _resourceBlockService;
172    }