1
22
23 package com.liferay.portlet.tags.service;
24
25
26
46 public class TagsEntryLocalServiceUtil {
47 public static com.liferay.portlet.tags.model.TagsEntry addTagsEntry(
48 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
49 throws com.liferay.portal.SystemException {
50 return getService().addTagsEntry(tagsEntry);
51 }
52
53 public static com.liferay.portlet.tags.model.TagsEntry createTagsEntry(
54 long entryId) {
55 return getService().createTagsEntry(entryId);
56 }
57
58 public static void deleteTagsEntry(long entryId)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 getService().deleteTagsEntry(entryId);
62 }
63
64 public static void deleteTagsEntry(
65 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
66 throws com.liferay.portal.SystemException {
67 getService().deleteTagsEntry(tagsEntry);
68 }
69
70 public static java.util.List<Object> dynamicQuery(
71 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
72 throws com.liferay.portal.SystemException {
73 return getService().dynamicQuery(dynamicQuery);
74 }
75
76 public static java.util.List<Object> dynamicQuery(
77 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78 int end) throws com.liferay.portal.SystemException {
79 return getService().dynamicQuery(dynamicQuery, start, end);
80 }
81
82 public static com.liferay.portlet.tags.model.TagsEntry getTagsEntry(
83 long entryId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return getService().getTagsEntry(entryId);
87 }
88
89 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getTagsEntries(
90 int start, int end) throws com.liferay.portal.SystemException {
91 return getService().getTagsEntries(start, end);
92 }
93
94 public static int getTagsEntriesCount()
95 throws com.liferay.portal.SystemException {
96 return getService().getTagsEntriesCount();
97 }
98
99 public static com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
100 com.liferay.portlet.tags.model.TagsEntry tagsEntry)
101 throws com.liferay.portal.SystemException {
102 return getService().updateTagsEntry(tagsEntry);
103 }
104
105 public static com.liferay.portlet.tags.model.TagsEntry updateTagsEntry(
106 com.liferay.portlet.tags.model.TagsEntry tagsEntry, boolean merge)
107 throws com.liferay.portal.SystemException {
108 return getService().updateTagsEntry(tagsEntry, merge);
109 }
110
111 public static com.liferay.portlet.tags.model.TagsEntry addEntry(
112 long userId, java.lang.String name)
113 throws com.liferay.portal.PortalException,
114 com.liferay.portal.SystemException {
115 return getService().addEntry(userId, name);
116 }
117
118 public static com.liferay.portlet.tags.model.TagsEntry addEntry(
119 long userId, java.lang.String name, java.lang.String[] properties)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return getService().addEntry(userId, name, properties);
123 }
124
125 public static void checkEntries(long userId, java.lang.String[] names)
126 throws com.liferay.portal.PortalException,
127 com.liferay.portal.SystemException {
128 getService().checkEntries(userId, names);
129 }
130
131 public static void deleteEntry(long entryId)
132 throws com.liferay.portal.PortalException,
133 com.liferay.portal.SystemException {
134 getService().deleteEntry(entryId);
135 }
136
137 public static void deleteEntry(
138 com.liferay.portlet.tags.model.TagsEntry entry)
139 throws com.liferay.portal.PortalException,
140 com.liferay.portal.SystemException {
141 getService().deleteEntry(entry);
142 }
143
144 public static boolean hasEntry(long companyId, java.lang.String name)
145 throws com.liferay.portal.SystemException {
146 return getService().hasEntry(companyId, name);
147 }
148
149 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(
150 long assetId) throws com.liferay.portal.SystemException {
151 return getService().getAssetEntries(assetId);
152 }
153
154 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
155 throws com.liferay.portal.SystemException {
156 return getService().getEntries();
157 }
158
159 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
160 java.lang.String className, long classPK)
161 throws com.liferay.portal.SystemException {
162 return getService().getEntries(className, classPK);
163 }
164
165 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
166 long classNameId, long classPK)
167 throws com.liferay.portal.SystemException {
168 return getService().getEntries(classNameId, classPK);
169 }
170
171 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
172 long groupId, long companyId, long classNameId, java.lang.String name)
173 throws com.liferay.portal.SystemException {
174 return getService().getEntries(groupId, companyId, classNameId, name);
175 }
176
177 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
178 long groupId, long companyId, long classNameId, java.lang.String name,
179 int start, int end) throws com.liferay.portal.SystemException {
180 return getService()
181 .getEntries(groupId, companyId, classNameId, name, start, end);
182 }
183
184 public static int getEntriesSize(long groupId, long companyId,
185 long classNameId, java.lang.String name)
186 throws com.liferay.portal.SystemException {
187 return getService().getEntriesSize(groupId, companyId, classNameId, name);
188 }
189
190 public static com.liferay.portlet.tags.model.TagsEntry getEntry(
191 long entryId)
192 throws com.liferay.portal.PortalException,
193 com.liferay.portal.SystemException {
194 return getService().getEntry(entryId);
195 }
196
197 public static com.liferay.portlet.tags.model.TagsEntry getEntry(
198 long companyId, java.lang.String name)
199 throws com.liferay.portal.PortalException,
200 com.liferay.portal.SystemException {
201 return getService().getEntry(companyId, name);
202 }
203
204 public static long[] getEntryIds(long companyId, java.lang.String[] names)
205 throws com.liferay.portal.SystemException {
206 return getService().getEntryIds(companyId, names);
207 }
208
209 public static java.lang.String[] getEntryNames()
210 throws com.liferay.portal.SystemException {
211 return getService().getEntryNames();
212 }
213
214 public static java.lang.String[] getEntryNames(java.lang.String className,
215 long classPK) throws com.liferay.portal.SystemException {
216 return getService().getEntryNames(className, classPK);
217 }
218
219 public static java.lang.String[] getEntryNames(long classNameId,
220 long classPK) throws com.liferay.portal.SystemException {
221 return getService().getEntryNames(classNameId, classPK);
222 }
223
224 public static void mergeEntries(long fromEntryId, long toEntryId)
225 throws com.liferay.portal.PortalException,
226 com.liferay.portal.SystemException {
227 getService().mergeEntries(fromEntryId, toEntryId);
228 }
229
230 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
231 long companyId, java.lang.String name, java.lang.String[] properties)
232 throws com.liferay.portal.SystemException {
233 return getService().search(companyId, name, properties);
234 }
235
236 public static java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
237 long companyId, java.lang.String name, java.lang.String[] properties,
238 int start, int end) throws com.liferay.portal.SystemException {
239 return getService().search(companyId, name, properties, start, end);
240 }
241
242 public static com.liferay.portal.kernel.json.JSONArray searchAutocomplete(
243 long companyId, java.lang.String name, java.lang.String[] properties,
244 int start, int end) throws com.liferay.portal.SystemException {
245 return getService()
246 .searchAutocomplete(companyId, name, properties, start, end);
247 }
248
249 public static int searchCount(long companyId, java.lang.String name,
250 java.lang.String[] properties)
251 throws com.liferay.portal.SystemException {
252 return getService().searchCount(companyId, name, properties);
253 }
254
255 public static com.liferay.portlet.tags.model.TagsEntry updateEntry(
256 long entryId, java.lang.String name)
257 throws com.liferay.portal.PortalException,
258 com.liferay.portal.SystemException {
259 return getService().updateEntry(entryId, name);
260 }
261
262 public static com.liferay.portlet.tags.model.TagsEntry updateEntry(
263 long userId, long entryId, java.lang.String name,
264 java.lang.String[] properties)
265 throws com.liferay.portal.PortalException,
266 com.liferay.portal.SystemException {
267 return getService().updateEntry(userId, entryId, name, properties);
268 }
269
270 public static TagsEntryLocalService getService() {
271 if (_service == null) {
272 throw new RuntimeException("TagsEntryLocalService is not set");
273 }
274
275 return _service;
276 }
277
278 public void setService(TagsEntryLocalService service) {
279 _service = service;
280 }
281
282 private static TagsEntryLocalService _service;
283 }