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