001    /**
002     * Copyright (c) 2000-2011 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    /**
018     * <p>
019     * This class is a wrapper for {@link AssetEntryService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       AssetEntryService
024     * @generated
025     */
026    public class AssetEntryServiceWrapper implements AssetEntryService {
027            public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
028                    _assetEntryService = assetEntryService;
029            }
030    
031            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
032                    long companyId, int start, int end)
033                    throws com.liferay.portal.kernel.exception.SystemException {
034                    return _assetEntryService.getCompanyEntries(companyId, start, end);
035            }
036    
037            public int getCompanyEntriesCount(long companyId)
038                    throws com.liferay.portal.kernel.exception.SystemException {
039                    return _assetEntryService.getCompanyEntriesCount(companyId);
040            }
041    
042            public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
043                    long companyId, int start, int end, java.lang.String languageId)
044                    throws com.liferay.portal.kernel.exception.SystemException {
045                    return _assetEntryService.getCompanyEntryDisplays(companyId, start,
046                            end, languageId);
047            }
048    
049            public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
050                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    return _assetEntryService.getEntries(entryQuery);
054            }
055    
056            public int getEntriesCount(
057                    com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _assetEntryService.getEntriesCount(entryQuery);
061            }
062    
063            public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    return _assetEntryService.getEntry(entryId);
067            }
068    
069            public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
070                    java.lang.String className, long classPK)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _assetEntryService.incrementViewCounter(className, classPK);
074            }
075    
076            public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
077                    long companyId, long[] groupIds, java.lang.String className,
078                    java.lang.String keywords, java.lang.String languageId, int start,
079                    int end) throws com.liferay.portal.kernel.exception.SystemException {
080                    return _assetEntryService.searchEntryDisplays(companyId, groupIds,
081                            className, keywords, languageId, start, end);
082            }
083    
084            public int searchEntryDisplaysCount(long companyId, long[] groupIds,
085                    java.lang.String className, java.lang.String keywords,
086                    java.lang.String languageId)
087                    throws com.liferay.portal.kernel.exception.SystemException {
088                    return _assetEntryService.searchEntryDisplaysCount(companyId, groupIds,
089                            className, keywords, languageId);
090            }
091    
092            public com.liferay.portlet.asset.model.AssetEntry updateEntry(
093                    long groupId, java.lang.String className, long classPK,
094                    java.lang.String classUuid, long classTypeId, long[] categoryIds,
095                    java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
096                    java.util.Date endDate, java.util.Date publishDate,
097                    java.util.Date expirationDate, java.lang.String mimeType,
098                    java.lang.String title, java.lang.String description,
099                    java.lang.String summary, java.lang.String url,
100                    java.lang.String layoutUuid, int height, int width,
101                    java.lang.Integer priority, boolean sync)
102                    throws com.liferay.portal.kernel.exception.PortalException,
103                            com.liferay.portal.kernel.exception.SystemException {
104                    return _assetEntryService.updateEntry(groupId, className, classPK,
105                            classUuid, classTypeId, categoryIds, tagNames, visible, startDate,
106                            endDate, publishDate, expirationDate, mimeType, title, description,
107                            summary, url, layoutUuid, height, width, priority, sync);
108            }
109    
110            public AssetEntryService getWrappedAssetEntryService() {
111                    return _assetEntryService;
112            }
113    
114            public void setWrappedAssetEntryService(AssetEntryService assetEntryService) {
115                    _assetEntryService = assetEntryService;
116            }
117    
118            private AssetEntryService _assetEntryService;
119    }