001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portlet.journal.service;
022:
023: /**
024: * <a href="JournalArticleLocalService.java.html"><b><i>View Source</i></b></a>
025: *
026: * <p>
027: * ServiceBuilder generated this class. Modifications in this class will be
028: * overwritten the next time is generated.
029: * </p>
030: *
031: * <p>
032: * This interface defines the service. The default implementation is
033: * <code>com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl</code>.
034: * Modify methods in that class and rerun ServiceBuilder to populate this class
035: * and all other generated classes.
036: * </p>
037: *
038: * <p>
039: * This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
040: * </p>
041: *
042: * @author Brian Wing Shun Chan
043: *
044: * @see com.liferay.portlet.journal.service.JournalArticleLocalServiceFactory
045: * @see com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil
046: *
047: */
048: public interface JournalArticleLocalService {
049: public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
050: com.liferay.portlet.journal.model.JournalArticle model)
051: throws com.liferay.portal.SystemException;
052:
053: public java.util.List dynamicQuery(
054: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
055: throws com.liferay.portal.SystemException;
056:
057: public java.util.List dynamicQuery(
058: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
059: int begin, int end)
060: throws com.liferay.portal.SystemException;
061:
062: public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
063: com.liferay.portlet.journal.model.JournalArticle model)
064: throws com.liferay.portal.SystemException;
065:
066: public com.liferay.portlet.journal.service.persistence.JournalArticlePersistence getJournalArticlePersistence();
067:
068: public void setJournalArticlePersistence(
069: com.liferay.portlet.journal.service.persistence.JournalArticlePersistence journalArticlePersistence);
070:
071: public com.liferay.portlet.journal.service.persistence.JournalArticleFinder getJournalArticleFinder();
072:
073: public void setJournalArticleFinder(
074: com.liferay.portlet.journal.service.persistence.JournalArticleFinder journalArticleFinder);
075:
076: public com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence getJournalArticleImagePersistence();
077:
078: public void setJournalArticleImagePersistence(
079: com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence journalArticleImagePersistence);
080:
081: public com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence getJournalArticleResourcePersistence();
082:
083: public void setJournalArticleResourcePersistence(
084: com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence journalArticleResourcePersistence);
085:
086: public com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence getJournalContentSearchPersistence();
087:
088: public void setJournalContentSearchPersistence(
089: com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence journalContentSearchPersistence);
090:
091: public com.liferay.portlet.journal.service.persistence.JournalFeedPersistence getJournalFeedPersistence();
092:
093: public void setJournalFeedPersistence(
094: com.liferay.portlet.journal.service.persistence.JournalFeedPersistence journalFeedPersistence);
095:
096: public com.liferay.portlet.journal.service.persistence.JournalFeedFinder getJournalFeedFinder();
097:
098: public void setJournalFeedFinder(
099: com.liferay.portlet.journal.service.persistence.JournalFeedFinder journalFeedFinder);
100:
101: public com.liferay.portlet.journal.service.persistence.JournalStructurePersistence getJournalStructurePersistence();
102:
103: public void setJournalStructurePersistence(
104: com.liferay.portlet.journal.service.persistence.JournalStructurePersistence journalStructurePersistence);
105:
106: public com.liferay.portlet.journal.service.persistence.JournalStructureFinder getJournalStructureFinder();
107:
108: public void setJournalStructureFinder(
109: com.liferay.portlet.journal.service.persistence.JournalStructureFinder journalStructureFinder);
110:
111: public com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence getJournalTemplatePersistence();
112:
113: public void setJournalTemplatePersistence(
114: com.liferay.portlet.journal.service.persistence.JournalTemplatePersistence journalTemplatePersistence);
115:
116: public com.liferay.portlet.journal.service.persistence.JournalTemplateFinder getJournalTemplateFinder();
117:
118: public void setJournalTemplateFinder(
119: com.liferay.portlet.journal.service.persistence.JournalTemplateFinder journalTemplateFinder);
120:
121: public com.liferay.portal.service.persistence.CompanyPersistence getCompanyPersistence();
122:
123: public void setCompanyPersistence(
124: com.liferay.portal.service.persistence.CompanyPersistence companyPersistence);
125:
126: public com.liferay.portal.service.persistence.PortletPreferencesPersistence getPortletPreferencesPersistence();
127:
128: public void setPortletPreferencesPersistence(
129: com.liferay.portal.service.persistence.PortletPreferencesPersistence portletPreferencesPersistence);
130:
131: public com.liferay.portal.service.persistence.PortletPreferencesFinder getPortletPreferencesFinder();
132:
133: public void setPortletPreferencesFinder(
134: com.liferay.portal.service.persistence.PortletPreferencesFinder portletPreferencesFinder);
135:
136: public com.liferay.portal.service.persistence.ResourcePersistence getResourcePersistence();
137:
138: public void setResourcePersistence(
139: com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence);
140:
141: public com.liferay.portal.service.persistence.ResourceFinder getResourceFinder();
142:
143: public void setResourceFinder(
144: com.liferay.portal.service.persistence.ResourceFinder resourceFinder);
145:
146: public com.liferay.portal.service.persistence.UserPersistence getUserPersistence();
147:
148: public void setUserPersistence(
149: com.liferay.portal.service.persistence.UserPersistence userPersistence);
150:
151: public com.liferay.portal.service.persistence.UserFinder getUserFinder();
152:
153: public void setUserFinder(
154: com.liferay.portal.service.persistence.UserFinder userFinder);
155:
156: public com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence getMBMessagePersistence();
157:
158: public void setMBMessagePersistence(
159: com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence mbMessagePersistence);
160:
161: public com.liferay.portlet.messageboards.service.persistence.MBMessageFinder getMBMessageFinder();
162:
163: public void setMBMessageFinder(
164: com.liferay.portlet.messageboards.service.persistence.MBMessageFinder mbMessageFinder);
165:
166: public com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence getRatingsStatsPersistence();
167:
168: public void setRatingsStatsPersistence(
169: com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence ratingsStatsPersistence);
170:
171: public com.liferay.portlet.tags.service.persistence.TagsAssetPersistence getTagsAssetPersistence();
172:
173: public void setTagsAssetPersistence(
174: com.liferay.portlet.tags.service.persistence.TagsAssetPersistence tagsAssetPersistence);
175:
176: public com.liferay.portlet.tags.service.persistence.TagsAssetFinder getTagsAssetFinder();
177:
178: public void setTagsAssetFinder(
179: com.liferay.portlet.tags.service.persistence.TagsAssetFinder tagsAssetFinder);
180:
181: public com.liferay.portlet.tags.service.persistence.TagsEntryPersistence getTagsEntryPersistence();
182:
183: public void setTagsEntryPersistence(
184: com.liferay.portlet.tags.service.persistence.TagsEntryPersistence tagsEntryPersistence);
185:
186: public com.liferay.portlet.tags.service.persistence.TagsEntryFinder getTagsEntryFinder();
187:
188: public void setTagsEntryFinder(
189: com.liferay.portlet.tags.service.persistence.TagsEntryFinder tagsEntryFinder);
190:
191: public void afterPropertiesSet();
192:
193: public com.liferay.portlet.journal.model.JournalArticle addArticle(
194: long userId, java.lang.String articleId,
195: boolean autoArticleId, long plid, java.lang.String title,
196: java.lang.String description, java.lang.String content,
197: java.lang.String type, java.lang.String structureId,
198: java.lang.String templateId, int displayDateMonth,
199: int displayDateDay, int displayDateYear,
200: int displayDateHour, int displayDateMinute,
201: int expirationDateMonth, int expirationDateDay,
202: int expirationDateYear, int expirationDateHour,
203: int expirationDateMinute, boolean neverExpire,
204: int reviewDateMonth, int reviewDateDay, int reviewDateYear,
205: int reviewDateHour, int reviewDateMinute,
206: boolean neverReview, boolean indexable, boolean smallImage,
207: java.lang.String smallImageURL, java.io.File smallFile,
208: java.util.Map images, java.lang.String articleURL,
209: javax.portlet.PortletPreferences prefs,
210: java.lang.String[] tagsEntries,
211: boolean addCommunityPermissions, boolean addGuestPermissions)
212: throws com.liferay.portal.SystemException,
213: com.liferay.portal.PortalException;
214:
215: public com.liferay.portlet.journal.model.JournalArticle addArticle(
216: java.lang.String uuid, long userId,
217: java.lang.String articleId, boolean autoArticleId,
218: long plid, java.lang.String title,
219: java.lang.String description, java.lang.String content,
220: java.lang.String type, java.lang.String structureId,
221: java.lang.String templateId, int displayDateMonth,
222: int displayDateDay, int displayDateYear,
223: int displayDateHour, int displayDateMinute,
224: int expirationDateMonth, int expirationDateDay,
225: int expirationDateYear, int expirationDateHour,
226: int expirationDateMinute, boolean neverExpire,
227: int reviewDateMonth, int reviewDateDay, int reviewDateYear,
228: int reviewDateHour, int reviewDateMinute,
229: boolean neverReview, boolean indexable, boolean smallImage,
230: java.lang.String smallImageURL, java.io.File smallFile,
231: java.util.Map images, java.lang.String articleURL,
232: javax.portlet.PortletPreferences prefs,
233: java.lang.String[] tagsEntries,
234: boolean addCommunityPermissions, boolean addGuestPermissions)
235: throws com.liferay.portal.SystemException,
236: com.liferay.portal.PortalException;
237:
238: public com.liferay.portlet.journal.model.JournalArticle addArticle(
239: long userId, java.lang.String articleId,
240: boolean autoArticleId, long plid, java.lang.String title,
241: java.lang.String description, java.lang.String content,
242: java.lang.String type, java.lang.String structureId,
243: java.lang.String templateId, int displayDateMonth,
244: int displayDateDay, int displayDateYear,
245: int displayDateHour, int displayDateMinute,
246: int expirationDateMonth, int expirationDateDay,
247: int expirationDateYear, int expirationDateHour,
248: int expirationDateMinute, boolean neverExpire,
249: int reviewDateMonth, int reviewDateDay, int reviewDateYear,
250: int reviewDateHour, int reviewDateMinute,
251: boolean neverReview, boolean indexable, boolean smallImage,
252: java.lang.String smallImageURL, java.io.File smallFile,
253: java.util.Map images, java.lang.String articleURL,
254: javax.portlet.PortletPreferences prefs,
255: java.lang.String[] tagsEntries,
256: java.lang.String[] communityPermissions,
257: java.lang.String[] guestPermissions)
258: throws com.liferay.portal.SystemException,
259: com.liferay.portal.PortalException;
260:
261: public com.liferay.portlet.journal.model.JournalArticle addArticle(
262: java.lang.String uuid, long userId,
263: java.lang.String articleId, boolean autoArticleId,
264: long plid, java.lang.String title,
265: java.lang.String description, java.lang.String content,
266: java.lang.String type, java.lang.String structureId,
267: java.lang.String templateId, int displayDateMonth,
268: int displayDateDay, int displayDateYear,
269: int displayDateHour, int displayDateMinute,
270: int expirationDateMonth, int expirationDateDay,
271: int expirationDateYear, int expirationDateHour,
272: int expirationDateMinute, boolean neverExpire,
273: int reviewDateMonth, int reviewDateDay, int reviewDateYear,
274: int reviewDateHour, int reviewDateMinute,
275: boolean neverReview, boolean indexable, boolean smallImage,
276: java.lang.String smallImageURL, java.io.File smallFile,
277: java.util.Map images, java.lang.String articleURL,
278: javax.portlet.PortletPreferences prefs,
279: java.lang.String[] tagsEntries,
280: java.lang.Boolean addCommunityPermissions,
281: java.lang.Boolean addGuestPermissions,
282: java.lang.String[] communityPermissions,
283: java.lang.String[] guestPermissions)
284: throws com.liferay.portal.SystemException,
285: com.liferay.portal.PortalException;
286:
287: public com.liferay.portlet.journal.model.JournalArticle addArticleToGroup(
288: java.lang.String uuid, long userId,
289: java.lang.String articleId, boolean autoArticleId,
290: long groupId, java.lang.String title,
291: java.lang.String description, java.lang.String content,
292: java.lang.String type, java.lang.String structureId,
293: java.lang.String templateId, int displayDateMonth,
294: int displayDateDay, int displayDateYear,
295: int displayDateHour, int displayDateMinute,
296: int expirationDateMonth, int expirationDateDay,
297: int expirationDateYear, int expirationDateHour,
298: int expirationDateMinute, boolean neverExpire,
299: int reviewDateMonth, int reviewDateDay, int reviewDateYear,
300: int reviewDateHour, int reviewDateMinute,
301: boolean neverReview, boolean indexable, boolean smallImage,
302: java.lang.String smallImageURL, java.io.File smallFile,
303: java.util.Map images, java.lang.String articleURL,
304: javax.portlet.PortletPreferences prefs,
305: java.lang.String[] tagsEntries,
306: java.lang.Boolean addCommunityPermissions,
307: java.lang.Boolean addGuestPermissions,
308: java.lang.String[] communityPermissions,
309: java.lang.String[] guestPermissions)
310: throws com.liferay.portal.SystemException,
311: com.liferay.portal.PortalException;
312:
313: public void addArticleResources(long groupId,
314: java.lang.String articleId,
315: boolean addCommunityPermissions, boolean addGuestPermissions)
316: throws com.liferay.portal.SystemException,
317: com.liferay.portal.PortalException;
318:
319: public void addArticleResources(
320: com.liferay.portlet.journal.model.JournalArticle article,
321: boolean addCommunityPermissions, boolean addGuestPermissions)
322: throws com.liferay.portal.SystemException,
323: com.liferay.portal.PortalException;
324:
325: public void addArticleResources(long groupId,
326: java.lang.String articleId,
327: java.lang.String[] communityPermissions,
328: java.lang.String[] guestPermissions)
329: throws com.liferay.portal.SystemException,
330: com.liferay.portal.PortalException;
331:
332: public void addArticleResources(
333: com.liferay.portlet.journal.model.JournalArticle article,
334: java.lang.String[] communityPermissions,
335: java.lang.String[] guestPermissions)
336: throws com.liferay.portal.SystemException,
337: com.liferay.portal.PortalException;
338:
339: public com.liferay.portlet.journal.model.JournalArticle approveArticle(
340: long userId, long groupId, java.lang.String articleId,
341: double version, java.lang.String articleURL,
342: javax.portlet.PortletPreferences prefs)
343: throws com.liferay.portal.SystemException,
344: com.liferay.portal.PortalException;
345:
346: public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
347: long groupId, java.lang.String articleId, double version)
348: throws com.liferay.portal.SystemException,
349: com.liferay.portal.PortalException;
350:
351: public void checkArticles()
352: throws com.liferay.portal.SystemException,
353: com.liferay.portal.PortalException;
354:
355: public void checkNewLine(long groupId, java.lang.String articleId,
356: double version) throws com.liferay.portal.SystemException,
357: com.liferay.portal.PortalException;
358:
359: public void checkStructure(long groupId,
360: java.lang.String articleId, double version)
361: throws com.liferay.portal.SystemException,
362: com.liferay.portal.PortalException;
363:
364: public void deleteArticle(long groupId, java.lang.String articleId,
365: double version, java.lang.String articleURL,
366: javax.portlet.PortletPreferences prefs)
367: throws com.liferay.portal.SystemException,
368: com.liferay.portal.PortalException;
369:
370: public void deleteArticle(
371: com.liferay.portlet.journal.model.JournalArticle article,
372: java.lang.String articleURL,
373: javax.portlet.PortletPreferences prefs)
374: throws com.liferay.portal.SystemException,
375: com.liferay.portal.PortalException;
376:
377: public void deleteArticles(long groupId)
378: throws com.liferay.portal.SystemException,
379: com.liferay.portal.PortalException;
380:
381: public void expireArticle(long groupId, java.lang.String articleId,
382: double version, java.lang.String articleURL,
383: javax.portlet.PortletPreferences prefs)
384: throws com.liferay.portal.SystemException,
385: com.liferay.portal.PortalException;
386:
387: public void expireArticle(
388: com.liferay.portlet.journal.model.JournalArticle article,
389: java.lang.String articleURL,
390: javax.portlet.PortletPreferences prefs)
391: throws com.liferay.portal.SystemException,
392: com.liferay.portal.PortalException;
393:
394: public com.liferay.portlet.journal.model.JournalArticle getArticle(
395: long id) throws com.liferay.portal.SystemException,
396: com.liferay.portal.PortalException;
397:
398: public com.liferay.portlet.journal.model.JournalArticle getArticle(
399: long groupId, java.lang.String articleId)
400: throws com.liferay.portal.SystemException,
401: com.liferay.portal.PortalException;
402:
403: public com.liferay.portlet.journal.model.JournalArticle getArticle(
404: long groupId, java.lang.String articleId, double version)
405: throws com.liferay.portal.SystemException,
406: com.liferay.portal.PortalException;
407:
408: public java.lang.String getArticleContent(long groupId,
409: java.lang.String articleId, java.lang.String languageId,
410: com.liferay.portal.theme.ThemeDisplay themeDisplay)
411: throws com.liferay.portal.SystemException,
412: com.liferay.portal.PortalException;
413:
414: public java.lang.String getArticleContent(long groupId,
415: java.lang.String articleId, java.lang.String templateId,
416: java.lang.String languageId,
417: com.liferay.portal.theme.ThemeDisplay themeDisplay)
418: throws com.liferay.portal.SystemException,
419: com.liferay.portal.PortalException;
420:
421: public java.lang.String getArticleContent(long groupId,
422: java.lang.String articleId, double version,
423: java.lang.String languageId,
424: com.liferay.portal.theme.ThemeDisplay themeDisplay)
425: throws com.liferay.portal.SystemException,
426: com.liferay.portal.PortalException;
427:
428: public java.lang.String getArticleContent(long groupId,
429: java.lang.String articleId, double version,
430: java.lang.String templateId, java.lang.String languageId,
431: com.liferay.portal.theme.ThemeDisplay themeDisplay)
432: throws com.liferay.portal.SystemException,
433: com.liferay.portal.PortalException;
434:
435: public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
436: long groupId, java.lang.String articleId,
437: java.lang.String languageId,
438: com.liferay.portal.theme.ThemeDisplay themeDisplay)
439: throws com.liferay.portal.SystemException,
440: com.liferay.portal.PortalException;
441:
442: public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
443: long groupId, java.lang.String articleId,
444: java.lang.String languageId, int page,
445: java.lang.String xmlRequest,
446: com.liferay.portal.theme.ThemeDisplay themeDisplay)
447: throws com.liferay.portal.SystemException,
448: com.liferay.portal.PortalException;
449:
450: public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
451: long groupId, java.lang.String articleId,
452: java.lang.String templateId, java.lang.String languageId,
453: com.liferay.portal.theme.ThemeDisplay themeDisplay)
454: throws com.liferay.portal.SystemException,
455: com.liferay.portal.PortalException;
456:
457: public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
458: long groupId, java.lang.String articleId,
459: java.lang.String templateId, java.lang.String languageId,
460: int page, java.lang.String xmlRequest,
461: com.liferay.portal.theme.ThemeDisplay themeDisplay)
462: throws com.liferay.portal.SystemException,
463: com.liferay.portal.PortalException;
464:
465: public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
466: long groupId, java.lang.String articleId, double version,
467: java.lang.String templateId, java.lang.String languageId,
468: com.liferay.portal.theme.ThemeDisplay themeDisplay)
469: throws com.liferay.portal.SystemException,
470: com.liferay.portal.PortalException;
471:
472: public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
473: long groupId, java.lang.String articleId, double version,
474: java.lang.String templateId, java.lang.String languageId,
475: int page, java.lang.String xmlRequest,
476: com.liferay.portal.theme.ThemeDisplay themeDisplay)
477: throws com.liferay.portal.SystemException,
478: com.liferay.portal.PortalException;
479:
480: public java.util.List getArticles()
481: throws com.liferay.portal.SystemException;
482:
483: public java.util.List getArticles(long groupId)
484: throws com.liferay.portal.SystemException;
485:
486: public java.util.List getArticles(long groupId, int begin, int end)
487: throws com.liferay.portal.SystemException;
488:
489: public java.util.List getArticles(long groupId, int begin, int end,
490: com.liferay.portal.kernel.util.OrderByComparator obc)
491: throws com.liferay.portal.SystemException;
492:
493: public java.util.List getArticlesBySmallImageId(long smallImageId)
494: throws com.liferay.portal.SystemException;
495:
496: public int getArticlesCount(long groupId)
497: throws com.liferay.portal.SystemException;
498:
499: public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
500: long groupId, java.lang.String articleId)
501: throws com.liferay.portal.SystemException,
502: com.liferay.portal.PortalException;
503:
504: public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
505: long groupId, java.lang.String articleId)
506: throws com.liferay.portal.SystemException,
507: com.liferay.portal.PortalException;
508:
509: public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
510: long groupId, java.lang.String articleId,
511: java.lang.Boolean approved)
512: throws com.liferay.portal.SystemException,
513: com.liferay.portal.PortalException;
514:
515: public double getLatestVersion(long groupId,
516: java.lang.String articleId)
517: throws com.liferay.portal.SystemException,
518: com.liferay.portal.PortalException;
519:
520: public double getLatestVersion(long groupId,
521: java.lang.String articleId, java.lang.Boolean approved)
522: throws com.liferay.portal.SystemException,
523: com.liferay.portal.PortalException;
524:
525: public java.util.List getStructureArticles(long groupId,
526: java.lang.String structureId)
527: throws com.liferay.portal.SystemException;
528:
529: public java.util.List getStructureArticles(long groupId,
530: java.lang.String structureId, int begin, int end,
531: com.liferay.portal.kernel.util.OrderByComparator obc)
532: throws com.liferay.portal.SystemException;
533:
534: public int getStructureArticlesCount(long groupId,
535: java.lang.String structureId)
536: throws com.liferay.portal.SystemException;
537:
538: public java.util.List getTemplateArticles(long groupId,
539: java.lang.String templateId)
540: throws com.liferay.portal.SystemException;
541:
542: public java.util.List getTemplateArticles(long groupId,
543: java.lang.String templateId, int begin, int end,
544: com.liferay.portal.kernel.util.OrderByComparator obc)
545: throws com.liferay.portal.SystemException;
546:
547: public int getTemplateArticlesCount(long groupId,
548: java.lang.String templateId)
549: throws com.liferay.portal.SystemException;
550:
551: public boolean hasArticle(long groupId, java.lang.String articleId)
552: throws com.liferay.portal.SystemException;
553:
554: public boolean isLatestVersion(long groupId,
555: java.lang.String articleId, double version)
556: throws com.liferay.portal.SystemException,
557: com.liferay.portal.PortalException;
558:
559: public boolean isLatestVersion(long groupId,
560: java.lang.String articleId, double version,
561: java.lang.Boolean active)
562: throws com.liferay.portal.SystemException,
563: com.liferay.portal.PortalException;
564:
565: public void reIndex(java.lang.String[] ids)
566: throws com.liferay.portal.SystemException;
567:
568: public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
569: long groupId, java.lang.String articleId, double version,
570: java.lang.String languageId)
571: throws com.liferay.portal.SystemException,
572: com.liferay.portal.PortalException;
573:
574: public com.liferay.portal.kernel.search.Hits search(long companyId,
575: long groupId, java.lang.String keywords)
576: throws com.liferay.portal.SystemException;
577:
578: public com.liferay.portal.kernel.search.Hits search(long companyId,
579: long groupId, java.lang.String keywords,
580: java.lang.String sortField)
581: throws com.liferay.portal.SystemException;
582:
583: public java.util.List search(long companyId, long groupId,
584: java.lang.String keywords, java.lang.Double version,
585: java.lang.String type, java.lang.String structureId,
586: java.lang.String templateId, java.util.Date displayDateGT,
587: java.util.Date displayDateLT, java.lang.Boolean approved,
588: java.lang.Boolean expired, java.util.Date reviewDate,
589: int begin, int end,
590: com.liferay.portal.kernel.util.OrderByComparator obc)
591: throws com.liferay.portal.SystemException;
592:
593: public java.util.List search(long companyId, long groupId,
594: java.lang.String articleId, java.lang.Double version,
595: java.lang.String title, java.lang.String description,
596: java.lang.String content, java.lang.String type,
597: java.lang.String structureId, java.lang.String templateId,
598: java.util.Date displayDateGT, java.util.Date displayDateLT,
599: java.lang.Boolean approved, java.lang.Boolean expired,
600: java.util.Date reviewDate, boolean andOperator, int begin,
601: int end,
602: com.liferay.portal.kernel.util.OrderByComparator obc)
603: throws com.liferay.portal.SystemException;
604:
605: public java.util.List search(long companyId, long groupId,
606: java.lang.String articleId, java.lang.Double version,
607: java.lang.String title, java.lang.String description,
608: java.lang.String content, java.lang.String type,
609: java.lang.String[] structureIds,
610: java.lang.String[] templateIds,
611: java.util.Date displayDateGT, java.util.Date displayDateLT,
612: java.lang.Boolean approved, java.lang.Boolean expired,
613: java.util.Date reviewDate, boolean andOperator, int begin,
614: int end,
615: com.liferay.portal.kernel.util.OrderByComparator obc)
616: throws com.liferay.portal.SystemException;
617:
618: public int searchCount(long companyId, long groupId,
619: java.lang.String keywords, java.lang.Double version,
620: java.lang.String type, java.lang.String structureId,
621: java.lang.String templateId, java.util.Date displayDateGT,
622: java.util.Date displayDateLT, java.lang.Boolean approved,
623: java.lang.Boolean expired, java.util.Date reviewDate)
624: throws com.liferay.portal.SystemException;
625:
626: public int searchCount(long companyId, long groupId,
627: java.lang.String articleId, java.lang.Double version,
628: java.lang.String title, java.lang.String description,
629: java.lang.String content, java.lang.String type,
630: java.lang.String structureId, java.lang.String templateId,
631: java.util.Date displayDateGT, java.util.Date displayDateLT,
632: java.lang.Boolean approved, java.lang.Boolean expired,
633: java.util.Date reviewDate, boolean andOperator)
634: throws com.liferay.portal.SystemException;
635:
636: public int searchCount(long companyId, long groupId,
637: java.lang.String articleId, java.lang.Double version,
638: java.lang.String title, java.lang.String description,
639: java.lang.String content, java.lang.String type,
640: java.lang.String[] structureIds,
641: java.lang.String[] templateIds,
642: java.util.Date displayDateGT, java.util.Date displayDateLT,
643: java.lang.Boolean approved, java.lang.Boolean expired,
644: java.util.Date reviewDate, boolean andOperator)
645: throws com.liferay.portal.SystemException;
646:
647: public com.liferay.portlet.journal.model.JournalArticle updateArticle(
648: long userId, long groupId, java.lang.String articleId,
649: double version, boolean incrementVersion,
650: java.lang.String title, java.lang.String description,
651: java.lang.String content, java.lang.String type,
652: java.lang.String structureId, java.lang.String templateId,
653: int displayDateMonth, int displayDateDay,
654: int displayDateYear, int displayDateHour,
655: int displayDateMinute, int expirationDateMonth,
656: int expirationDateDay, int expirationDateYear,
657: int expirationDateHour, int expirationDateMinute,
658: boolean neverExpire, int reviewDateMonth,
659: int reviewDateDay, int reviewDateYear, int reviewDateHour,
660: int reviewDateMinute, boolean neverReview,
661: boolean indexable, boolean smallImage,
662: java.lang.String smallImageURL, java.io.File smallFile,
663: java.util.Map images, java.lang.String articleURL,
664: javax.portlet.PortletPreferences prefs,
665: java.lang.String[] tagsEntries)
666: throws com.liferay.portal.SystemException,
667: com.liferay.portal.PortalException;
668:
669: public com.liferay.portlet.journal.model.JournalArticle updateContent(
670: long groupId, java.lang.String articleId, double version,
671: java.lang.String content)
672: throws com.liferay.portal.SystemException,
673: com.liferay.portal.PortalException;
674:
675: public void updateTagsAsset(long userId,
676: com.liferay.portlet.journal.model.JournalArticle article,
677: java.lang.String[] tagsEntries)
678: throws com.liferay.portal.SystemException,
679: com.liferay.portal.PortalException;
680: }
|