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