Liferay 6.0.5

com.liferay.portlet.journal.service
Interface JournalArticleService

All Known Implementing Classes:
JournalArticleServiceBaseImpl, JournalArticleServiceImpl, JournalArticleServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface JournalArticleService

The interface for the journal article remote service.

Never modify or reference this interface directly. Always use JournalArticleServiceUtil to access the journal article remote service. Add custom service methods to JournalArticleServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

See Also:
JournalArticleServiceUtil, JournalArticleServiceBaseImpl, JournalArticleServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 JournalArticle addArticle(long groupId, String articleId, boolean autoArticleId, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map<String,byte[]> images, String articleURL, ServiceContext serviceContext)
           
 JournalArticle addArticle(long groupId, String articleId, boolean autoArticleId, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, String articleURL, ServiceContext serviceContext)
           
 JournalArticle copyArticle(long groupId, String oldArticleId, String newArticleId, boolean autoArticleId, double version)
           
 void deleteArticle(long groupId, String articleId, double version, String articleURL, ServiceContext serviceContext)
           
 void deleteArticle(long groupId, String articleId, String articleURL, ServiceContext serviceContext)
           
 JournalArticle expireArticle(long groupId, String articleId, double version, String articleURL, ServiceContext serviceContext)
           
 JournalArticle getArticle(long groupId, String articleId)
           
 JournalArticle getArticle(long groupId, String articleId, double version)
           
 JournalArticle getArticleByUrlTitle(long groupId, String urlTitle)
           
 String getArticleContent(long groupId, String articleId, double version, String languageId, ThemeDisplay themeDisplay)
           
 String getArticleContent(long groupId, String articleId, String languageId, ThemeDisplay themeDisplay)
           
 JournalArticle getLatestArticle(long groupId, String articleId, int status)
           
 void removeArticleLocale(long companyId, String languageId)
           
 JournalArticle removeArticleLocale(long groupId, String articleId, double version, String languageId)
           
 JournalArticle updateArticle(long groupId, String articleId, double version, String content)
           
 JournalArticle updateArticle(long groupId, String articleId, double version, String title, String description, String content, String type, String structureId, String templateId, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, int reviewDateMonth, int reviewDateDay, int reviewDateYear, int reviewDateHour, int reviewDateMinute, boolean neverReview, boolean indexable, boolean smallImage, String smallImageURL, File smallFile, Map<String,byte[]> images, String articleURL, ServiceContext serviceContext)
           
 JournalArticle updateContent(long groupId, String articleId, double version, String content)
           
 

Method Detail

addArticle

JournalArticle addArticle(long groupId,
                          String articleId,
                          boolean autoArticleId,
                          String title,
                          String description,
                          String content,
                          String type,
                          String structureId,
                          String templateId,
                          int displayDateMonth,
                          int displayDateDay,
                          int displayDateYear,
                          int displayDateHour,
                          int displayDateMinute,
                          int expirationDateMonth,
                          int expirationDateDay,
                          int expirationDateYear,
                          int expirationDateHour,
                          int expirationDateMinute,
                          boolean neverExpire,
                          int reviewDateMonth,
                          int reviewDateDay,
                          int reviewDateYear,
                          int reviewDateHour,
                          int reviewDateMinute,
                          boolean neverReview,
                          boolean indexable,
                          boolean smallImage,
                          String smallImageURL,
                          File smallFile,
                          Map<String,byte[]> images,
                          String articleURL,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

addArticle

JournalArticle addArticle(long groupId,
                          String articleId,
                          boolean autoArticleId,
                          String title,
                          String description,
                          String content,
                          String type,
                          String structureId,
                          String templateId,
                          int displayDateMonth,
                          int displayDateDay,
                          int displayDateYear,
                          int displayDateHour,
                          int displayDateMinute,
                          int expirationDateMonth,
                          int expirationDateDay,
                          int expirationDateYear,
                          int expirationDateHour,
                          int expirationDateMinute,
                          boolean neverExpire,
                          int reviewDateMonth,
                          int reviewDateDay,
                          int reviewDateYear,
                          int reviewDateHour,
                          int reviewDateMinute,
                          boolean neverReview,
                          boolean indexable,
                          String articleURL,
                          ServiceContext serviceContext)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

copyArticle

JournalArticle copyArticle(long groupId,
                           String oldArticleId,
                           String newArticleId,
                           boolean autoArticleId,
                           double version)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteArticle

void deleteArticle(long groupId,
                   String articleId,
                   double version,
                   String articleURL,
                   ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

deleteArticle

void deleteArticle(long groupId,
                   String articleId,
                   String articleURL,
                   ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

expireArticle

JournalArticle expireArticle(long groupId,
                             String articleId,
                             double version,
                             String articleURL,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getArticle

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle getArticle(long groupId,
                                                                   String articleId)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getArticle

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle getArticle(long groupId,
                                                                   String articleId,
                                                                   double version)
                          throws PortalException,
                                 SystemException
Throws:
PortalException
SystemException

getArticleByUrlTitle

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle getArticleByUrlTitle(long groupId,
                                                                             String urlTitle)
                                    throws PortalException,
                                           SystemException
Throws:
PortalException
SystemException

getArticleContent

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getArticleContent(long groupId,
                                                                  String articleId,
                                                                  double version,
                                                                  String languageId,
                                                                  ThemeDisplay themeDisplay)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getArticleContent

@Transactional(propagation=SUPPORTS,
               readOnly=true)
String getArticleContent(long groupId,
                                                                  String articleId,
                                                                  String languageId,
                                                                  ThemeDisplay themeDisplay)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getLatestArticle

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JournalArticle getLatestArticle(long groupId,
                                                                         String articleId,
                                                                         int status)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

removeArticleLocale

void removeArticleLocale(long companyId,
                         String languageId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

removeArticleLocale

JournalArticle removeArticleLocale(long groupId,
                                   String articleId,
                                   double version,
                                   String languageId)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

updateArticle

JournalArticle updateArticle(long groupId,
                             String articleId,
                             double version,
                             String content)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

updateArticle

JournalArticle updateArticle(long groupId,
                             String articleId,
                             double version,
                             String title,
                             String description,
                             String content,
                             String type,
                             String structureId,
                             String templateId,
                             int displayDateMonth,
                             int displayDateDay,
                             int displayDateYear,
                             int displayDateHour,
                             int displayDateMinute,
                             int expirationDateMonth,
                             int expirationDateDay,
                             int expirationDateYear,
                             int expirationDateHour,
                             int expirationDateMinute,
                             boolean neverExpire,
                             int reviewDateMonth,
                             int reviewDateDay,
                             int reviewDateYear,
                             int reviewDateHour,
                             int reviewDateMinute,
                             boolean neverReview,
                             boolean indexable,
                             boolean smallImage,
                             String smallImageURL,
                             File smallFile,
                             Map<String,byte[]> images,
                             String articleURL,
                             ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

updateContent

JournalArticle updateContent(long groupId,
                             String articleId,
                             double version,
                             String content)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

Liferay 6.0.5