1
19
20 package com.liferay.portlet.tags.service.persistence;
21
22
28 public class TagsAssetUtil {
29 public static com.liferay.portlet.tags.model.TagsAsset create(long assetId) {
30 return getPersistence().create(assetId);
31 }
32
33 public static com.liferay.portlet.tags.model.TagsAsset remove(long assetId)
34 throws com.liferay.portal.SystemException,
35 com.liferay.portlet.tags.NoSuchAssetException {
36 return getPersistence().remove(assetId);
37 }
38
39 public static com.liferay.portlet.tags.model.TagsAsset remove(
40 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
41 throws com.liferay.portal.SystemException {
42 return getPersistence().remove(tagsAsset);
43 }
44
45
48 public static com.liferay.portlet.tags.model.TagsAsset update(
49 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
50 throws com.liferay.portal.SystemException {
51 return getPersistence().update(tagsAsset);
52 }
53
54
67 public static com.liferay.portlet.tags.model.TagsAsset update(
68 com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(tagsAsset, merge);
71 }
72
73 public static com.liferay.portlet.tags.model.TagsAsset updateImpl(
74 com.liferay.portlet.tags.model.TagsAsset tagsAsset, boolean merge)
75 throws com.liferay.portal.SystemException {
76 return getPersistence().updateImpl(tagsAsset, merge);
77 }
78
79 public static com.liferay.portlet.tags.model.TagsAsset findByPrimaryKey(
80 long assetId)
81 throws com.liferay.portal.SystemException,
82 com.liferay.portlet.tags.NoSuchAssetException {
83 return getPersistence().findByPrimaryKey(assetId);
84 }
85
86 public static com.liferay.portlet.tags.model.TagsAsset fetchByPrimaryKey(
87 long assetId) throws com.liferay.portal.SystemException {
88 return getPersistence().fetchByPrimaryKey(assetId);
89 }
90
91 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByCompanyId(
92 long companyId) throws com.liferay.portal.SystemException {
93 return getPersistence().findByCompanyId(companyId);
94 }
95
96 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByCompanyId(
97 long companyId, int start, int end)
98 throws com.liferay.portal.SystemException {
99 return getPersistence().findByCompanyId(companyId, start, end);
100 }
101
102 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findByCompanyId(
103 long companyId, int start, int end,
104 com.liferay.portal.kernel.util.OrderByComparator obc)
105 throws com.liferay.portal.SystemException {
106 return getPersistence().findByCompanyId(companyId, start, end, obc);
107 }
108
109 public static com.liferay.portlet.tags.model.TagsAsset findByCompanyId_First(
110 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.tags.NoSuchAssetException {
113 return getPersistence().findByCompanyId_First(companyId, obc);
114 }
115
116 public static com.liferay.portlet.tags.model.TagsAsset findByCompanyId_Last(
117 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
118 throws com.liferay.portal.SystemException,
119 com.liferay.portlet.tags.NoSuchAssetException {
120 return getPersistence().findByCompanyId_Last(companyId, obc);
121 }
122
123 public static com.liferay.portlet.tags.model.TagsAsset[] findByCompanyId_PrevAndNext(
124 long assetId, long companyId,
125 com.liferay.portal.kernel.util.OrderByComparator obc)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.tags.NoSuchAssetException {
128 return getPersistence()
129 .findByCompanyId_PrevAndNext(assetId, companyId, obc);
130 }
131
132 public static com.liferay.portlet.tags.model.TagsAsset findByC_C(
133 long classNameId, long classPK)
134 throws com.liferay.portal.SystemException,
135 com.liferay.portlet.tags.NoSuchAssetException {
136 return getPersistence().findByC_C(classNameId, classPK);
137 }
138
139 public static com.liferay.portlet.tags.model.TagsAsset fetchByC_C(
140 long classNameId, long classPK)
141 throws com.liferay.portal.SystemException {
142 return getPersistence().fetchByC_C(classNameId, classPK);
143 }
144
145 public static java.util.List<Object> findWithDynamicQuery(
146 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
147 throws com.liferay.portal.SystemException {
148 return getPersistence().findWithDynamicQuery(dynamicQuery);
149 }
150
151 public static java.util.List<Object> findWithDynamicQuery(
152 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
153 int end) throws com.liferay.portal.SystemException {
154 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
155 }
156
157 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAll()
158 throws com.liferay.portal.SystemException {
159 return getPersistence().findAll();
160 }
161
162 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAll(
163 int start, int end) throws com.liferay.portal.SystemException {
164 return getPersistence().findAll(start, end);
165 }
166
167 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> findAll(
168 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
169 throws com.liferay.portal.SystemException {
170 return getPersistence().findAll(start, end, obc);
171 }
172
173 public static void removeByCompanyId(long companyId)
174 throws com.liferay.portal.SystemException {
175 getPersistence().removeByCompanyId(companyId);
176 }
177
178 public static void removeByC_C(long classNameId, long classPK)
179 throws com.liferay.portal.SystemException,
180 com.liferay.portlet.tags.NoSuchAssetException {
181 getPersistence().removeByC_C(classNameId, classPK);
182 }
183
184 public static void removeAll() throws com.liferay.portal.SystemException {
185 getPersistence().removeAll();
186 }
187
188 public static int countByCompanyId(long companyId)
189 throws com.liferay.portal.SystemException {
190 return getPersistence().countByCompanyId(companyId);
191 }
192
193 public static int countByC_C(long classNameId, long classPK)
194 throws com.liferay.portal.SystemException {
195 return getPersistence().countByC_C(classNameId, classPK);
196 }
197
198 public static int countAll() throws com.liferay.portal.SystemException {
199 return getPersistence().countAll();
200 }
201
202 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
203 long pk) throws com.liferay.portal.SystemException {
204 return getPersistence().getTagsEntries(pk);
205 }
206
207 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
208 long pk, int start, int end) throws com.liferay.portal.SystemException {
209 return getPersistence().getTagsEntries(pk, start, end);
210 }
211
212 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
213 long pk, int start, int end,
214 com.liferay.portal.kernel.util.OrderByComparator obc)
215 throws com.liferay.portal.SystemException {
216 return getPersistence().getTagsEntries(pk, start, end, obc);
217 }
218
219 public static int getTagsEntriesSize(long pk)
220 throws com.liferay.portal.SystemException {
221 return getPersistence().getTagsEntriesSize(pk);
222 }
223
224 public static boolean containsTagsEntry(long pk, long tagsEntryPK)
225 throws com.liferay.portal.SystemException {
226 return getPersistence().containsTagsEntry(pk, tagsEntryPK);
227 }
228
229 public static boolean containsTagsEntries(long pk)
230 throws com.liferay.portal.SystemException {
231 return getPersistence().containsTagsEntries(pk);
232 }
233
234 public static void addTagsEntry(long pk, long tagsEntryPK)
235 throws com.liferay.portal.SystemException {
236 getPersistence().addTagsEntry(pk, tagsEntryPK);
237 }
238
239 public static void addTagsEntry(long pk,
240 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
241 throws com.liferay.portal.SystemException {
242 getPersistence().addTagsEntry(pk, tagsEntry);
243 }
244
245 public static void addTagsEntries(long pk, long[] tagsEntryPKs)
246 throws com.liferay.portal.SystemException {
247 getPersistence().addTagsEntries(pk, tagsEntryPKs);
248 }
249
250 public static void addTagsEntries(long pk,
251 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries)
252 throws com.liferay.portal.SystemException {
253 getPersistence().addTagsEntries(pk, tagsEntries);
254 }
255
256 public static void clearTagsEntries(long pk)
257 throws com.liferay.portal.SystemException {
258 getPersistence().clearTagsEntries(pk);
259 }
260
261 public static void removeTagsEntry(long pk, long tagsEntryPK)
262 throws com.liferay.portal.SystemException {
263 getPersistence().removeTagsEntry(pk, tagsEntryPK);
264 }
265
266 public static void removeTagsEntry(long pk,
267 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
268 throws com.liferay.portal.SystemException {
269 getPersistence().removeTagsEntry(pk, tagsEntry);
270 }
271
272 public static void removeTagsEntries(long pk, long[] tagsEntryPKs)
273 throws com.liferay.portal.SystemException {
274 getPersistence().removeTagsEntries(pk, tagsEntryPKs);
275 }
276
277 public static void removeTagsEntries(long pk,
278 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries)
279 throws com.liferay.portal.SystemException {
280 getPersistence().removeTagsEntries(pk, tagsEntries);
281 }
282
283 public static void setTagsEntries(long pk, long[] tagsEntryPKs)
284 throws com.liferay.portal.SystemException {
285 getPersistence().setTagsEntries(pk, tagsEntryPKs);
286 }
287
288 public static void setTagsEntries(long pk,
289 java.util.List<com.liferay.portlet.tags.model.TagsEntry> tagsEntries)
290 throws com.liferay.portal.SystemException {
291 getPersistence().setTagsEntries(pk, tagsEntries);
292 }
293
294 public static TagsAssetPersistence getPersistence() {
295 return _persistence;
296 }
297
298 public void setPersistence(TagsAssetPersistence persistence) {
299 _persistence = persistence;
300 }
301
302 private static TagsAssetPersistence _persistence;
303 }