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 OSGi service identifier.
059            *
060            * @return the OSGi service identifier
061            */
062            @Override
063            public java.lang.String getOSGiServiceIdentifier() {
064                    return _repositoryService.getOSGiServiceIdentifier();
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            /**
074            * @deprecated As of 7.0.0, with no direct replacement
075            */
076            @Deprecated
077            @Override
078            public java.lang.String[] getSupportedConfigurations(long classNameId) {
079                    return _repositoryService.getSupportedConfigurations(classNameId);
080            }
081    
082            /**
083            * @deprecated As of 7.0.0, with no direct replacement
084            */
085            @Deprecated
086            @Override
087            public java.lang.String[] getSupportedParameters(
088                    java.lang.String className, java.lang.String configuration) {
089                    return _repositoryService.getSupportedParameters(className,
090                            configuration);
091            }
092    
093            /**
094            * @deprecated As of 7.0.0, with no direct replacement
095            */
096            @Deprecated
097            @Override
098            public java.lang.String[] getSupportedParameters(long classNameId,
099                    java.lang.String configuration) {
100                    return _repositoryService.getSupportedParameters(classNameId,
101                            configuration);
102            }
103    
104            @Override
105            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties(
106                    long repositoryId)
107                    throws com.liferay.portal.kernel.exception.PortalException {
108                    return _repositoryService.getTypeSettingsProperties(repositoryId);
109            }
110    
111            @Override
112            public void updateRepository(long repositoryId, java.lang.String name,
113                    java.lang.String description)
114                    throws com.liferay.portal.kernel.exception.PortalException {
115                    _repositoryService.updateRepository(repositoryId, name, description);
116            }
117    
118            @Override
119            public RepositoryService getWrappedService() {
120                    return _repositoryService;
121            }
122    
123            @Override
124            public void setWrappedService(RepositoryService repositoryService) {
125                    _repositoryService = repositoryService;
126            }
127    
128            private RepositoryService _repositoryService;
129    }