001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.asset.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link AssetEntryService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       AssetEntryService
026     * @generated
027     */
028    public class AssetEntryServiceWrapper implements AssetEntryService,
029            ServiceWrapper<AssetEntryService> {
030            public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
031                    _assetEntryService = assetEntryService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _assetEntryService.getBeanIdentifier();
041            }
042    
043            /**
044            * Sets the Spring bean ID for this bean.
045            *
046            * @param beanIdentifier the Spring bean ID for this bean
047            */
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _assetEntryService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
053                    long companyId, int start, int end)
054                    throws com.liferay.portal.kernel.exception.SystemException {
055                    return _assetEntryService.getCompanyEntries(companyId, start, end);
056            }
057    
058            public int getCompanyEntriesCount(long companyId)
059                    throws com.liferay.portal.kernel.exception.SystemException {
060                    return _assetEntryService.getCompanyEntriesCount(companyId);
061            }
062    
063            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
064                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _assetEntryService.getEntries(entryQuery);
068            }
069    
070            public int getEntriesCount(
071                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
072                    throws com.liferay.portal.kernel.exception.PortalException,
073                            com.liferay.portal.kernel.exception.SystemException {
074                    return _assetEntryService.getEntriesCount(entryQuery);
075            }
076    
077            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    return _assetEntryService.getEntry(entryId);
081            }
082    
083            public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
084                    java.lang.String className, long classPK)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _assetEntryService.incrementViewCounter(className, classPK);
088            }
089    
090            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
091                    long groupId, java.lang.String className, long classPK,
092                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
093                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
094                    java.util.Date endDate, java.util.Date publishDate,
095                    java.util.Date expirationDate, java.lang.String mimeType,
096                    java.lang.String title, java.lang.String description,
097                    java.lang.String summary, java.lang.String url,
098                    java.lang.String layoutUuid, int height, int width,
099                    java.lang.Integer priority, boolean sync)
100                    throws com.liferay.portal.kernel.exception.PortalException,
101                            com.liferay.portal.kernel.exception.SystemException {
102                    return _assetEntryService.updateEntry(groupId, className, classPK,
103                            classUuid, classTypeId, categoryIds, tagNames, visible, startDate,
104                            endDate, publishDate, expirationDate, mimeType, title, description,
105                            summary, url, layoutUuid, height, width, priority, sync);
106            }
107    
108            /**
109             * @deprecated Renamed to {@link #getWrappedService}
110             */
111            public AssetEntryService getWrappedAssetEntryService() {
112                    return _assetEntryService;
113            }
114    
115            /**
116             * @deprecated Renamed to {@link #setWrappedService}
117             */
118            public void setWrappedAssetEntryService(AssetEntryService assetEntryService) {
119                    _assetEntryService = assetEntryService;
120            }
121    
122            public AssetEntryService getWrappedService() {
123                    return _assetEntryService;
124            }
125    
126            public void setWrappedService(AssetEntryService assetEntryService) {
127                    _assetEntryService = assetEntryService;
128            }
129    
130            private AssetEntryService _assetEntryService;
131    }