1
22
23 package com.liferay.portlet.blogs.service;
24
25
26
47 public class BlogsEntryLocalServiceUtil {
48 public static com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
49 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
50 throws com.liferay.portal.SystemException {
51 return _service.addBlogsEntry(blogsEntry);
52 }
53
54 public static void deleteBlogsEntry(long entryId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteBlogsEntry(entryId);
58 }
59
60 public static void deleteBlogsEntry(
61 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
62 throws com.liferay.portal.SystemException {
63 _service.deleteBlogsEntry(blogsEntry);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
79 long entryId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getBlogsEntry(entryId);
83 }
84
85 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getBlogsEntries(start, end);
88 }
89
90 public static int getBlogsEntriesCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getBlogsEntriesCount();
93 }
94
95 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
96 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
97 throws com.liferay.portal.SystemException {
98 return _service.updateBlogsEntry(blogsEntry);
99 }
100
101 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
102 long userId, long plid, java.lang.String title,
103 java.lang.String content, int displayDateMonth, int displayDateDay,
104 int displayDateYear, int displayDateHour, int displayDateMinute,
105 boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
106 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
107 boolean addGuestPermissions,
108 com.liferay.portal.theme.ThemeDisplay themeDisplay)
109 throws com.liferay.portal.PortalException,
110 com.liferay.portal.SystemException {
111 return _service.addEntry(userId, plid, title, content,
112 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
113 displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
114 addCommunityPermissions, addGuestPermissions, themeDisplay);
115 }
116
117 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
118 java.lang.String uuid, long userId, long plid, java.lang.String title,
119 java.lang.String content, int displayDateMonth, int displayDateDay,
120 int displayDateYear, int displayDateHour, int displayDateMinute,
121 boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
122 java.lang.String[] tagsEntries, boolean addCommunityPermissions,
123 boolean addGuestPermissions,
124 com.liferay.portal.theme.ThemeDisplay themeDisplay)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException {
127 return _service.addEntry(uuid, userId, plid, title, content,
128 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
129 displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
130 addCommunityPermissions, addGuestPermissions, themeDisplay);
131 }
132
133 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
134 long userId, long plid, java.lang.String title,
135 java.lang.String content, int displayDateMonth, int displayDateDay,
136 int displayDateYear, int displayDateHour, int displayDateMinute,
137 boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
138 java.lang.String[] tagsEntries,
139 java.lang.String[] communityPermissions,
140 java.lang.String[] guestPermissions,
141 com.liferay.portal.theme.ThemeDisplay themeDisplay)
142 throws com.liferay.portal.PortalException,
143 com.liferay.portal.SystemException {
144 return _service.addEntry(userId, plid, title, content,
145 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
146 displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
147 communityPermissions, guestPermissions, themeDisplay);
148 }
149
150 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
151 java.lang.String uuid, long userId, long plid, java.lang.String title,
152 java.lang.String content, int displayDateMonth, int displayDateDay,
153 int displayDateYear, int displayDateHour, int displayDateMinute,
154 boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
155 java.lang.String[] tagsEntries,
156 java.lang.Boolean addCommunityPermissions,
157 java.lang.Boolean addGuestPermissions,
158 java.lang.String[] communityPermissions,
159 java.lang.String[] guestPermissions,
160 com.liferay.portal.theme.ThemeDisplay themeDisplay)
161 throws com.liferay.portal.PortalException,
162 com.liferay.portal.SystemException {
163 return _service.addEntry(uuid, userId, plid, title, content,
164 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
165 displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
166 addCommunityPermissions, addGuestPermissions, communityPermissions,
167 guestPermissions, themeDisplay);
168 }
169
170 public static void addEntryResources(long entryId,
171 boolean addCommunityPermissions, boolean addGuestPermissions)
172 throws com.liferay.portal.PortalException,
173 com.liferay.portal.SystemException {
174 _service.addEntryResources(entryId, addCommunityPermissions,
175 addGuestPermissions);
176 }
177
178 public static void addEntryResources(
179 com.liferay.portlet.blogs.model.BlogsEntry entry,
180 boolean addCommunityPermissions, boolean addGuestPermissions)
181 throws com.liferay.portal.PortalException,
182 com.liferay.portal.SystemException {
183 _service.addEntryResources(entry, addCommunityPermissions,
184 addGuestPermissions);
185 }
186
187 public static void addEntryResources(long entryId,
188 java.lang.String[] communityPermissions,
189 java.lang.String[] guestPermissions)
190 throws com.liferay.portal.PortalException,
191 com.liferay.portal.SystemException {
192 _service.addEntryResources(entryId, communityPermissions,
193 guestPermissions);
194 }
195
196 public static void addEntryResources(
197 com.liferay.portlet.blogs.model.BlogsEntry entry,
198 java.lang.String[] communityPermissions,
199 java.lang.String[] guestPermissions)
200 throws com.liferay.portal.PortalException,
201 com.liferay.portal.SystemException {
202 _service.addEntryResources(entry, communityPermissions, guestPermissions);
203 }
204
205 public static void deleteEntries(long groupId)
206 throws com.liferay.portal.PortalException,
207 com.liferay.portal.SystemException {
208 _service.deleteEntries(groupId);
209 }
210
211 public static void deleteEntry(long entryId)
212 throws com.liferay.portal.PortalException,
213 com.liferay.portal.SystemException {
214 _service.deleteEntry(entryId);
215 }
216
217 public static void deleteEntry(
218 com.liferay.portlet.blogs.model.BlogsEntry entry)
219 throws com.liferay.portal.PortalException,
220 com.liferay.portal.SystemException {
221 _service.deleteEntry(entry);
222 }
223
224 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
225 long companyId, int start, int end)
226 throws com.liferay.portal.SystemException {
227 return _service.getCompanyEntries(companyId, start, end);
228 }
229
230 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
231 long companyId, int start, int end,
232 com.liferay.portal.kernel.util.OrderByComparator obc)
233 throws com.liferay.portal.SystemException {
234 return _service.getCompanyEntries(companyId, start, end, obc);
235 }
236
237 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
238 long companyId, boolean draft, int start, int end)
239 throws com.liferay.portal.SystemException {
240 return _service.getCompanyEntries(companyId, draft, start, end);
241 }
242
243 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
244 long companyId, boolean draft, int start, int end,
245 com.liferay.portal.kernel.util.OrderByComparator obc)
246 throws com.liferay.portal.SystemException {
247 return _service.getCompanyEntries(companyId, draft, start, end, obc);
248 }
249
250 public static int getCompanyEntriesCount(long companyId)
251 throws com.liferay.portal.SystemException {
252 return _service.getCompanyEntriesCount(companyId);
253 }
254
255 public static int getCompanyEntriesCount(long companyId, boolean draft)
256 throws com.liferay.portal.SystemException {
257 return _service.getCompanyEntriesCount(companyId, draft);
258 }
259
260 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
261 long entryId)
262 throws com.liferay.portal.PortalException,
263 com.liferay.portal.SystemException {
264 return _service.getEntry(entryId);
265 }
266
267 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
268 long groupId, java.lang.String urlTitle)
269 throws com.liferay.portal.PortalException,
270 com.liferay.portal.SystemException {
271 return _service.getEntry(groupId, urlTitle);
272 }
273
274 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
275 long groupId, int start, int end)
276 throws com.liferay.portal.SystemException {
277 return _service.getGroupEntries(groupId, start, end);
278 }
279
280 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
281 long groupId, int start, int end,
282 com.liferay.portal.kernel.util.OrderByComparator obc)
283 throws com.liferay.portal.SystemException {
284 return _service.getGroupEntries(groupId, start, end, obc);
285 }
286
287 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
288 long groupId, boolean draft, int start, int end)
289 throws com.liferay.portal.SystemException {
290 return _service.getGroupEntries(groupId, draft, start, end);
291 }
292
293 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
294 long groupId, boolean draft, int start, int end,
295 com.liferay.portal.kernel.util.OrderByComparator obc)
296 throws com.liferay.portal.SystemException {
297 return _service.getGroupEntries(groupId, draft, start, end, obc);
298 }
299
300 public static int getGroupEntriesCount(long groupId)
301 throws com.liferay.portal.SystemException {
302 return _service.getGroupEntriesCount(groupId);
303 }
304
305 public static int getGroupEntriesCount(long groupId, boolean draft)
306 throws com.liferay.portal.SystemException {
307 return _service.getGroupEntriesCount(groupId, draft);
308 }
309
310 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
311 long groupId, long userId, int start, int end)
312 throws com.liferay.portal.SystemException {
313 return _service.getGroupUserEntries(groupId, userId, start, end);
314 }
315
316 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
317 long groupId, long userId, int start, int end,
318 com.liferay.portal.kernel.util.OrderByComparator obc)
319 throws com.liferay.portal.SystemException {
320 return _service.getGroupUserEntries(groupId, userId, start, end, obc);
321 }
322
323 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
324 long groupId, long userId, boolean draft, int start, int end)
325 throws com.liferay.portal.SystemException {
326 return _service.getGroupUserEntries(groupId, userId, draft, start, end);
327 }
328
329 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
330 long groupId, long userId, boolean draft, int start, int end,
331 com.liferay.portal.kernel.util.OrderByComparator obc)
332 throws com.liferay.portal.SystemException {
333 return _service.getGroupUserEntries(groupId, userId, draft, start, end,
334 obc);
335 }
336
337 public static int getGroupUserEntriesCount(long groupId, long userId)
338 throws com.liferay.portal.SystemException {
339 return _service.getGroupUserEntriesCount(groupId, userId);
340 }
341
342 public static int getGroupUserEntriesCount(long groupId, long userId,
343 boolean draft) throws com.liferay.portal.SystemException {
344 return _service.getGroupUserEntriesCount(groupId, userId, draft);
345 }
346
347 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
348 throws com.liferay.portal.SystemException {
349 return _service.getNoAssetEntries();
350 }
351
352 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
353 long organizationId, boolean draft, int start, int end)
354 throws com.liferay.portal.SystemException {
355 return _service.getOrganizationEntries(organizationId, draft, start, end);
356 }
357
358 public static int getOrganizationEntriesCount(long organizationId,
359 boolean draft) throws com.liferay.portal.SystemException {
360 return _service.getOrganizationEntriesCount(organizationId, draft);
361 }
362
363 public static java.lang.String getUrlTitle(long entryId,
364 java.lang.String title) {
365 return _service.getUrlTitle(entryId, title);
366 }
367
368 public static void reIndex(java.lang.String[] ids)
369 throws com.liferay.portal.SystemException {
370 _service.reIndex(ids);
371 }
372
373 public static com.liferay.portal.kernel.search.Hits search(long companyId,
374 long groupId, long userId, java.lang.String keywords, int start, int end)
375 throws com.liferay.portal.SystemException {
376 return _service.search(companyId, groupId, userId, keywords, start, end);
377 }
378
379 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
380 long userId, long entryId, java.lang.String title,
381 java.lang.String content, int displayDateMonth, int displayDateDay,
382 int displayDateYear, int displayDateHour, int displayDateMinute,
383 boolean draft, boolean allowTrackbacks, java.lang.String[] trackbacks,
384 java.lang.String[] tagsEntries,
385 com.liferay.portal.theme.ThemeDisplay themeDisplay)
386 throws com.liferay.portal.PortalException,
387 com.liferay.portal.SystemException {
388 return _service.updateEntry(userId, entryId, title, content,
389 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
390 displayDateMinute, draft, allowTrackbacks, trackbacks, tagsEntries,
391 themeDisplay);
392 }
393
394 public static void updateTagsAsset(long userId,
395 com.liferay.portlet.blogs.model.BlogsEntry entry,
396 java.lang.String[] tagsEntries)
397 throws com.liferay.portal.PortalException,
398 com.liferay.portal.SystemException {
399 _service.updateTagsAsset(userId, entry, tagsEntries);
400 }
401
402 public static BlogsEntryLocalService getService() {
403 return _service;
404 }
405
406 public void setService(BlogsEntryLocalService service) {
407 _service = service;
408 }
409
410 private static BlogsEntryLocalService _service;
411 }