001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link RepositoryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       RepositoryService
024     * @generated
025     */
026    public class RepositoryServiceWrapper implements RepositoryService,
027            ServiceWrapper<RepositoryService> {
028            public RepositoryServiceWrapper(RepositoryService repositoryService) {
029                    _repositoryService = repositoryService;
030            }
031    
032            public long addRepository(long groupId, long classNameId,
033                    long parentFolderId, java.lang.String name,
034                    java.lang.String description, java.lang.String portletId,
035                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
036                    com.liferay.portal.service.ServiceContext serviceContext)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _repositoryService.addRepository(groupId, classNameId,
040                            parentFolderId, name, description, portletId,
041                            typeSettingsProperties, serviceContext);
042            }
043    
044            public void checkRepository(long repositoryId)
045                    throws com.liferay.portal.kernel.exception.SystemException {
046                    _repositoryService.checkRepository(repositoryId);
047            }
048    
049            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
050                    long repositoryId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _repositoryService.getLocalRepositoryImpl(repositoryId);
054            }
055    
056            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
057                    long folderId, long fileEntryId, long fileVersionId)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _repositoryService.getLocalRepositoryImpl(folderId, fileEntryId,
061                            fileVersionId);
062            }
063    
064            public com.liferay.portal.model.Repository getRepository(long repositoryId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _repositoryService.getRepository(repositoryId);
068            }
069    
070            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
071                    long repositoryId)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _repositoryService.getRepositoryImpl(repositoryId);
075            }
076    
077            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
078                    long folderId, long fileEntryId, long fileVersionId)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _repositoryService.getRepositoryImpl(folderId, fileEntryId,
082                            fileVersionId);
083            }
084    
085            public java.lang.String[] getSupportedConfigurations(long classNameId)
086                    throws com.liferay.portal.kernel.exception.SystemException {
087                    return _repositoryService.getSupportedConfigurations(classNameId);
088            }
089    
090            public java.lang.String[] getSupportedParameters(long classNameId,
091                    java.lang.String configuration)
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _repositoryService.getSupportedParameters(classNameId,
094                            configuration);
095            }
096    
097            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
098                    long repositoryId)
099                    throws com.liferay.portal.kernel.exception.PortalException,
100                            com.liferay.portal.kernel.exception.SystemException {
101                    return _repositoryService.getTypeSettingsProperties(repositoryId);
102            }
103    
104            public void unmountRepositories(long groupId)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    _repositoryService.unmountRepositories(groupId);
108            }
109    
110            public void unmountRepository(long repositoryId)
111                    throws com.liferay.portal.kernel.exception.PortalException,
112                            com.liferay.portal.kernel.exception.SystemException {
113                    _repositoryService.unmountRepository(repositoryId);
114            }
115    
116            public void updateRepository(long repositoryId, java.lang.String name,
117                    java.lang.String description)
118                    throws com.liferay.portal.kernel.exception.PortalException,
119                            com.liferay.portal.kernel.exception.SystemException {
120                    _repositoryService.updateRepository(repositoryId, name, description);
121            }
122    
123            /**
124             * @deprecated Renamed to {@link #getWrappedService}
125             */
126            public RepositoryService getWrappedRepositoryService() {
127                    return _repositoryService;
128            }
129    
130            /**
131             * @deprecated Renamed to {@link #setWrappedService}
132             */
133            public void setWrappedRepositoryService(RepositoryService repositoryService) {
134                    _repositoryService = repositoryService;
135            }
136    
137            public RepositoryService getWrappedService() {
138                    return _repositoryService;
139            }
140    
141            public void setWrappedService(RepositoryService repositoryService) {
142                    _repositoryService = repositoryService;
143            }
144    
145            private RepositoryService _repositoryService;
146    }