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