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 publishDate, java.util.Date expirationDate,
096                    java.lang.String mimeType, java.lang.String title,
097                    java.lang.String description, java.lang.String summary,
098                    java.lang.String url, java.lang.String layoutUuid, int height,
099                    int width, 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, publishDate,
105                            expirationDate, mimeType, title, description, summary, url,
106                            layoutUuid, height, width, priority, sync);
107            }
108    
109            /**
110            * @deprecated {@link #updateEntry(long, Date, Date. String, long, String,
111            long, long[], String[], boolean, Date, Date, Date, Date,
112            String, String, String, String, String, String, int, int,
113            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 Renamed to {@link #getWrappedService}
135             */
136            public AssetEntryService getWrappedAssetEntryService() {
137                    return _assetEntryService;
138            }
139    
140            /**
141             * @deprecated Renamed to {@link #setWrappedService}
142             */
143            public void setWrappedAssetEntryService(AssetEntryService assetEntryService) {
144                    _assetEntryService = assetEntryService;
145            }
146    
147            public AssetEntryService getWrappedService() {
148                    return _assetEntryService;
149            }
150    
151            public void setWrappedService(AssetEntryService assetEntryService) {
152                    _assetEntryService = assetEntryService;
153            }
154    
155            private AssetEntryService _assetEntryService;
156    }