001
014
015 package com.liferay.portlet.asset.service;
016
017
018
027 public class AssetEntryLocalServiceWrapper implements AssetEntryLocalService {
028 public AssetEntryLocalServiceWrapper(
029 AssetEntryLocalService assetEntryLocalService) {
030 _assetEntryLocalService = assetEntryLocalService;
031 }
032
033 public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
034 com.liferay.portlet.asset.model.AssetEntry assetEntry)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return _assetEntryLocalService.addAssetEntry(assetEntry);
037 }
038
039 public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
040 long entryId) {
041 return _assetEntryLocalService.createAssetEntry(entryId);
042 }
043
044 public void deleteAssetEntry(long entryId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 _assetEntryLocalService.deleteAssetEntry(entryId);
048 }
049
050 public void deleteAssetEntry(
051 com.liferay.portlet.asset.model.AssetEntry assetEntry)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 _assetEntryLocalService.deleteAssetEntry(assetEntry);
054 }
055
056 @SuppressWarnings("unchecked")
057 public java.util.List dynamicQuery(
058 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return _assetEntryLocalService.dynamicQuery(dynamicQuery);
061 }
062
063 @SuppressWarnings("unchecked")
064 public java.util.List dynamicQuery(
065 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
066 int end) throws com.liferay.portal.kernel.exception.SystemException {
067 return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end);
068 }
069
070 @SuppressWarnings("unchecked")
071 public java.util.List dynamicQuery(
072 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
073 int end,
074 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end,
077 orderByComparator);
078 }
079
080 public long dynamicQueryCount(
081 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return _assetEntryLocalService.dynamicQueryCount(dynamicQuery);
084 }
085
086 public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
087 long entryId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _assetEntryLocalService.getAssetEntry(entryId);
091 }
092
093 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
094 int start, int end)
095 throws com.liferay.portal.kernel.exception.SystemException {
096 return _assetEntryLocalService.getAssetEntries(start, end);
097 }
098
099 public int getAssetEntriesCount()
100 throws com.liferay.portal.kernel.exception.SystemException {
101 return _assetEntryLocalService.getAssetEntriesCount();
102 }
103
104 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
105 com.liferay.portlet.asset.model.AssetEntry assetEntry)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 return _assetEntryLocalService.updateAssetEntry(assetEntry);
108 }
109
110 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
111 com.liferay.portlet.asset.model.AssetEntry assetEntry, boolean merge)
112 throws com.liferay.portal.kernel.exception.SystemException {
113 return _assetEntryLocalService.updateAssetEntry(assetEntry, merge);
114 }
115
116 public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
117 throws com.liferay.portal.kernel.exception.PortalException,
118 com.liferay.portal.kernel.exception.SystemException {
119 _assetEntryLocalService.deleteEntry(entry);
120 }
121
122 public void deleteEntry(long entryId)
123 throws com.liferay.portal.kernel.exception.PortalException,
124 com.liferay.portal.kernel.exception.SystemException {
125 _assetEntryLocalService.deleteEntry(entryId);
126 }
127
128 public void deleteEntry(java.lang.String className, long classPK)
129 throws com.liferay.portal.kernel.exception.PortalException,
130 com.liferay.portal.kernel.exception.SystemException {
131 _assetEntryLocalService.deleteEntry(className, classPK);
132 }
133
134 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAncestorEntries(
135 long entryId)
136 throws com.liferay.portal.kernel.exception.PortalException,
137 com.liferay.portal.kernel.exception.SystemException {
138 return _assetEntryLocalService.getAncestorEntries(entryId);
139 }
140
141 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getChildEntries(
142 long entryId)
143 throws com.liferay.portal.kernel.exception.PortalException,
144 com.liferay.portal.kernel.exception.SystemException {
145 return _assetEntryLocalService.getChildEntries(entryId);
146 }
147
148 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
149 long companyId, int start, int end)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _assetEntryLocalService.getCompanyEntries(companyId, start, end);
152 }
153
154 public int getCompanyEntriesCount(long companyId)
155 throws com.liferay.portal.kernel.exception.SystemException {
156 return _assetEntryLocalService.getCompanyEntriesCount(companyId);
157 }
158
159 public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
160 long companyId, int start, int end, java.lang.String languageId)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return _assetEntryLocalService.getCompanyEntryDisplays(companyId,
163 start, end, languageId);
164 }
165
166 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
167 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
168 throws com.liferay.portal.kernel.exception.SystemException {
169 return _assetEntryLocalService.getEntries(entryQuery);
170 }
171
172 public int getEntriesCount(
173 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
174 throws com.liferay.portal.kernel.exception.SystemException {
175 return _assetEntryLocalService.getEntriesCount(entryQuery);
176 }
177
178 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _assetEntryLocalService.getEntry(entryId);
182 }
183
184 public com.liferay.portlet.asset.model.AssetEntry getEntry(long groupId,
185 java.lang.String classUuid)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _assetEntryLocalService.getEntry(groupId, classUuid);
189 }
190
191 public com.liferay.portlet.asset.model.AssetEntry getEntry(
192 java.lang.String className, long classPK)
193 throws com.liferay.portal.kernel.exception.PortalException,
194 com.liferay.portal.kernel.exception.SystemException {
195 return _assetEntryLocalService.getEntry(className, classPK);
196 }
197
198 public com.liferay.portlet.asset.model.AssetEntry getNextEntry(long entryId)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return _assetEntryLocalService.getNextEntry(entryId);
202 }
203
204 public com.liferay.portlet.asset.model.AssetEntry getParentEntry(
205 long entryId)
206 throws com.liferay.portal.kernel.exception.PortalException,
207 com.liferay.portal.kernel.exception.SystemException {
208 return _assetEntryLocalService.getParentEntry(entryId);
209 }
210
211 public com.liferay.portlet.asset.model.AssetEntry getPreviousEntry(
212 long entryId)
213 throws com.liferay.portal.kernel.exception.PortalException,
214 com.liferay.portal.kernel.exception.SystemException {
215 return _assetEntryLocalService.getPreviousEntry(entryId);
216 }
217
218 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
219 java.lang.String className, boolean asc, int start, int end)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _assetEntryLocalService.getTopViewedEntries(className, asc,
222 start, end);
223 }
224
225 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
226 java.lang.String[] className, boolean asc, int start, int end)
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _assetEntryLocalService.getTopViewedEntries(className, asc,
229 start, end);
230 }
231
232 public void incrementViewCounter(long userId, java.lang.String className,
233 long classPK)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 _assetEntryLocalService.incrementViewCounter(userId, className, classPK);
237 }
238
239 public com.liferay.portal.kernel.search.Hits search(long companyId,
240 java.lang.String portletId, java.lang.String keywords, int start,
241 int end) throws com.liferay.portal.kernel.exception.SystemException {
242 return _assetEntryLocalService.search(companyId, portletId, keywords,
243 start, end);
244 }
245
246 public com.liferay.portal.kernel.search.Hits search(long companyId,
247 long[] groupIds, java.lang.String portletId, java.lang.String userName,
248 java.lang.String title, java.lang.String description,
249 java.lang.String assetCategoryIds, java.lang.String assetTagNames,
250 boolean andSearch, int start, int end)
251 throws com.liferay.portal.kernel.exception.SystemException {
252 return _assetEntryLocalService.search(companyId, groupIds, portletId,
253 userName, title, description, assetCategoryIds, assetTagNames,
254 andSearch, start, end);
255 }
256
257 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
258 long companyId, java.lang.String portletId, java.lang.String keywords,
259 java.lang.String languageId, int start, int end)
260 throws com.liferay.portal.kernel.exception.SystemException {
261 return _assetEntryLocalService.searchEntryDisplays(companyId,
262 portletId, keywords, languageId, start, end);
263 }
264
265 public int searchEntryDisplaysCount(long companyId,
266 java.lang.String portletId, java.lang.String keywords,
267 java.lang.String languageId)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 return _assetEntryLocalService.searchEntryDisplaysCount(companyId,
270 portletId, keywords, languageId);
271 }
272
273 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
274 long groupId, java.lang.String className, long classPK,
275 long[] categoryIds, java.lang.String[] tagNames)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 return _assetEntryLocalService.updateEntry(userId, groupId, className,
279 classPK, categoryIds, tagNames);
280 }
281
282 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
283 long groupId, java.lang.String className, long classPK,
284 java.lang.String classUuid, long[] categoryIds,
285 java.lang.String[] tagNames, boolean visible, java.util.Date startDate,
286 java.util.Date endDate, java.util.Date publishDate,
287 java.util.Date expirationDate, java.lang.String mimeType,
288 java.lang.String title, java.lang.String description,
289 java.lang.String summary, java.lang.String url, int height, int width,
290 java.lang.Integer priority, boolean sync)
291 throws com.liferay.portal.kernel.exception.PortalException,
292 com.liferay.portal.kernel.exception.SystemException {
293 return _assetEntryLocalService.updateEntry(userId, groupId, className,
294 classPK, classUuid, categoryIds, tagNames, visible, startDate,
295 endDate, publishDate, expirationDate, mimeType, title, description,
296 summary, url, height, width, priority, sync);
297 }
298
299 public com.liferay.portlet.asset.model.AssetEntry updateVisible(
300 java.lang.String className, long classPK, boolean visible)
301 throws com.liferay.portal.kernel.exception.PortalException,
302 com.liferay.portal.kernel.exception.SystemException {
303 return _assetEntryLocalService.updateVisible(className, classPK, visible);
304 }
305
306 public void validate(java.lang.String className, long[] categoryIds,
307 java.lang.String[] tagNames)
308 throws com.liferay.portal.kernel.exception.PortalException {
309 _assetEntryLocalService.validate(className, categoryIds, tagNames);
310 }
311
312 public AssetEntryLocalService getWrappedAssetEntryLocalService() {
313 return _assetEntryLocalService;
314 }
315
316 private AssetEntryLocalService _assetEntryLocalService;
317 }