1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25
26
39 public class TagsEntryUtil {
40 public static void cacheResult(
41 com.liferay.portlet.tags.model.TagsEntry tagsEntry) {
42 getPersistence().cacheResult(tagsEntry);
43 }
44
45 public static void cacheResult(
46 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries) {
47 getPersistence().cacheResult(tagsEntries);
48 }
49
50 public static void clearCache() {
51 getPersistence().clearCache();
52 }
53
54 public static com.liferay.portlet.tags.model.TagsEntry create(long entryId) {
55 return getPersistence().create(entryId);
56 }
57
58 public static com.liferay.portlet.tags.model.TagsEntry remove(long entryId)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portlet.tags.NoSuchEntryException {
61 return getPersistence().remove(entryId);
62 }
63
64 public static com.liferay.portlet.tags.model.TagsEntry remove(
65 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
66 throws com.liferay.portal.SystemException {
67 return getPersistence().remove(tagsEntry);
68 }
69
70
73 public static com.liferay.portlet.tags.model.TagsEntry update(
74 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
75 throws com.liferay.portal.SystemException {
76 return getPersistence().update(tagsEntry);
77 }
78
79
91 public static com.liferay.portlet.tags.model.TagsEntry update(
92 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
93 throws com.liferay.portal.SystemException {
94 return getPersistence().update(tagsEntry, merge);
95 }
96
97 public static com.liferay.portlet.tags.model.TagsEntry updateImpl(
98 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
99 throws com.liferay.portal.SystemException {
100 return getPersistence().updateImpl(tagsEntry, merge);
101 }
102
103 public static com.liferay.portlet.tags.model.TagsEntry findByPrimaryKey(
104 long entryId)
105 throws com.liferay.portal.SystemException,
106 com.liferay.portlet.tags.NoSuchEntryException {
107 return getPersistence().findByPrimaryKey(entryId);
108 }
109
110 public static com.liferay.portlet.tags.model.TagsEntry fetchByPrimaryKey(
111 long entryId) throws com.liferay.portal.SystemException {
112 return getPersistence().fetchByPrimaryKey(entryId);
113 }
114
115 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByVocabularyId(
116 long vocabularyId) throws com.liferay.portal.SystemException {
117 return getPersistence().findByVocabularyId(vocabularyId);
118 }
119
120 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByVocabularyId(
121 long vocabularyId, int start, int end)
122 throws com.liferay.portal.SystemException {
123 return getPersistence().findByVocabularyId(vocabularyId, start, end);
124 }
125
126 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByVocabularyId(
127 long vocabularyId, int start, int end,
128 com.liferay.portal.kernel.util.OrderByComparator obc)
129 throws com.liferay.portal.SystemException {
130 return getPersistence().findByVocabularyId(vocabularyId, start, end, obc);
131 }
132
133 public static com.liferay.portlet.tags.model.TagsEntry findByVocabularyId_First(
134 long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
135 throws com.liferay.portal.SystemException,
136 com.liferay.portlet.tags.NoSuchEntryException {
137 return getPersistence().findByVocabularyId_First(vocabularyId, obc);
138 }
139
140 public static com.liferay.portlet.tags.model.TagsEntry findByVocabularyId_Last(
141 long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator obc)
142 throws com.liferay.portal.SystemException,
143 com.liferay.portlet.tags.NoSuchEntryException {
144 return getPersistence().findByVocabularyId_Last(vocabularyId, obc);
145 }
146
147 public static com.liferay.portlet.tags.model.TagsEntry[] findByVocabularyId_PrevAndNext(
148 long entryId, long vocabularyId,
149 com.liferay.portal.kernel.util.OrderByComparator obc)
150 throws com.liferay.portal.SystemException,
151 com.liferay.portlet.tags.NoSuchEntryException {
152 return getPersistence()
153 .findByVocabularyId_PrevAndNext(entryId, vocabularyId, obc);
154 }
155
156 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByP_V(
157 long parentEntryId, long vocabularyId)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().findByP_V(parentEntryId, vocabularyId);
160 }
161
162 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByP_V(
163 long parentEntryId, long vocabularyId, int start, int end)
164 throws com.liferay.portal.SystemException {
165 return getPersistence()
166 .findByP_V(parentEntryId, vocabularyId, start, end);
167 }
168
169 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findByP_V(
170 long parentEntryId, long vocabularyId, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator obc)
172 throws com.liferay.portal.SystemException {
173 return getPersistence()
174 .findByP_V(parentEntryId, vocabularyId, start, end, obc);
175 }
176
177 public static com.liferay.portlet.tags.model.TagsEntry findByP_V_First(
178 long parentEntryId, long vocabularyId,
179 com.liferay.portal.kernel.util.OrderByComparator obc)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portlet.tags.NoSuchEntryException {
182 return getPersistence().findByP_V_First(parentEntryId, vocabularyId, obc);
183 }
184
185 public static com.liferay.portlet.tags.model.TagsEntry findByP_V_Last(
186 long parentEntryId, long vocabularyId,
187 com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException,
189 com.liferay.portlet.tags.NoSuchEntryException {
190 return getPersistence().findByP_V_Last(parentEntryId, vocabularyId, obc);
191 }
192
193 public static com.liferay.portlet.tags.model.TagsEntry[] findByP_V_PrevAndNext(
194 long entryId, long parentEntryId, long vocabularyId,
195 com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.SystemException,
197 com.liferay.portlet.tags.NoSuchEntryException {
198 return getPersistence()
199 .findByP_V_PrevAndNext(entryId, parentEntryId, vocabularyId,
200 obc);
201 }
202
203 public static java.util.List<Object> findWithDynamicQuery(
204 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
205 throws com.liferay.portal.SystemException {
206 return getPersistence().findWithDynamicQuery(dynamicQuery);
207 }
208
209 public static java.util.List<Object> findWithDynamicQuery(
210 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
211 int end) throws com.liferay.portal.SystemException {
212 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
213 }
214
215 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll()
216 throws com.liferay.portal.SystemException {
217 return getPersistence().findAll();
218 }
219
220 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
221 int start, int end) throws com.liferay.portal.SystemException {
222 return getPersistence().findAll(start, end);
223 }
224
225 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
226 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
227 throws com.liferay.portal.SystemException {
228 return getPersistence().findAll(start, end, obc);
229 }
230
231 public static void removeByVocabularyId(long vocabularyId)
232 throws com.liferay.portal.SystemException {
233 getPersistence().removeByVocabularyId(vocabularyId);
234 }
235
236 public static void removeByP_V(long parentEntryId, long vocabularyId)
237 throws com.liferay.portal.SystemException {
238 getPersistence().removeByP_V(parentEntryId, vocabularyId);
239 }
240
241 public static void removeAll() throws com.liferay.portal.SystemException {
242 getPersistence().removeAll();
243 }
244
245 public static int countByVocabularyId(long vocabularyId)
246 throws com.liferay.portal.SystemException {
247 return getPersistence().countByVocabularyId(vocabularyId);
248 }
249
250 public static int countByP_V(long parentEntryId, long vocabularyId)
251 throws com.liferay.portal.SystemException {
252 return getPersistence().countByP_V(parentEntryId, vocabularyId);
253 }
254
255 public static int countAll() throws com.liferay.portal.SystemException {
256 return getPersistence().countAll();
257 }
258
259 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
260 long pk) throws com.liferay.portal.SystemException {
261 return getPersistence().getTagsAssets(pk);
262 }
263
264 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
265 long pk, int start, int end) throws com.liferay.portal.SystemException {
266 return getPersistence().getTagsAssets(pk, start, end);
267 }
268
269 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
270 long pk, int start, int end,
271 com.liferay.portal.kernel.util.OrderByComparator obc)
272 throws com.liferay.portal.SystemException {
273 return getPersistence().getTagsAssets(pk, start, end, obc);
274 }
275
276 public static int getTagsAssetsSize(long pk)
277 throws com.liferay.portal.SystemException {
278 return getPersistence().getTagsAssetsSize(pk);
279 }
280
281 public static boolean containsTagsAsset(long pk, long tagsAssetPK)
282 throws com.liferay.portal.SystemException {
283 return getPersistence().containsTagsAsset(pk, tagsAssetPK);
284 }
285
286 public static boolean containsTagsAssets(long pk)
287 throws com.liferay.portal.SystemException {
288 return getPersistence().containsTagsAssets(pk);
289 }
290
291 public static void addTagsAsset(long pk, long tagsAssetPK)
292 throws com.liferay.portal.SystemException {
293 getPersistence().addTagsAsset(pk, tagsAssetPK);
294 }
295
296 public static void addTagsAsset(long pk,
297 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
298 throws com.liferay.portal.SystemException {
299 getPersistence().addTagsAsset(pk, tagsAsset);
300 }
301
302 public static void addTagsAssets(long pk, long[] tagsAssetPKs)
303 throws com.liferay.portal.SystemException {
304 getPersistence().addTagsAssets(pk, tagsAssetPKs);
305 }
306
307 public static void addTagsAssets(long pk,
308 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
309 throws com.liferay.portal.SystemException {
310 getPersistence().addTagsAssets(pk, tagsAssets);
311 }
312
313 public static void clearTagsAssets(long pk)
314 throws com.liferay.portal.SystemException {
315 getPersistence().clearTagsAssets(pk);
316 }
317
318 public static void removeTagsAsset(long pk, long tagsAssetPK)
319 throws com.liferay.portal.SystemException {
320 getPersistence().removeTagsAsset(pk, tagsAssetPK);
321 }
322
323 public static void removeTagsAsset(long pk,
324 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
325 throws com.liferay.portal.SystemException {
326 getPersistence().removeTagsAsset(pk, tagsAsset);
327 }
328
329 public static void removeTagsAssets(long pk, long[] tagsAssetPKs)
330 throws com.liferay.portal.SystemException {
331 getPersistence().removeTagsAssets(pk, tagsAssetPKs);
332 }
333
334 public static void removeTagsAssets(long pk,
335 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
336 throws com.liferay.portal.SystemException {
337 getPersistence().removeTagsAssets(pk, tagsAssets);
338 }
339
340 public static void setTagsAssets(long pk, long[] tagsAssetPKs)
341 throws com.liferay.portal.SystemException {
342 getPersistence().setTagsAssets(pk, tagsAssetPKs);
343 }
344
345 public static void setTagsAssets(long pk,
346 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
347 throws com.liferay.portal.SystemException {
348 getPersistence().setTagsAssets(pk, tagsAssets);
349 }
350
351 public static TagsEntryPersistence getPersistence() {
352 return _persistence;
353 }
354
355 public void setPersistence(TagsEntryPersistence persistence) {
356 _persistence = persistence;
357 }
358
359 private static TagsEntryPersistence _persistence;
360 }