001    /**
002     * Copyright (c) 2000-2012 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 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.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _repositoryService.checkRepository(repositoryId);
048            }
049    
050            public void deleteRepository(long repositoryId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _repositoryService.deleteRepository(repositoryId);
054            }
055    
056            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
057                    long repositoryId)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _repositoryService.getLocalRepositoryImpl(repositoryId);
061            }
062    
063            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
064                    long folderId, long fileEntryId, long fileVersionId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _repositoryService.getLocalRepositoryImpl(folderId, fileEntryId,
068                            fileVersionId);
069            }
070    
071            public com.liferay.portal.model.Repository getRepository(long repositoryId)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _repositoryService.getRepository(repositoryId);
075            }
076    
077            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
078                    long repositoryId)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _repositoryService.getRepositoryImpl(repositoryId);
082            }
083    
084            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
085                    long folderId, long fileEntryId, long fileVersionId)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _repositoryService.getRepositoryImpl(folderId, fileEntryId,
089                            fileVersionId);
090            }
091    
092            public java.lang.String[] getSupportedConfigurations(long classNameId)
093                    throws com.liferay.portal.kernel.exception.SystemException {
094                    return _repositoryService.getSupportedConfigurations(classNameId);
095            }
096    
097            public java.lang.String[] getSupportedParameters(long classNameId,
098                    java.lang.String configuration)
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _repositoryService.getSupportedParameters(classNameId,
101                            configuration);
102            }
103    
104            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
105                    long repositoryId)
106                    throws com.liferay.portal.kernel.exception.PortalException,
107                            com.liferay.portal.kernel.exception.SystemException {
108                    return _repositoryService.getTypeSettingsProperties(repositoryId);
109            }
110    
111            public void updateRepository(long repositoryId, java.lang.String name,
112                    java.lang.String description)
113                    throws com.liferay.portal.kernel.exception.PortalException,
114                            com.liferay.portal.kernel.exception.SystemException {
115                    _repositoryService.updateRepository(repositoryId, name, description);
116            }
117    
118            /**
119             * @deprecated Renamed to {@link #getWrappedService}
120             */
121            public RepositoryService getWrappedRepositoryService() {
122                    return _repositoryService;
123            }
124    
125            /**
126             * @deprecated Renamed to {@link #setWrappedService}
127             */
128            public void setWrappedRepositoryService(RepositoryService repositoryService) {
129                    _repositoryService = repositoryService;
130            }
131    
132            public RepositoryService getWrappedService() {
133                    return _repositoryService;
134            }
135    
136            public void setWrappedService(RepositoryService repositoryService) {
137                    _repositoryService = repositoryService;
138            }
139    
140            private RepositoryService _repositoryService;
141    }