Liferay 6.0.5

com.liferay.portlet.journal.service
Class JournalArticleServiceUtil

java.lang.Object
  extended by com.liferay.portlet.journal.service.JournalArticleServiceUtil

public class JournalArticleServiceUtil
extends Object

The utility for the journal article remote service. This utility wraps JournalArticleServiceImpl and is the primary access point for service operations in application layer code running on a remote server.

Never modify this class directly. Add custom service methods to JournalArticleServiceImpl and rerun ServiceBuilder to regenerate this class.

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:
JournalArticleService, JournalArticleServiceBaseImpl, JournalArticleServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Constructor Summary
JournalArticleServiceUtil()
           
 
Method Summary
static 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)
           
static 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)
           
static JournalArticle copyArticle(long groupId, String oldArticleId, String newArticleId, boolean autoArticleId, double version)
           
static void deleteArticle(long groupId, String articleId, double version, String articleURL, ServiceContext serviceContext)
           
static void deleteArticle(long groupId, String articleId, String articleURL, ServiceContext serviceContext)
           
static JournalArticle expireArticle(long groupId, String articleId, double version, String articleURL, ServiceContext serviceContext)
           
static JournalArticle getArticle(long groupId, String articleId)
           
static JournalArticle getArticle(long groupId, String articleId, double version)
           
static JournalArticle getArticleByUrlTitle(long groupId, String urlTitle)
           
static String getArticleContent(long groupId, String articleId, double version, String languageId, ThemeDisplay themeDisplay)
           
static String getArticleContent(long groupId, String articleId, String languageId, ThemeDisplay themeDisplay)
           
static JournalArticle getLatestArticle(long groupId, String articleId, int status)
           
static JournalArticleService getService()
           
static void removeArticleLocale(long companyId, String languageId)
           
static JournalArticle removeArticleLocale(long groupId, String articleId, double version, String languageId)
           
 void setService(JournalArticleService service)
           
static JournalArticle updateArticle(long groupId, String articleId, double version, String content)
           
static 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)
           
static JournalArticle updateContent(long groupId, String articleId, double version, String content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JournalArticleServiceUtil

public JournalArticleServiceUtil()
Method Detail

addArticle

public static 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

public static 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

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

deleteArticle

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

deleteArticle

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

expireArticle

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

getArticle

public static JournalArticle getArticle(long groupId,
                                        String articleId)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getArticle

public static JournalArticle getArticle(long groupId,
                                        String articleId,
                                        double version)
                                 throws PortalException,
                                        SystemException
Throws:
PortalException
SystemException

getArticleByUrlTitle

public static JournalArticle getArticleByUrlTitle(long groupId,
                                                  String urlTitle)
                                           throws PortalException,
                                                  SystemException
Throws:
PortalException
SystemException

getArticleContent

public static String getArticleContent(long groupId,
                                       String articleId,
                                       double version,
                                       String languageId,
                                       ThemeDisplay themeDisplay)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getArticleContent

public static String getArticleContent(long groupId,
                                       String articleId,
                                       String languageId,
                                       ThemeDisplay themeDisplay)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getLatestArticle

public static JournalArticle getLatestArticle(long groupId,
                                              String articleId,
                                              int status)
                                       throws PortalException,
                                              SystemException
Throws:
PortalException
SystemException

removeArticleLocale

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

removeArticleLocale

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

updateArticle

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

updateArticle

public static 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

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

getService

public static JournalArticleService getService()

setService

public void setService(JournalArticleService service)

Liferay 6.0.5