001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link RepositoryService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see RepositoryService
024     * @generated
025     */
026    @ProviderType
027    public class RepositoryServiceWrapper implements RepositoryService,
028            ServiceWrapper<RepositoryService> {
029            public RepositoryServiceWrapper(RepositoryService repositoryService) {
030                    _repositoryService = repositoryService;
031            }
032    
033            @Override
034            public com.liferay.portal.model.Repository addRepository(long groupId,
035                    long classNameId, long parentFolderId, java.lang.String name,
036                    java.lang.String description, java.lang.String portletId,
037                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties,
038                    com.liferay.portal.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _repositoryService.addRepository(groupId, classNameId,
041                            parentFolderId, name, description, portletId,
042                            typeSettingsProperties, serviceContext);
043            }
044    
045            @Override
046            public void checkRepository(long repositoryId)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    _repositoryService.checkRepository(repositoryId);
049            }
050    
051            @Override
052            public void deleteRepository(long repositoryId)
053                    throws com.liferay.portal.kernel.exception.PortalException {
054                    _repositoryService.deleteRepository(repositoryId);
055            }
056    
057            /**
058            * Returns the Spring bean ID for this bean.
059            *
060            * @return the Spring bean ID for this bean
061            */
062            @Override
063            public java.lang.String getBeanIdentifier() {
064                    return _repositoryService.getBeanIdentifier();
065            }
066    
067            @Override
068            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
069                    long folderId, long fileEntryId, long fileVersionId)
070                    throws com.liferay.portal.kernel.exception.PortalException {
071                    return _repositoryService.getLocalRepositoryImpl(folderId, fileEntryId,
072                            fileVersionId);
073            }
074    
075            @Override
076            public com.liferay.portal.kernel.repository.LocalRepository getLocalRepositoryImpl(
077                    long repositoryId)
078                    throws com.liferay.portal.kernel.exception.PortalException {
079                    return _repositoryService.getLocalRepositoryImpl(repositoryId);
080            }
081    
082            @Override
083            public com.liferay.portal.model.Repository getRepository(long repositoryId)
084                    throws com.liferay.portal.kernel.exception.PortalException {
085                    return _repositoryService.getRepository(repositoryId);
086            }
087    
088            @Override
089            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
090                    long folderId, long fileEntryId, long fileVersionId)
091                    throws com.liferay.portal.kernel.exception.PortalException {
092                    return _repositoryService.getRepositoryImpl(folderId, fileEntryId,
093                            fileVersionId);
094            }
095    
096            @Override
097            public com.liferay.portal.kernel.repository.Repository getRepositoryImpl(
098                    long repositoryId)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    return _repositoryService.getRepositoryImpl(repositoryId);
101            }
102    
103            @Override
104            public java.lang.String[] getSupportedConfigurations(long classNameId) {
105                    return _repositoryService.getSupportedConfigurations(classNameId);
106            }
107    
108            @Override
109            public java.lang.String[] getSupportedParameters(long classNameId,
110                    java.lang.String configuration) {
111                    return _repositoryService.getSupportedParameters(classNameId,
112                            configuration);
113            }
114    
115            @Override
116            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
117                    long repositoryId)
118                    throws com.liferay.portal.kernel.exception.PortalException {
119                    return _repositoryService.getTypeSettingsProperties(repositoryId);
120            }
121    
122            /**
123            * Sets the Spring bean ID for this bean.
124            *
125            * @param beanIdentifier the Spring bean ID for this bean
126            */
127            @Override
128            public void setBeanIdentifier(java.lang.String beanIdentifier) {
129                    _repositoryService.setBeanIdentifier(beanIdentifier);
130            }
131    
132            @Override
133            public void updateRepository(long repositoryId, java.lang.String name,
134                    java.lang.String description)
135                    throws com.liferay.portal.kernel.exception.PortalException {
136                    _repositoryService.updateRepository(repositoryId, name, description);
137            }
138    
139            /**
140             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
141             */
142            @Deprecated
143            public RepositoryService getWrappedRepositoryService() {
144                    return _repositoryService;
145            }
146    
147            /**
148             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
149             */
150            @Deprecated
151            public void setWrappedRepositoryService(RepositoryService repositoryService) {
152                    _repositoryService = repositoryService;
153            }
154    
155            @Override
156            public RepositoryService getWrappedService() {
157                    return _repositoryService;
158            }
159    
160            @Override
161            public void setWrappedService(RepositoryService repositoryService) {
162                    _repositoryService = repositoryService;
163            }
164    
165            private RepositoryService _repositoryService;
166    }