1
22
23 package com.liferay.portlet.tags.service.persistence;
24
25
31 public class TagsVocabularyUtil {
32 public static void cacheResult(
33 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary) {
34 getPersistence().cacheResult(tagsVocabulary);
35 }
36
37 public static void cacheResult(
38 java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> tagsVocabularies) {
39 getPersistence().cacheResult(tagsVocabularies);
40 }
41
42 public static void clearCache() {
43 getPersistence().clearCache();
44 }
45
46 public static com.liferay.portlet.tags.model.TagsVocabulary create(
47 long vocabularyId) {
48 return getPersistence().create(vocabularyId);
49 }
50
51 public static com.liferay.portlet.tags.model.TagsVocabulary remove(
52 long vocabularyId)
53 throws com.liferay.portal.SystemException,
54 com.liferay.portlet.tags.NoSuchVocabularyException {
55 return getPersistence().remove(vocabularyId);
56 }
57
58 public static com.liferay.portlet.tags.model.TagsVocabulary remove(
59 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
60 throws com.liferay.portal.SystemException {
61 return getPersistence().remove(tagsVocabulary);
62 }
63
64
67 public static com.liferay.portlet.tags.model.TagsVocabulary update(
68 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary)
69 throws com.liferay.portal.SystemException {
70 return getPersistence().update(tagsVocabulary);
71 }
72
73
86 public static com.liferay.portlet.tags.model.TagsVocabulary update(
87 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary,
88 boolean merge) throws com.liferay.portal.SystemException {
89 return getPersistence().update(tagsVocabulary, merge);
90 }
91
92 public static com.liferay.portlet.tags.model.TagsVocabulary updateImpl(
93 com.liferay.portlet.tags.model.TagsVocabulary tagsVocabulary,
94 boolean merge) throws com.liferay.portal.SystemException {
95 return getPersistence().updateImpl(tagsVocabulary, merge);
96 }
97
98 public static com.liferay.portlet.tags.model.TagsVocabulary findByPrimaryKey(
99 long vocabularyId)
100 throws com.liferay.portal.SystemException,
101 com.liferay.portlet.tags.NoSuchVocabularyException {
102 return getPersistence().findByPrimaryKey(vocabularyId);
103 }
104
105 public static com.liferay.portlet.tags.model.TagsVocabulary fetchByPrimaryKey(
106 long vocabularyId) throws com.liferay.portal.SystemException {
107 return getPersistence().fetchByPrimaryKey(vocabularyId);
108 }
109
110 public static com.liferay.portlet.tags.model.TagsVocabulary findByG_N(
111 long groupId, java.lang.String name)
112 throws com.liferay.portal.SystemException,
113 com.liferay.portlet.tags.NoSuchVocabularyException {
114 return getPersistence().findByG_N(groupId, name);
115 }
116
117 public static com.liferay.portlet.tags.model.TagsVocabulary fetchByG_N(
118 long groupId, java.lang.String name)
119 throws com.liferay.portal.SystemException {
120 return getPersistence().fetchByG_N(groupId, name);
121 }
122
123 public static com.liferay.portlet.tags.model.TagsVocabulary fetchByG_N(
124 long groupId, java.lang.String name, boolean retrieveFromCache)
125 throws com.liferay.portal.SystemException {
126 return getPersistence().fetchByG_N(groupId, name, retrieveFromCache);
127 }
128
129 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
130 long groupId, boolean folksonomy)
131 throws com.liferay.portal.SystemException {
132 return getPersistence().findByG_F(groupId, folksonomy);
133 }
134
135 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
136 long groupId, boolean folksonomy, int start, int end)
137 throws com.liferay.portal.SystemException {
138 return getPersistence().findByG_F(groupId, folksonomy, start, end);
139 }
140
141 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByG_F(
142 long groupId, boolean folksonomy, int start, int end,
143 com.liferay.portal.kernel.util.OrderByComparator obc)
144 throws com.liferay.portal.SystemException {
145 return getPersistence().findByG_F(groupId, folksonomy, start, end, obc);
146 }
147
148 public static com.liferay.portlet.tags.model.TagsVocabulary findByG_F_First(
149 long groupId, boolean folksonomy,
150 com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.tags.NoSuchVocabularyException {
153 return getPersistence().findByG_F_First(groupId, folksonomy, obc);
154 }
155
156 public static com.liferay.portlet.tags.model.TagsVocabulary findByG_F_Last(
157 long groupId, boolean folksonomy,
158 com.liferay.portal.kernel.util.OrderByComparator obc)
159 throws com.liferay.portal.SystemException,
160 com.liferay.portlet.tags.NoSuchVocabularyException {
161 return getPersistence().findByG_F_Last(groupId, folksonomy, obc);
162 }
163
164 public static com.liferay.portlet.tags.model.TagsVocabulary[] findByG_F_PrevAndNext(
165 long vocabularyId, long groupId, boolean folksonomy,
166 com.liferay.portal.kernel.util.OrderByComparator obc)
167 throws com.liferay.portal.SystemException,
168 com.liferay.portlet.tags.NoSuchVocabularyException {
169 return getPersistence()
170 .findByG_F_PrevAndNext(vocabularyId, groupId, folksonomy, obc);
171 }
172
173 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
174 long companyId, boolean folksonomy)
175 throws com.liferay.portal.SystemException {
176 return getPersistence().findByC_F(companyId, folksonomy);
177 }
178
179 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
180 long companyId, boolean folksonomy, int start, int end)
181 throws com.liferay.portal.SystemException {
182 return getPersistence().findByC_F(companyId, folksonomy, start, end);
183 }
184
185 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findByC_F(
186 long companyId, boolean folksonomy, int start, int end,
187 com.liferay.portal.kernel.util.OrderByComparator obc)
188 throws com.liferay.portal.SystemException {
189 return getPersistence().findByC_F(companyId, folksonomy, start, end, obc);
190 }
191
192 public static com.liferay.portlet.tags.model.TagsVocabulary findByC_F_First(
193 long companyId, boolean folksonomy,
194 com.liferay.portal.kernel.util.OrderByComparator obc)
195 throws com.liferay.portal.SystemException,
196 com.liferay.portlet.tags.NoSuchVocabularyException {
197 return getPersistence().findByC_F_First(companyId, folksonomy, obc);
198 }
199
200 public static com.liferay.portlet.tags.model.TagsVocabulary findByC_F_Last(
201 long companyId, boolean folksonomy,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException,
204 com.liferay.portlet.tags.NoSuchVocabularyException {
205 return getPersistence().findByC_F_Last(companyId, folksonomy, obc);
206 }
207
208 public static com.liferay.portlet.tags.model.TagsVocabulary[] findByC_F_PrevAndNext(
209 long vocabularyId, long companyId, boolean folksonomy,
210 com.liferay.portal.kernel.util.OrderByComparator obc)
211 throws com.liferay.portal.SystemException,
212 com.liferay.portlet.tags.NoSuchVocabularyException {
213 return getPersistence()
214 .findByC_F_PrevAndNext(vocabularyId, companyId, folksonomy,
215 obc);
216 }
217
218 public static java.util.List<Object> findWithDynamicQuery(
219 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
220 throws com.liferay.portal.SystemException {
221 return getPersistence().findWithDynamicQuery(dynamicQuery);
222 }
223
224 public static java.util.List<Object> findWithDynamicQuery(
225 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
226 int end) throws com.liferay.portal.SystemException {
227 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
228 }
229
230 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll()
231 throws com.liferay.portal.SystemException {
232 return getPersistence().findAll();
233 }
234
235 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll(
236 int start, int end) throws com.liferay.portal.SystemException {
237 return getPersistence().findAll(start, end);
238 }
239
240 public static java.util.List<com.liferay.portlet.tags.model.TagsVocabulary> findAll(
241 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
242 throws com.liferay.portal.SystemException {
243 return getPersistence().findAll(start, end, obc);
244 }
245
246 public static void removeByG_N(long groupId, java.lang.String name)
247 throws com.liferay.portal.SystemException,
248 com.liferay.portlet.tags.NoSuchVocabularyException {
249 getPersistence().removeByG_N(groupId, name);
250 }
251
252 public static void removeByG_F(long groupId, boolean folksonomy)
253 throws com.liferay.portal.SystemException {
254 getPersistence().removeByG_F(groupId, folksonomy);
255 }
256
257 public static void removeByC_F(long companyId, boolean folksonomy)
258 throws com.liferay.portal.SystemException {
259 getPersistence().removeByC_F(companyId, folksonomy);
260 }
261
262 public static void removeAll() throws com.liferay.portal.SystemException {
263 getPersistence().removeAll();
264 }
265
266 public static int countByG_N(long groupId, java.lang.String name)
267 throws com.liferay.portal.SystemException {
268 return getPersistence().countByG_N(groupId, name);
269 }
270
271 public static int countByG_F(long groupId, boolean folksonomy)
272 throws com.liferay.portal.SystemException {
273 return getPersistence().countByG_F(groupId, folksonomy);
274 }
275
276 public static int countByC_F(long companyId, boolean folksonomy)
277 throws com.liferay.portal.SystemException {
278 return getPersistence().countByC_F(companyId, folksonomy);
279 }
280
281 public static int countAll() throws com.liferay.portal.SystemException {
282 return getPersistence().countAll();
283 }
284
285 public static TagsVocabularyPersistence getPersistence() {
286 return _persistence;
287 }
288
289 public void setPersistence(TagsVocabularyPersistence persistence) {
290 _persistence = persistence;
291 }
292
293 private static TagsVocabularyPersistence _persistence;
294 }