001
014
015 package com.liferay.portlet.asset.service;
016
017
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
045 public java.lang.String getCompanyEntriesRSS(long companyId, int max,
046 java.lang.String type, double version, java.lang.String displayStyle,
047 java.lang.String feedURL, java.lang.String tagURL)
048 throws com.liferay.portal.kernel.exception.PortalException,
049 com.liferay.portal.kernel.exception.SystemException {
050 return _assetEntryService.getCompanyEntriesRSS(companyId, max, type,
051 version, displayStyle, feedURL, tagURL);
052 }
053
054 public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
055 long companyId, int start, int end, java.lang.String languageId)
056 throws com.liferay.portal.kernel.exception.SystemException {
057 return _assetEntryService.getCompanyEntryDisplays(companyId, start,
058 end, languageId);
059 }
060
061 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
062 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
063 throws com.liferay.portal.kernel.exception.PortalException,
064 com.liferay.portal.kernel.exception.SystemException {
065 return _assetEntryService.getEntries(entryQuery);
066 }
067
068 public int getEntriesCount(
069 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _assetEntryService.getEntriesCount(entryQuery);
073 }
074
075
078 public java.lang.String getEntriesRSS(
079 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery,
080 java.lang.String name, java.lang.String type, double version,
081 java.lang.String displayStyle, java.lang.String feedURL,
082 java.lang.String tagURL)
083 throws com.liferay.portal.kernel.exception.PortalException,
084 com.liferay.portal.kernel.exception.SystemException {
085 return _assetEntryService.getEntriesRSS(entryQuery, name, type,
086 version, displayStyle, feedURL, tagURL);
087 }
088
089 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
090 throws com.liferay.portal.kernel.exception.PortalException,
091 com.liferay.portal.kernel.exception.SystemException {
092 return _assetEntryService.getEntry(entryId);
093 }
094
095 public void incrementViewCounter(java.lang.String className, long classPK)
096 throws com.liferay.portal.kernel.exception.PortalException,
097 com.liferay.portal.kernel.exception.SystemException {
098 _assetEntryService.incrementViewCounter(className, classPK);
099 }
100
101 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
102 long companyId, long[] groupIds, java.lang.String className,
103 java.lang.String keywords, java.lang.String languageId, int start,
104 int end) throws com.liferay.portal.kernel.exception.SystemException {
105 return _assetEntryService.searchEntryDisplays(companyId, groupIds,
106 className, keywords, languageId, start, end);
107 }
108
109
113 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
114 long companyId, java.lang.String portletId, java.lang.String keywords,
115 java.lang.String languageId, int start, int end)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return _assetEntryService.searchEntryDisplays(companyId, portletId,
118 keywords, languageId, start, end);
119 }
120
121 public int searchEntryDisplaysCount(long companyId, long[] groupIds,
122 java.lang.String className, java.lang.String keywords,
123 java.lang.String languageId)
124 throws com.liferay.portal.kernel.exception.SystemException {
125 return _assetEntryService.searchEntryDisplaysCount(companyId, groupIds,
126 className, keywords, languageId);
127 }
128
129
133 public int searchEntryDisplaysCount(long companyId,
134 java.lang.String portletId, java.lang.String keywords,
135 java.lang.String languageId)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _assetEntryService.searchEntryDisplaysCount(companyId,
138 portletId, keywords, languageId);
139 }
140
141 public com.liferay.portlet.asset.model.AssetEntry updateEntry(
142 long groupId, java.lang.String className, long classPK,
143 java.lang.String classUuid, long[] categoryIds,
144 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
145 java.util.Date endDate, java.util.Date publishDate,
146 java.util.Date expirationDate, java.lang.String mimeType,
147 java.lang.String title, java.lang.String description,
148 java.lang.String summary, java.lang.String url, int height, int width,
149 java.lang.Integer priority, boolean sync)
150 throws com.liferay.portal.kernel.exception.PortalException,
151 com.liferay.portal.kernel.exception.SystemException {
152 return _assetEntryService.updateEntry(groupId, className, classPK,
153 classUuid, categoryIds, tagNames, visible, startDate, endDate,
154 publishDate, expirationDate, mimeType, title, description, summary,
155 url, height, width, priority, sync);
156 }
157
158 public AssetEntryService getWrappedAssetEntryService() {
159 return _assetEntryService;
160 }
161
162 public void setWrappedAssetEntryService(AssetEntryService assetEntryService) {
163 _assetEntryService = assetEntryService;
164 }
165
166 private AssetEntryService _assetEntryService;
167 }