001    /**
002     * Copyright (c) 2000-present 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.asset.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link AssetEntryService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see AssetEntryService
026     * @generated
027     */
028    @ProviderType
029    public class AssetEntryServiceWrapper implements AssetEntryService,
030            ServiceWrapper<AssetEntryService> {
031            public AssetEntryServiceWrapper(AssetEntryService assetEntryService) {
032                    _assetEntryService = assetEntryService;
033            }
034    
035            @Override
036            public com.liferay.asset.kernel.model.AssetEntry fetchEntry(long entryId)
037                    throws com.liferay.portal.kernel.exception.PortalException {
038                    return _assetEntryService.fetchEntry(entryId);
039            }
040    
041            @Override
042            public java.util.List<com.liferay.asset.kernel.model.AssetEntry> getCompanyEntries(
043                    long companyId, int start, int end) {
044                    return _assetEntryService.getCompanyEntries(companyId, start, end);
045            }
046    
047            @Override
048            public int getCompanyEntriesCount(long companyId) {
049                    return _assetEntryService.getCompanyEntriesCount(companyId);
050            }
051    
052            @Override
053            public java.util.List<com.liferay.asset.kernel.model.AssetEntry> getEntries(
054                    com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
055                    throws com.liferay.portal.kernel.exception.PortalException {
056                    return _assetEntryService.getEntries(entryQuery);
057            }
058    
059            @Override
060            public int getEntriesCount(
061                    com.liferay.asset.kernel.service.persistence.AssetEntryQuery entryQuery)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    return _assetEntryService.getEntriesCount(entryQuery);
064            }
065    
066            @Override
067            public com.liferay.asset.kernel.model.AssetEntry getEntry(long entryId)
068                    throws com.liferay.portal.kernel.exception.PortalException {
069                    return _assetEntryService.getEntry(entryId);
070            }
071    
072            /**
073            * Returns the OSGi service identifier.
074            *
075            * @return the OSGi service identifier
076            */
077            @Override
078            public java.lang.String getOSGiServiceIdentifier() {
079                    return _assetEntryService.getOSGiServiceIdentifier();
080            }
081    
082            @Override
083            public com.liferay.asset.kernel.model.AssetEntry incrementViewCounter(
084                    java.lang.String className, long classPK)
085                    throws com.liferay.portal.kernel.exception.PortalException {
086                    return _assetEntryService.incrementViewCounter(className, classPK);
087            }
088    
089            @Override
090            public com.liferay.asset.kernel.model.AssetEntry updateEntry(long groupId,
091                    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.Double priority)
100                    throws com.liferay.portal.kernel.exception.PortalException {
101                    return _assetEntryService.updateEntry(groupId, createDate,
102                            modifiedDate, className, classPK, classUuid, classTypeId,
103                            categoryIds, tagNames, visible, startDate, endDate, expirationDate,
104                            mimeType, title, description, summary, url, layoutUuid, height,
105                            width, priority);
106            }
107    
108            /**
109            * @deprecated As of 7.0.0, replaced by {@link #updateEntry(long, Date,
110            Date, String, long, String, long, long[], String[], boolean,
111            Date, Date, Date, String, String, String, String, String,
112            String, int, int, Double)}
113            */
114            @Deprecated
115            @Override
116            public com.liferay.asset.kernel.model.AssetEntry updateEntry(long groupId,
117                    java.util.Date createDate, java.util.Date modifiedDate,
118                    java.lang.String className, long classPK, java.lang.String classUuid,
119                    long classTypeId, long[] categoryIds, java.lang.String[] tagNames,
120                    boolean visible, java.util.Date startDate, java.util.Date endDate,
121                    java.util.Date expirationDate, java.lang.String mimeType,
122                    java.lang.String title, java.lang.String description,
123                    java.lang.String summary, java.lang.String url,
124                    java.lang.String layoutUuid, int height, int width,
125                    java.lang.Integer priority, boolean sync)
126                    throws com.liferay.portal.kernel.exception.PortalException {
127                    return _assetEntryService.updateEntry(groupId, createDate,
128                            modifiedDate, className, classPK, classUuid, classTypeId,
129                            categoryIds, tagNames, visible, startDate, endDate, expirationDate,
130                            mimeType, title, description, summary, url, layoutUuid, height,
131                            width, priority, sync);
132            }
133    
134            @Override
135            public AssetEntryService getWrappedService() {
136                    return _assetEntryService;
137            }
138    
139            @Override
140            public void setWrappedService(AssetEntryService assetEntryService) {
141                    _assetEntryService = assetEntryService;
142            }
143    
144            private AssetEntryService _assetEntryService;
145    }