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 ClassNameService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see ClassNameService
022     * @generated
023     */
024    public class ClassNameServiceWrapper implements ClassNameService,
025            ServiceWrapper<ClassNameService> {
026            public ClassNameServiceWrapper(ClassNameService classNameService) {
027                    _classNameService = classNameService;
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 _classNameService.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                    _classNameService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            @Override
051            public com.liferay.portal.model.ClassName fetchClassName(
052                    java.lang.String value)
053                    throws com.liferay.portal.kernel.exception.SystemException {
054                    return _classNameService.fetchClassName(value);
055            }
056    
057            @Override
058            public long fetchClassNameId(java.lang.Class<?> clazz) {
059                    return _classNameService.fetchClassNameId(clazz);
060            }
061    
062            @Override
063            public long fetchClassNameId(java.lang.String value) {
064                    return _classNameService.fetchClassNameId(value);
065            }
066    
067            /**
068             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
069             */
070            public ClassNameService getWrappedClassNameService() {
071                    return _classNameService;
072            }
073    
074            /**
075             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
076             */
077            public void setWrappedClassNameService(ClassNameService classNameService) {
078                    _classNameService = classNameService;
079            }
080    
081            @Override
082            public ClassNameService getWrappedService() {
083                    return _classNameService;
084            }
085    
086            @Override
087            public void setWrappedService(ClassNameService classNameService) {
088                    _classNameService = classNameService;
089            }
090    
091            private ClassNameService _classNameService;
092    }