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