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