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 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            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            public java.lang.String getBeanIdentifier() {
038                    return _repositoryService.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            public void setBeanIdentifier(java.lang.String beanIdentifier) {
047                    _repositoryService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            public long addRepository(long groupId, long classNameId,
051                    long parentFolderId, java.lang.String name,
052                    java.lang.String description, java.lang.String portletId,
053                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
054                    com.liferay.portal.service.ServiceContext serviceContext)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _repositoryService.addRepository(groupId, classNameId,
058                            parentFolderId, name, description, portletId,
059                            typeSettingsProperties, serviceContext);
060            }
061    
062            public void checkRepository(long repositoryId)
063                    throws com.liferay.portal.kernel.exception.PortalException,
064                            com.liferay.portal.kernel.exception.SystemException {
065                    _repositoryService.checkRepository(repositoryId);
066            }
067    
068            public void deleteRepository(long repositoryId)
069                    throws com.liferay.portal.kernel.exception.PortalException,
070                            com.liferay.portal.kernel.exception.SystemException {
071                    _repositoryService.deleteRepository(repositoryId);
072            }
073    
074            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
075                    long repositoryId)
076                    throws com.liferay.portal.kernel.exception.PortalException,
077                            com.liferay.portal.kernel.exception.SystemException {
078                    return _repositoryService.getLocalRepositoryImpl(repositoryId);
079            }
080    
081            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
082                    long folderId, long fileEntryId, long fileVersionId)
083                    throws com.liferay.portal.kernel.exception.PortalException,
084                            com.liferay.portal.kernel.exception.SystemException {
085                    return _repositoryService.getLocalRepositoryImpl(folderId, fileEntryId,
086                            fileVersionId);
087            }
088    
089            public com.liferay.portal.model.Repository getRepository(long repositoryId)
090                    throws com.liferay.portal.kernel.exception.PortalException,
091                            com.liferay.portal.kernel.exception.SystemException {
092                    return _repositoryService.getRepository(repositoryId);
093            }
094    
095            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
096                    long repositoryId)
097                    throws com.liferay.portal.kernel.exception.PortalException,
098                            com.liferay.portal.kernel.exception.SystemException {
099                    return _repositoryService.getRepositoryImpl(repositoryId);
100            }
101    
102            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
103                    long folderId, long fileEntryId, long fileVersionId)
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException {
106                    return _repositoryService.getRepositoryImpl(folderId, fileEntryId,
107                            fileVersionId);
108            }
109    
110            public java.lang.String[] getSupportedConfigurations(long classNameId)
111                    throws com.liferay.portal.kernel.exception.SystemException {
112                    return _repositoryService.getSupportedConfigurations(classNameId);
113            }
114    
115            public java.lang.String[] getSupportedParameters(long classNameId,
116                    java.lang.String configuration)
117                    throws com.liferay.portal.kernel.exception.SystemException {
118                    return _repositoryService.getSupportedParameters(classNameId,
119                            configuration);
120            }
121    
122            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
123                    long repositoryId)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    return _repositoryService.getTypeSettingsProperties(repositoryId);
127            }
128    
129            public void updateRepository(long repositoryId, java.lang.String name,
130                    java.lang.String description)
131                    throws com.liferay.portal.kernel.exception.PortalException,
132                            com.liferay.portal.kernel.exception.SystemException {
133                    _repositoryService.updateRepository(repositoryId, name, description);
134            }
135    
136            /**
137             * @deprecated Renamed to {@link #getWrappedService}
138             */
139            public RepositoryService getWrappedRepositoryService() {
140                    return _repositoryService;
141            }
142    
143            /**
144             * @deprecated Renamed to {@link #setWrappedService}
145             */
146            public void setWrappedRepositoryService(RepositoryService repositoryService) {
147                    _repositoryService = repositoryService;
148            }
149    
150            public RepositoryService getWrappedService() {
151                    return _repositoryService;
152            }
153    
154            public void setWrappedService(RepositoryService repositoryService) {
155                    _repositoryService = repositoryService;
156            }
157    
158            private RepositoryService _repositoryService;
159    }