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