001    /*
002     * *
003     *  * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
004     *  *
005     *  * This library is free software; you can redistribute it and/or modify it under
006     *  * the terms of the GNU Lesser General Public License as published by the Free
007     *  * Software Foundation; either version 2.1 of the License, or (at your option)
008     *  * any later version.
009     *  *
010     *  * This library is distributed in the hope that it will be useful, but WITHOUT
011     *  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
012     *  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
013     *  * details.
014     *
015     */
016    
017    package com.liferay.portal.service.persistence;
018    
019    /**
020     * @author Cristina Gonz??lez
021     */
022    public class CompanyProviderWrapper implements CompanyProvider {
023    
024            @Override
025            public long getCompanyId() {
026                    return _companyProvider.getCompanyId();
027            }
028    
029            @Override
030            public String getCompanyIdName() {
031                    return _companyProvider.getCompanyIdName();
032            }
033    
034            public CompanyProvider getCompanyProvider() {
035                    return _companyProvider;
036            }
037    
038            public void setCompanyProvider(CompanyProvider companyProvider) {
039                    _companyProvider = companyProvider;
040            }
041    
042            private CompanyProvider _companyProvider;
043    
044    }