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