com.liferay.portlet.messageboards.service
Interface MBMessageService
public interface MBMessageService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.messageboards.service.impl.MBMessageServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
MBMessageServiceFactory
,
MBMessageServiceUtil
Method Summary |
MBMessage |
addDiscussionMessage(long groupId,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
MBMessage |
addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
MBMessage |
addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
MBMessage |
addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
|
MBMessage |
addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteDiscussionMessage(long groupId,
java.lang.String className,
long classPK,
long messageId)
|
void |
deleteMessage(long messageId)
|
java.util.List<MBMessage> |
getCategoryMessages(long categoryId,
int begin,
int end)
|
int |
getCategoryMessagesCount(long categoryId)
|
java.lang.String |
getCategoryMessagesRSS(long categoryId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
java.lang.String |
getCompanyMessagesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
java.lang.String |
getGroupMessagesRSS(long groupId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
java.lang.String |
getGroupMessagesRSS(long groupId,
long userId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
MBMessage |
getMessage(long messageId)
|
MBMessageDisplay |
getMessageDisplay(long messageId)
|
java.lang.String |
getThreadMessagesRSS(long threadId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
|
void |
subscribeMessage(long messageId)
|
void |
unsubscribeMessage(long messageId)
|
MBMessage |
updateDiscussionMessage(long groupId,
java.lang.String className,
long classPK,
long messageId,
java.lang.String subject,
java.lang.String body)
|
MBMessage |
updateMessage(long messageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
java.util.List<java.lang.String> existingFiles,
double priority,
java.lang.String[] tagsEntries)
|
MBMessage |
updateMessage(long messageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
java.util.List<java.lang.String> existingFiles,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
|
addDiscussionMessage
MBMessage addDiscussionMessage(long groupId,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
ThemeDisplay themeDisplay)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
boolean addCommunityPermissions,
boolean addGuestPermissions,
ThemeDisplay themeDisplay)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addMessage
MBMessage addMessage(long categoryId,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
boolean anonymous,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions,
ThemeDisplay themeDisplay)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteDiscussionMessage
void deleteDiscussionMessage(long groupId,
java.lang.String className,
long classPK,
long messageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteMessage
void deleteMessage(long messageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCategoryMessages
java.util.List<MBMessage> getCategoryMessages(long categoryId,
int begin,
int end)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCategoryMessagesCount
int getCategoryMessagesCount(long categoryId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCategoryMessagesRSS
java.lang.String getCategoryMessagesRSS(long categoryId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getCompanyMessagesRSS
java.lang.String getCompanyMessagesRSS(long companyId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getGroupMessagesRSS
java.lang.String getGroupMessagesRSS(long groupId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getGroupMessagesRSS
java.lang.String getGroupMessagesRSS(long groupId,
long userId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getMessage
MBMessage getMessage(long messageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getMessageDisplay
MBMessageDisplay getMessageDisplay(long messageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getThreadMessagesRSS
java.lang.String getThreadMessagesRSS(long threadId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
subscribeMessage
void subscribeMessage(long messageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
unsubscribeMessage
void unsubscribeMessage(long messageId)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateDiscussionMessage
MBMessage updateDiscussionMessage(long groupId,
java.lang.String className,
long classPK,
long messageId,
java.lang.String subject,
java.lang.String body)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateMessage
MBMessage updateMessage(long messageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
java.util.List<java.lang.String> existingFiles,
double priority,
java.lang.String[] tagsEntries)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException
updateMessage
MBMessage updateMessage(long messageId,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,byte[]>> files,
java.util.List<java.lang.String> existingFiles,
double priority,
java.lang.String[] tagsEntries,
javax.portlet.PortletPreferences prefs,
ThemeDisplay themeDisplay)
throws java.rmi.RemoteException,
com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException
com.liferay.portal.PortalException