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