001    /**
002     * Copyright (c) 2000-2011 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            public ResourceBlockServiceWrapper(
028                    ResourceBlockService resourceBlockService) {
029                    _resourceBlockService = resourceBlockService;
030            }
031    
032            public void addCompanyScopePermission(long scopeGroupId, long companyId,
033                    java.lang.String name, long roleId, java.lang.String actionId)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    _resourceBlockService.addCompanyScopePermission(scopeGroupId,
037                            companyId, name, roleId, actionId);
038            }
039    
040            public void addGroupScopePermission(long scopeGroupId, long companyId,
041                    long groupId, java.lang.String name, long roleId,
042                    java.lang.String actionId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _resourceBlockService.addGroupScopePermission(scopeGroupId, companyId,
046                            groupId, name, roleId, actionId);
047            }
048    
049            public void addIndividualScopePermission(long companyId, long groupId,
050                    java.lang.String name, long primKey, long roleId,
051                    java.lang.String actionId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    _resourceBlockService.addIndividualScopePermission(companyId, groupId,
055                            name, primKey, roleId, actionId);
056            }
057    
058            public void removeAllGroupScopePermissions(long scopeGroupId,
059                    long companyId, java.lang.String name, long roleId,
060                    java.lang.String actionId)
061                    throws com.liferay.portal.kernel.exception.PortalException,
062                            com.liferay.portal.kernel.exception.SystemException {
063                    _resourceBlockService.removeAllGroupScopePermissions(scopeGroupId,
064                            companyId, name, roleId, actionId);
065            }
066    
067            public void removeCompanyScopePermission(long scopeGroupId, long companyId,
068                    java.lang.String name, long roleId, java.lang.String actionId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    _resourceBlockService.removeCompanyScopePermission(scopeGroupId,
072                            companyId, name, roleId, actionId);
073            }
074    
075            public void removeGroupScopePermission(long scopeGroupId, long companyId,
076                    long groupId, java.lang.String name, long roleId,
077                    java.lang.String actionId)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    _resourceBlockService.removeGroupScopePermission(scopeGroupId,
081                            companyId, groupId, name, roleId, actionId);
082            }
083    
084            public void removeIndividualScopePermission(long companyId, long groupId,
085                    java.lang.String name, long primKey, long roleId,
086                    java.lang.String actionId)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    _resourceBlockService.removeIndividualScopePermission(companyId,
090                            groupId, name, primKey, roleId, actionId);
091            }
092    
093            public void setCompanyScopePermissions(long scopeGroupId, long companyId,
094                    java.lang.String name, long roleId,
095                    java.util.List<java.lang.String> actionIds)
096                    throws com.liferay.portal.kernel.exception.PortalException,
097                            com.liferay.portal.kernel.exception.SystemException {
098                    _resourceBlockService.setCompanyScopePermissions(scopeGroupId,
099                            companyId, name, roleId, actionIds);
100            }
101    
102            public void setGroupScopePermissions(long scopeGroupId, long companyId,
103                    long groupId, java.lang.String name, long roleId,
104                    java.util.List<java.lang.String> actionIds)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    _resourceBlockService.setGroupScopePermissions(scopeGroupId, companyId,
108                            groupId, name, roleId, actionIds);
109            }
110    
111            public void setIndividualScopePermissions(long companyId, long groupId,
112                    java.lang.String name, long primKey, long roleId,
113                    java.util.List<java.lang.String> actionIds)
114                    throws com.liferay.portal.kernel.exception.PortalException,
115                            com.liferay.portal.kernel.exception.SystemException {
116                    _resourceBlockService.setIndividualScopePermissions(companyId, groupId,
117                            name, primKey, roleId, actionIds);
118            }
119    
120            public void setIndividualScopePermissions(long companyId, long groupId,
121                    java.lang.String name, long primKey,
122                    java.util.Map<java.lang.Long, java.lang.String[]> roleIdsToActionIds)
123                    throws com.liferay.portal.kernel.exception.PortalException,
124                            com.liferay.portal.kernel.exception.SystemException {
125                    _resourceBlockService.setIndividualScopePermissions(companyId, groupId,
126                            name, primKey, roleIdsToActionIds);
127            }
128    
129            public ResourceBlockService getWrappedResourceBlockService() {
130                    return _resourceBlockService;
131            }
132    
133            public void setWrappedResourceBlockService(
134                    ResourceBlockService resourceBlockService) {
135                    _resourceBlockService = resourceBlockService;
136            }
137    
138            private ResourceBlockService _resourceBlockService;
139    }