001    /**
002     * Copyright (c) 2000-2012 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.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.util.Date createDate, java.util.Date modifiedDate,
092                    java.lang.String className, long classPK, java.lang.String classUuid,
093                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
094                    boolean visible, java.util.Date startDate, java.util.Date endDate,
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, createDate,
103                            modifiedDate, className, classPK, classUuid, classTypeId,
104                            categoryIds, tagNames, visible, startDate, endDate, expirationDate,
105                            mimeType, title, description, summary, url, layoutUuid, height,
106                            width, priority, sync);
107            }
108    
109            /**
110            * @deprecated {@link #updateEntry(long, String, long, String, long, long[],
111            String[], boolean, Date, Date, Date, String, String, String,
112            String, String, String, int, int, Integer, boolean)}
113            */
114            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
115                    long groupId, java.lang.String className, long classPK,
116                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
117                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
118                    java.util.Date endDate, java.util.Date publishDate,
119                    java.util.Date expirationDate, java.lang.String mimeType,
120                    java.lang.String title, java.lang.String description,
121                    java.lang.String summary, java.lang.String url,
122                    java.lang.String layoutUuid, int height, int width,
123                    java.lang.Integer priority, boolean sync)
124                    throws com.liferay.portal.kernel.exception.PortalException,
125                            com.liferay.portal.kernel.exception.SystemException {
126                    return _assetEntryService.updateEntry(groupId, className, classPK,
127                            classUuid, classTypeId, categoryIds, tagNames, visible, startDate,
128                            endDate, publishDate, expirationDate, mimeType, title, description,
129                            summary, url, layoutUuid, height, width, priority, sync);
130            }
131    
132            /**
133            * @deprecated {@link #updateEntry(long, Date, Date. String, long, String,
134            long, long[], String[], boolean, Date, Date, Date, String,
135            String, String, String, String, String, int, int, Integer,
136            boolean)}
137            */
138            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
139                    long groupId, java.lang.String className, long classPK,
140                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
141                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
142                    java.util.Date endDate, java.util.Date expirationDate,
143                    java.lang.String mimeType, java.lang.String title,
144                    java.lang.String description, java.lang.String summary,
145                    java.lang.String url, java.lang.String layoutUuid, int height,
146                    int width, java.lang.Integer priority, boolean sync)
147                    throws com.liferay.portal.kernel.exception.PortalException,
148                            com.liferay.portal.kernel.exception.SystemException {
149                    return _assetEntryService.updateEntry(groupId, className, classPK,
150                            classUuid, classTypeId, categoryIds, tagNames, visible, startDate,
151                            endDate, expirationDate, mimeType, title, description, summary,
152                            url, layoutUuid, height, width, priority, sync);
153            }
154    
155            /**
156             * @deprecated Renamed to {@link #getWrappedService}
157             */
158            public AssetEntryService getWrappedAssetEntryService() {
159                    return _assetEntryService;
160            }
161    
162            /**
163             * @deprecated Renamed to {@link #setWrappedService}
164             */
165            public void setWrappedAssetEntryService(AssetEntryService assetEntryService) {
166                    _assetEntryService = assetEntryService;
167            }
168    
169            public AssetEntryService getWrappedService() {
170                    return _assetEntryService;
171            }
172    
173            public void setWrappedService(AssetEntryService assetEntryService) {
174                    _assetEntryService = assetEntryService;
175            }
176    
177            private AssetEntryService _assetEntryService;
178    }