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.model.Repository getRepository(long repositoryId)
069                    throws com.liferay.portal.kernel.exception.PortalException {
070                    return _repositoryService.getRepository(repositoryId);
071            }
072    
073            @Override
074            public java.lang.String[] getSupportedConfigurations(long classNameId) {
075                    return _repositoryService.getSupportedConfigurations(classNameId);
076            }
077    
078            @Override
079            public java.lang.String[] getSupportedParameters(
080                    java.lang.String className, java.lang.String configuration) {
081                    return _repositoryService.getSupportedParameters(className,
082                            configuration);
083            }
084    
085            /**
086            * @deprecated As of 7.0.0, replaced by {@link
087            #getSupportedParameters(String, String)}
088            */
089            @Deprecated
090            @Override
091            public java.lang.String[] getSupportedParameters(long classNameId,
092                    java.lang.String configuration) {
093                    return _repositoryService.getSupportedParameters(classNameId,
094                            configuration);
095            }
096    
097            @Override
098            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
099                    long repositoryId)
100                    throws com.liferay.portal.kernel.exception.PortalException {
101                    return _repositoryService.getTypeSettingsProperties(repositoryId);
102            }
103    
104            /**
105            * Sets the Spring bean ID for this bean.
106            *
107            * @param beanIdentifier the Spring bean ID for this bean
108            */
109            @Override
110            public void setBeanIdentifier(java.lang.String beanIdentifier) {
111                    _repositoryService.setBeanIdentifier(beanIdentifier);
112            }
113    
114            @Override
115            public void updateRepository(long repositoryId, java.lang.String name,
116                    java.lang.String description)
117                    throws com.liferay.portal.kernel.exception.PortalException {
118                    _repositoryService.updateRepository(repositoryId, name, description);
119            }
120    
121            /**
122             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
123             */
124            @Deprecated
125            public RepositoryService getWrappedRepositoryService() {
126                    return _repositoryService;
127            }
128    
129            /**
130             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
131             */
132            @Deprecated
133            public void setWrappedRepositoryService(RepositoryService repositoryService) {
134                    _repositoryService = repositoryService;
135            }
136    
137            @Override
138            public RepositoryService getWrappedService() {
139                    return _repositoryService;
140            }
141    
142            @Override
143            public void setWrappedService(RepositoryService repositoryService) {
144                    _repositoryService = repositoryService;
145            }
146    
147            private RepositoryService _repositoryService;
148    }