1
14
15 package com.liferay.portlet.asset.service;
16
17
18
34 public class AssetEntryLocalServiceWrapper implements AssetEntryLocalService {
35 public AssetEntryLocalServiceWrapper(
36 AssetEntryLocalService assetEntryLocalService) {
37 _assetEntryLocalService = assetEntryLocalService;
38 }
39
40 public com.liferay.portlet.asset.model.AssetEntry addAssetEntry(
41 com.liferay.portlet.asset.model.AssetEntry assetEntry)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _assetEntryLocalService.addAssetEntry(assetEntry);
44 }
45
46 public com.liferay.portlet.asset.model.AssetEntry createAssetEntry(
47 long entryId) {
48 return _assetEntryLocalService.createAssetEntry(entryId);
49 }
50
51 public void deleteAssetEntry(long entryId)
52 throws com.liferay.portal.kernel.exception.PortalException,
53 com.liferay.portal.kernel.exception.SystemException {
54 _assetEntryLocalService.deleteAssetEntry(entryId);
55 }
56
57 public void deleteAssetEntry(
58 com.liferay.portlet.asset.model.AssetEntry assetEntry)
59 throws com.liferay.portal.kernel.exception.SystemException {
60 _assetEntryLocalService.deleteAssetEntry(assetEntry);
61 }
62
63 public java.util.List<Object> dynamicQuery(
64 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
65 throws com.liferay.portal.kernel.exception.SystemException {
66 return _assetEntryLocalService.dynamicQuery(dynamicQuery);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
71 int end) throws com.liferay.portal.kernel.exception.SystemException {
72 return _assetEntryLocalService.dynamicQuery(dynamicQuery, start, end);
73 }
74
75 public com.liferay.portlet.asset.model.AssetEntry getAssetEntry(
76 long entryId)
77 throws com.liferay.portal.kernel.exception.PortalException,
78 com.liferay.portal.kernel.exception.SystemException {
79 return _assetEntryLocalService.getAssetEntry(entryId);
80 }
81
82 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getAssetEntries(
83 int start, int end)
84 throws com.liferay.portal.kernel.exception.SystemException {
85 return _assetEntryLocalService.getAssetEntries(start, end);
86 }
87
88 public int getAssetEntriesCount()
89 throws com.liferay.portal.kernel.exception.SystemException {
90 return _assetEntryLocalService.getAssetEntriesCount();
91 }
92
93 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
94 com.liferay.portlet.asset.model.AssetEntry assetEntry)
95 throws com.liferay.portal.kernel.exception.SystemException {
96 return _assetEntryLocalService.updateAssetEntry(assetEntry);
97 }
98
99 public com.liferay.portlet.asset.model.AssetEntry updateAssetEntry(
100 com.liferay.portlet.asset.model.AssetEntry assetEntry, boolean merge)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _assetEntryLocalService.updateAssetEntry(assetEntry, merge);
103 }
104
105 public void deleteEntry(com.liferay.portlet.asset.model.AssetEntry entry)
106 throws com.liferay.portal.kernel.exception.SystemException {
107 _assetEntryLocalService.deleteEntry(entry);
108 }
109
110 public void deleteEntry(long entryId)
111 throws com.liferay.portal.kernel.exception.PortalException,
112 com.liferay.portal.kernel.exception.SystemException {
113 _assetEntryLocalService.deleteEntry(entryId);
114 }
115
116 public void deleteEntry(java.lang.String className, long classPK)
117 throws com.liferay.portal.kernel.exception.SystemException {
118 _assetEntryLocalService.deleteEntry(className, classPK);
119 }
120
121 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getCompanyEntries(
122 long companyId, int start, int end)
123 throws com.liferay.portal.kernel.exception.SystemException {
124 return _assetEntryLocalService.getCompanyEntries(companyId, start, end);
125 }
126
127 public int getCompanyEntriesCount(long companyId)
128 throws com.liferay.portal.kernel.exception.SystemException {
129 return _assetEntryLocalService.getCompanyEntriesCount(companyId);
130 }
131
132 public com.liferay.portlet.asset.model.AssetEntryDisplay[] getCompanyEntryDisplays(
133 long companyId, int start, int end, java.lang.String languageId)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _assetEntryLocalService.getCompanyEntryDisplays(companyId,
136 start, end, languageId);
137 }
138
139 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getEntries(
140 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
141 throws com.liferay.portal.kernel.exception.SystemException {
142 return _assetEntryLocalService.getEntries(entryQuery);
143 }
144
145 public int getEntriesCount(
146 com.liferay.portlet.asset.service.persistence.AssetEntryQuery entryQuery)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _assetEntryLocalService.getEntriesCount(entryQuery);
149 }
150
151 public com.liferay.portlet.asset.model.AssetEntry getEntry(long entryId)
152 throws com.liferay.portal.kernel.exception.PortalException,
153 com.liferay.portal.kernel.exception.SystemException {
154 return _assetEntryLocalService.getEntry(entryId);
155 }
156
157 public com.liferay.portlet.asset.model.AssetEntry getEntry(
158 java.lang.String className, long classPK)
159 throws com.liferay.portal.kernel.exception.PortalException,
160 com.liferay.portal.kernel.exception.SystemException {
161 return _assetEntryLocalService.getEntry(className, classPK);
162 }
163
164 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
165 java.lang.String className, boolean asc, int start, int end)
166 throws com.liferay.portal.kernel.exception.SystemException {
167 return _assetEntryLocalService.getTopViewedEntries(className, asc,
168 start, end);
169 }
170
171 public java.util.List<com.liferay.portlet.asset.model.AssetEntry> getTopViewedEntries(
172 java.lang.String[] className, boolean asc, int start, int end)
173 throws com.liferay.portal.kernel.exception.SystemException {
174 return _assetEntryLocalService.getTopViewedEntries(className, asc,
175 start, end);
176 }
177
178 public com.liferay.portlet.asset.model.AssetEntry incrementViewCounter(
179 java.lang.String className, long classPK)
180 throws com.liferay.portal.kernel.exception.SystemException {
181 return _assetEntryLocalService.incrementViewCounter(className, classPK);
182 }
183
184 public com.liferay.portal.kernel.search.Hits search(long companyId,
185 java.lang.String portletId, java.lang.String keywords, int start,
186 int end) throws com.liferay.portal.kernel.exception.SystemException {
187 return _assetEntryLocalService.search(companyId, portletId, keywords,
188 start, end);
189 }
190
191 public com.liferay.portlet.asset.model.AssetEntryDisplay[] searchEntryDisplays(
192 long companyId, java.lang.String portletId, java.lang.String keywords,
193 java.lang.String languageId, int start, int end)
194 throws com.liferay.portal.kernel.exception.SystemException {
195 return _assetEntryLocalService.searchEntryDisplays(companyId,
196 portletId, keywords, languageId, start, end);
197 }
198
199 public int searchEntryDisplaysCount(long companyId,
200 java.lang.String portletId, java.lang.String keywords,
201 java.lang.String languageId)
202 throws com.liferay.portal.kernel.exception.SystemException {
203 return _assetEntryLocalService.searchEntryDisplaysCount(companyId,
204 portletId, keywords, languageId);
205 }
206
207 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
208 long groupId, java.lang.String className, long classPK,
209 long[] categoryIds, java.lang.String[] tagNames)
210 throws com.liferay.portal.kernel.exception.PortalException,
211 com.liferay.portal.kernel.exception.SystemException {
212 return _assetEntryLocalService.updateEntry(userId, groupId, className,
213 classPK, categoryIds, tagNames);
214 }
215
216 public com.liferay.portlet.asset.model.AssetEntry updateEntry(long userId,
217 long groupId, java.lang.String className, long classPK,
218 long[] categoryIds, java.lang.String[] tagNames, boolean visible,
219 java.util.Date startDate, java.util.Date endDate,
220 java.util.Date publishDate, java.util.Date expirationDate,
221 java.lang.String mimeType, java.lang.String title,
222 java.lang.String description, java.lang.String summary,
223 java.lang.String url, int height, int width,
224 java.lang.Integer priority, boolean sync)
225 throws com.liferay.portal.kernel.exception.PortalException,
226 com.liferay.portal.kernel.exception.SystemException {
227 return _assetEntryLocalService.updateEntry(userId, groupId, className,
228 classPK, categoryIds, tagNames, visible, startDate, endDate,
229 publishDate, expirationDate, mimeType, title, description, summary,
230 url, height, width, priority, sync);
231 }
232
233 public com.liferay.portlet.asset.model.AssetEntry updateVisible(
234 java.lang.String className, long classPK, boolean visible)
235 throws com.liferay.portal.kernel.exception.PortalException,
236 com.liferay.portal.kernel.exception.SystemException {
237 return _assetEntryLocalService.updateVisible(className, classPK, visible);
238 }
239
240 public void validate(java.lang.String className, long[] categoryIds,
241 java.lang.String[] tagNames)
242 throws com.liferay.portal.kernel.exception.PortalException {
243 _assetEntryLocalService.validate(className, categoryIds, tagNames);
244 }
245
246 public AssetEntryLocalService getWrappedAssetEntryLocalService() {
247 return _assetEntryLocalService;
248 }
249
250 private AssetEntryLocalService _assetEntryLocalService;
251 }