| java.lang.Object com.liferay.portlet.messageboards.service.http.MBMessageServiceHttp
MBMessageServiceHttp | public class MBMessageServiceHttp (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.messageboards.service.MBMessageServiceUtil 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.messageboards.service.MBMessageServiceUtil See Also: com.liferay.portlet.messageboards.service.http.MBMessageServiceSoap |
Method Summary | |
public static com.liferay.portlet.messageboards.model.MBMessage | addDiscussionMessage(HttpPrincipal httpPrincipal, long groupId, java.lang.String className, long classPK, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, boolean addCommunityPermissions, boolean addGuestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, boolean addCommunityPermissions, boolean addGuestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static com.liferay.portlet.messageboards.model.MBMessage | addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) | public static void | deleteDiscussionMessage(HttpPrincipal httpPrincipal, long groupId, java.lang.String className, long classPK, long messageId) | public static void | deleteMessage(HttpPrincipal httpPrincipal, long messageId) | public static java.util.List | getCategoryMessages(HttpPrincipal httpPrincipal, long categoryId, int begin, int end) | public static int | getCategoryMessagesCount(HttpPrincipal httpPrincipal, long categoryId) | public static java.lang.String | getCategoryMessagesRSS(HttpPrincipal httpPrincipal, long categoryId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) | public static java.lang.String | getCompanyMessagesRSS(HttpPrincipal httpPrincipal, long companyId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) | public static java.lang.String | getGroupMessagesRSS(HttpPrincipal httpPrincipal, long groupId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) | public static java.lang.String | getGroupMessagesRSS(HttpPrincipal httpPrincipal, long groupId, long userId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) | public static com.liferay.portlet.messageboards.model.MBMessage | getMessage(HttpPrincipal httpPrincipal, long messageId) | public static com.liferay.portlet.messageboards.model.MBMessageDisplay | getMessageDisplay(HttpPrincipal httpPrincipal, long messageId) | public static java.lang.String | getThreadMessagesRSS(HttpPrincipal httpPrincipal, long threadId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) | public static void | subscribeMessage(HttpPrincipal httpPrincipal, long messageId) | public static void | unsubscribeMessage(HttpPrincipal httpPrincipal, long messageId) | public static com.liferay.portlet.messageboards.model.MBMessage | updateDiscussionMessage(HttpPrincipal httpPrincipal, long groupId, java.lang.String className, long classPK, long messageId, java.lang.String subject, java.lang.String body) | public static com.liferay.portlet.messageboards.model.MBMessage | updateMessage(HttpPrincipal httpPrincipal, long messageId, java.lang.String subject, java.lang.String body, java.util.List files, double priority, java.lang.String[] tagsEntries) | public static com.liferay.portlet.messageboards.model.MBMessage | updateMessage(HttpPrincipal httpPrincipal, long messageId, java.lang.String subject, java.lang.String body, java.util.List files, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, com.liferay.portal.theme.ThemeDisplay themeDisplay) |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, boolean addCommunityPermissions, boolean addGuestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, boolean addCommunityPermissions, boolean addGuestPermissions) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, boolean addCommunityPermissions, boolean addGuestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
addMessage | public static com.liferay.portlet.messageboards.model.MBMessage addMessage(HttpPrincipal httpPrincipal, long categoryId, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, java.util.List files, boolean anonymous, double priority, java.lang.String[] tagsEntries, javax.portlet.PortletPreferences prefs, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions, com.liferay.portal.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.SystemException, com.liferay.portal.PortalException(Code) | | |
|
|