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 com.liferay.portlet.tags.model.TagsEntry findByC_N(
116 long companyId, java.lang.String name)
117 throws com.liferay.portal.SystemException,
118 com.liferay.portlet.tags.NoSuchEntryException {
119 return getPersistence().findByC_N(companyId, name);
120 }
121
122 public static com.liferay.portlet.tags.model.TagsEntry fetchByC_N(
123 long companyId, java.lang.String name)
124 throws com.liferay.portal.SystemException {
125 return getPersistence().fetchByC_N(companyId, name);
126 }
127
128 public static com.liferay.portlet.tags.model.TagsEntry fetchByC_N(
129 long companyId, java.lang.String name, boolean retrieveFromCache)
130 throws com.liferay.portal.SystemException {
131 return getPersistence().fetchByC_N(companyId, name, retrieveFromCache);
132 }
133
134 public static java.util.List<Object> findWithDynamicQuery(
135 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
136 throws com.liferay.portal.SystemException {
137 return getPersistence().findWithDynamicQuery(dynamicQuery);
138 }
139
140 public static java.util.List<Object> findWithDynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end) throws com.liferay.portal.SystemException {
143 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
144 }
145
146 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll()
147 throws com.liferay.portal.SystemException {
148 return getPersistence().findAll();
149 }
150
151 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
152 int start, int end) throws com.liferay.portal.SystemException {
153 return getPersistence().findAll(start, end);
154 }
155
156 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> findAll(
157 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
158 throws com.liferay.portal.SystemException {
159 return getPersistence().findAll(start, end, obc);
160 }
161
162 public static void removeByC_N(long companyId, java.lang.String name)
163 throws com.liferay.portal.SystemException,
164 com.liferay.portlet.tags.NoSuchEntryException {
165 getPersistence().removeByC_N(companyId, name);
166 }
167
168 public static void removeAll() throws com.liferay.portal.SystemException {
169 getPersistence().removeAll();
170 }
171
172 public static int countByC_N(long companyId, java.lang.String name)
173 throws com.liferay.portal.SystemException {
174 return getPersistence().countByC_N(companyId, name);
175 }
176
177 public static int countAll() throws com.liferay.portal.SystemException {
178 return getPersistence().countAll();
179 }
180
181 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
182 long pk) throws com.liferay.portal.SystemException {
183 return getPersistence().getTagsAssets(pk);
184 }
185
186 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
187 long pk, int start, int end) throws com.liferay.portal.SystemException {
188 return getPersistence().getTagsAssets(pk, start, end);
189 }
190
191 public static java.util.List<com.liferay.portlet.tags.model.TagsAsset> getTagsAssets(
192 long pk, int start, int end,
193 com.liferay.portal.kernel.util.OrderByComparator obc)
194 throws com.liferay.portal.SystemException {
195 return getPersistence().getTagsAssets(pk, start, end, obc);
196 }
197
198 public static int getTagsAssetsSize(long pk)
199 throws com.liferay.portal.SystemException {
200 return getPersistence().getTagsAssetsSize(pk);
201 }
202
203 public static boolean containsTagsAsset(long pk, long tagsAssetPK)
204 throws com.liferay.portal.SystemException {
205 return getPersistence().containsTagsAsset(pk, tagsAssetPK);
206 }
207
208 public static boolean containsTagsAssets(long pk)
209 throws com.liferay.portal.SystemException {
210 return getPersistence().containsTagsAssets(pk);
211 }
212
213 public static void addTagsAsset(long pk, long tagsAssetPK)
214 throws com.liferay.portal.SystemException {
215 getPersistence().addTagsAsset(pk, tagsAssetPK);
216 }
217
218 public static void addTagsAsset(long pk,
219 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
220 throws com.liferay.portal.SystemException {
221 getPersistence().addTagsAsset(pk, tagsAsset);
222 }
223
224 public static void addTagsAssets(long pk, long[] tagsAssetPKs)
225 throws com.liferay.portal.SystemException {
226 getPersistence().addTagsAssets(pk, tagsAssetPKs);
227 }
228
229 public static void addTagsAssets(long pk,
230 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
231 throws com.liferay.portal.SystemException {
232 getPersistence().addTagsAssets(pk, tagsAssets);
233 }
234
235 public static void clearTagsAssets(long pk)
236 throws com.liferay.portal.SystemException {
237 getPersistence().clearTagsAssets(pk);
238 }
239
240 public static void removeTagsAsset(long pk, long tagsAssetPK)
241 throws com.liferay.portal.SystemException {
242 getPersistence().removeTagsAsset(pk, tagsAssetPK);
243 }
244
245 public static void removeTagsAsset(long pk,
246 com.liferay.portlet.tags.model.TagsAsset tagsAsset)
247 throws com.liferay.portal.SystemException {
248 getPersistence().removeTagsAsset(pk, tagsAsset);
249 }
250
251 public static void removeTagsAssets(long pk, long[] tagsAssetPKs)
252 throws com.liferay.portal.SystemException {
253 getPersistence().removeTagsAssets(pk, tagsAssetPKs);
254 }
255
256 public static void removeTagsAssets(long pk,
257 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
258 throws com.liferay.portal.SystemException {
259 getPersistence().removeTagsAssets(pk, tagsAssets);
260 }
261
262 public static void setTagsAssets(long pk, long[] tagsAssetPKs)
263 throws com.liferay.portal.SystemException {
264 getPersistence().setTagsAssets(pk, tagsAssetPKs);
265 }
266
267 public static void setTagsAssets(long pk,
268 java.util.List<com.liferay.portlet.tags.model.TagsAsset> tagsAssets)
269 throws com.liferay.portal.SystemException {
270 getPersistence().setTagsAssets(pk, tagsAssets);
271 }
272
273 public static TagsEntryPersistence getPersistence() {
274 return _persistence;
275 }
276
277 public void setPersistence(TagsEntryPersistence persistence) {
278 _persistence = persistence;
279 }
280
281 private static TagsEntryPersistence _persistence;
282 }