| java.lang.Object com.liferay.portlet.journal.service.http.JournalArticleServiceHttp
JournalArticleServiceHttp | public class JournalArticleServiceHttp (Code) | | View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides a HTTP utility for the
com.liferay.portlet.journal.service.JournalArticleServiceUtil service
utility. The static methods of this class calls the same methods of the
service utility. However, the signatures are different because it requires an
additional com.liferay.portal.security.auth.HttpPrincipal
parameter.
The benefits of using the HTTP utility is that it is fast and allows for
tunneling without the cost of serializing to text. The drawback is that it
only works with Java.
Set the property tunnel.servlet.hosts.allowed in
portal.properties to configure security.
The HTTP utility is only generated for remote services.
author: Brian Wing Shun Chan See Also: com.liferay.portal.security.auth.HttpPrincipal See Also: com.liferay.portlet.journal.service.JournalArticleServiceUtil See Also: com.liferay.portlet.journal.service.http.JournalArticleServiceSoap |
Method Summary | |
public static com.liferay.portlet.journal.model.JournalArticle | addArticle(HttpPrincipal httpPrincipal, 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(HttpPrincipal httpPrincipal, 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(HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId, double version, long plid, java.lang.String articleURL, javax.portlet.PortletPreferences prefs) | public static void | deleteArticle(HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId, double version, java.lang.String articleURL, javax.portlet.PortletPreferences prefs) | public static void | expireArticle(HttpPrincipal httpPrincipal, 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(HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId, double version) | public static java.lang.String | getArticleContent(HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId, java.lang.String languageId, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static java.lang.String | getArticleContent(HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId, double version, java.lang.String languageId, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static void | removeArticleLocale(HttpPrincipal httpPrincipal, long companyId, java.lang.String languageId) | public static com.liferay.portlet.journal.model.JournalArticle | removeArticleLocale(HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId, double version, java.lang.String languageId) | public static com.liferay.portlet.journal.model.JournalArticle | updateArticle(HttpPrincipal httpPrincipal, 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(HttpPrincipal httpPrincipal, long groupId, java.lang.String articleId, double version, java.lang.String content) |
addArticle | public static com.liferay.portlet.journal.model.JournalArticle addArticle(HttpPrincipal httpPrincipal, 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.SystemException, com.liferay.portal.PortalException(Code) | | |
addArticle | public static com.liferay.portlet.journal.model.JournalArticle addArticle(HttpPrincipal httpPrincipal, 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.SystemException, com.liferay.portal.PortalException(Code) | | |
updateArticle | public static com.liferay.portlet.journal.model.JournalArticle updateArticle(HttpPrincipal httpPrincipal, 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.SystemException, com.liferay.portal.PortalException(Code) | | |
|
|