| java.lang.Object com.liferay.portlet.journal.service.JournalArticleServiceUtil
JournalArticleServiceUtil | public class JournalArticleServiceUtil (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.journal.service.JournalArticleService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
com.liferay.portlet.journal.service.JournalArticleServiceFactory
is responsible for the lookup of the bean.
author: Brian Wing Shun Chan See Also: com.liferay.portlet.journal.service.JournalArticleService See Also: com.liferay.portlet.journal.service.JournalArticleServiceFactory |
Method Summary | |
public static com.liferay.portlet.journal.model.JournalArticle | addArticle(java.lang.String articleId, boolean autoArticleId, long plid, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.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, java.lang.String smallImageURL, java.io.File smallFile, java.util.Map images, java.lang.String articleURL, javax.portlet.PortletPreferences prefs, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) | public static com.liferay.portlet.journal.model.JournalArticle | addArticle(java.lang.String articleId, boolean autoArticleId, long plid, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.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, java.lang.String smallImageURL, java.io.File smallFile, java.util.Map images, java.lang.String articleURL, javax.portlet.PortletPreferences prefs, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static com.liferay.portlet.journal.model.JournalArticle | approveArticle(long groupId, java.lang.String articleId, double version, long plid, java.lang.String articleURL, javax.portlet.PortletPreferences prefs) | public static void | deleteArticle(long groupId, java.lang.String articleId, double version, java.lang.String articleURL, javax.portlet.PortletPreferences prefs) | public static void | expireArticle(long groupId, java.lang.String articleId, double version, java.lang.String articleURL, javax.portlet.PortletPreferences prefs) | public static com.liferay.portlet.journal.model.JournalArticle | getArticle(long groupId, java.lang.String articleId, double version) | public static java.lang.String | getArticleContent(long groupId, java.lang.String articleId, java.lang.String languageId, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static java.lang.String | getArticleContent(long groupId, java.lang.String articleId, double version, java.lang.String languageId, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static void | removeArticleLocale(long companyId, java.lang.String languageId) | public static com.liferay.portlet.journal.model.JournalArticle | removeArticleLocale(long groupId, java.lang.String articleId, double version, java.lang.String languageId) | public static com.liferay.portlet.journal.model.JournalArticle | updateArticle(long groupId, java.lang.String articleId, double version, boolean incrementVersion, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.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, java.lang.String smallImageURL, java.io.File smallFile, java.util.Map images, java.lang.String articleURL, javax.portlet.PortletPreferences prefs, java.lang.String[] tagsEntries) | public static com.liferay.portlet.journal.model.JournalArticle | updateContent(long groupId, java.lang.String articleId, double version, java.lang.String content) |
addArticle | public static com.liferay.portlet.journal.model.JournalArticle addArticle(java.lang.String articleId, boolean autoArticleId, long plid, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.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, java.lang.String smallImageURL, java.io.File smallFile, java.util.Map images, java.lang.String articleURL, javax.portlet.PortletPreferences prefs, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException(Code) | | |
addArticle | public static com.liferay.portlet.journal.model.JournalArticle addArticle(java.lang.String articleId, boolean autoArticleId, long plid, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.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, java.lang.String smallImageURL, java.io.File smallFile, java.util.Map images, java.lang.String articleURL, javax.portlet.PortletPreferences prefs, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException(Code) | | |
updateArticle | public static com.liferay.portlet.journal.model.JournalArticle updateArticle(long groupId, java.lang.String articleId, double version, boolean incrementVersion, java.lang.String title, java.lang.String description, java.lang.String content, java.lang.String type, java.lang.String structureId, java.lang.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, java.lang.String smallImageURL, java.io.File smallFile, java.util.Map images, java.lang.String articleURL, javax.portlet.PortletPreferences prefs, java.lang.String[] tagsEntries) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException, java.rmi.RemoteException(Code) | | |
|
|