com.liferay.portlet.messageboards.service
Class MBMessageLocalServiceWrapper
java.lang.Object
com.liferay.portlet.messageboards.service.MBMessageLocalServiceWrapper
- All Implemented Interfaces:
- MBMessageLocalService
public class MBMessageLocalServiceWrapper
- extends java.lang.Object
- implements MBMessageLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for MBMessageLocalService
.
- Author:
- Brian Wing Shun Chan
- See Also:
MBMessageLocalService
- Generated:
Method Summary |
MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
int status)
|
MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
ServiceContext serviceContext)
|
MBMessage |
addMBMessage(MBMessage mbMessage)
|
MBMessage |
addMessage(long userId,
java.lang.String userName,
long groupId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
|
MBMessage |
addMessage(long userId,
java.lang.String userName,
long groupId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
|
MBMessage |
addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
long groupId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
|
void |
addMessageResources(long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addMessageResources(MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(MBMessage message,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
MBMessage |
createMBMessage(long messageId)
|
void |
deleteDiscussionMessage(long messageId)
|
void |
deleteDiscussionMessages(java.lang.String className,
long classPK)
|
void |
deleteMBMessage(long messageId)
|
void |
deleteMBMessage(MBMessage mbMessage)
|
void |
deleteMessage(long messageId)
|
void |
deleteMessage(MBMessage message)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<MBMessage> |
getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
|
java.util.List<MBMessage> |
getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCategoryMessagesCount(long groupId,
long categoryId,
int status)
|
java.util.List<MBMessage> |
getCompanyMessages(long companyId,
int status,
int start,
int end)
|
java.util.List<MBMessage> |
getCompanyMessages(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getCompanyMessagesCount(long companyId,
int status)
|
MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status)
|
MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status,
java.lang.String threadView)
|
int |
getDiscussionMessagesCount(long classNameId,
long classPK,
int status)
|
java.util.List<MBDiscussion> |
getDiscussions(java.lang.String className)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
int status,
int start,
int end)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
long userId,
int status,
int start,
int end)
|
java.util.List<MBMessage> |
getGroupMessages(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
int |
getGroupMessagesCount(long groupId,
int status)
|
int |
getGroupMessagesCount(long groupId,
long userId,
int status)
|
MBMessage |
getMBMessage(long messageId)
|
java.util.List<MBMessage> |
getMBMessages(int start,
int end)
|
int |
getMBMessagesCount()
|
MBMessage |
getMessage(long messageId)
|
MBMessageDisplay |
getMessageDisplay(long messageId,
int status,
java.lang.String threadView)
|
MBMessageDisplay |
getMessageDisplay(MBMessage message,
int status,
java.lang.String threadView)
|
java.util.List<MBMessage> |
getMessages(java.lang.String className,
long classPK,
int status)
|
java.util.List<MBMessage> |
getNoAssetMessages()
|
int |
getPositionInThread(long messageId)
|
java.util.List<MBMessage> |
getThreadMessages(long threadId,
int status)
|
java.util.List<MBMessage> |
getThreadMessages(long threadId,
int status,
java.util.Comparator<MBMessage> comparator)
|
java.util.List<MBMessage> |
getThreadMessages(long threadId,
int status,
int start,
int end)
|
int |
getThreadMessagesCount(long threadId,
int status)
|
java.util.List<MBMessage> |
getThreadRepliesMessages(long threadId,
int status,
int start,
int end)
|
MBMessageLocalService |
getWrappedMBMessageLocalService()
|
void |
subscribeMessage(long userId,
long messageId)
|
void |
unsubscribeMessage(long userId,
long messageId)
|
void |
updateAsset(long userId,
MBMessage message,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
|
MBMessage |
updateDiscussionMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body,
int status)
|
MBMessage |
updateMBMessage(MBMessage mbMessage)
|
MBMessage |
updateMBMessage(MBMessage mbMessage,
boolean merge)
|
MBMessage |
updateMessage(long messageId,
java.util.Date createDate,
java.util.Date modifiedDate)
|
MBMessage |
updateMessage(long userId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
|
MBMessage |
updateMessage(long messageId,
java.lang.String body)
|
MBMessage |
updateStatus(long userId,
long messageId,
ServiceContext serviceContext)
|
MBMessage |
updateStatus(long userId,
MBMessage message,
ServiceContext serviceContext,
boolean reindex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBMessageLocalServiceWrapper
public MBMessageLocalServiceWrapper(MBMessageLocalService mbMessageLocalService)
addMBMessage
public MBMessage addMBMessage(MBMessage mbMessage)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMBMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
createMBMessage
public MBMessage createMBMessage(long messageId)
- Specified by:
createMBMessage
in interface MBMessageLocalService
deleteMBMessage
public void deleteMBMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteMBMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteMBMessage
public void deleteMBMessage(MBMessage mbMessage)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteMBMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getMBMessage
public MBMessage getMBMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getMBMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getMBMessages
public java.util.List<MBMessage> getMBMessages(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getMBMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getMBMessagesCount
public int getMBMessagesCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getMBMessagesCount
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateMBMessage
public MBMessage updateMBMessage(MBMessage mbMessage)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateMBMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateMBMessage
public MBMessage updateMBMessage(MBMessage mbMessage,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateMBMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
addDiscussionMessage
public MBMessage addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addDiscussionMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addDiscussionMessage
public MBMessage addDiscussionMessage(long userId,
java.lang.String userName,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addDiscussionMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessage
public MBMessage addMessage(long userId,
java.lang.String userName,
long groupId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessage
public MBMessage addMessage(long userId,
java.lang.String userName,
long groupId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessage
public MBMessage addMessage(java.lang.String uuid,
long userId,
java.lang.String userName,
long groupId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMessageResources
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMessageResources
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(long messageId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMessageResources
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
addMessageResources
public void addMessageResources(MBMessage message,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
addMessageResources
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteDiscussionMessage
public void deleteDiscussionMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteDiscussionMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteDiscussionMessages
public void deleteDiscussionMessages(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteDiscussionMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteMessage
public void deleteMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteMessage
public void deleteMessage(MBMessage message)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getCategoryMessages
public java.util.List<MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCategoryMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCategoryMessages
public java.util.List<MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCategoryMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCategoryMessagesCount
public int getCategoryMessagesCount(long groupId,
long categoryId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCategoryMessagesCount
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyMessages
public java.util.List<MBMessage> getCompanyMessages(long companyId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanyMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyMessages
public java.util.List<MBMessage> getCompanyMessages(long companyId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanyMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCompanyMessagesCount
public int getCompanyMessagesCount(long companyId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCompanyMessagesCount
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getDiscussionMessageDisplay
public MBMessageDisplay getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getDiscussionMessageDisplay
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getDiscussionMessageDisplay
public MBMessageDisplay getDiscussionMessageDisplay(long userId,
java.lang.String className,
long classPK,
int status,
java.lang.String threadView)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getDiscussionMessageDisplay
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getDiscussionMessagesCount
public int getDiscussionMessagesCount(long classNameId,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getDiscussionMessagesCount
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getDiscussions
public java.util.List<MBDiscussion> getDiscussions(java.lang.String className)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getDiscussions
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<MBMessage> getGroupMessages(long groupId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<MBMessage> getGroupMessages(long groupId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<MBMessage> getGroupMessages(long groupId,
long userId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessages
public java.util.List<MBMessage> getGroupMessages(long groupId,
long userId,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessagesCount
public int getGroupMessagesCount(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupMessagesCount
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getGroupMessagesCount
public int getGroupMessagesCount(long groupId,
long userId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getGroupMessagesCount
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getMessage
public MBMessage getMessage(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getMessages
public java.util.List<MBMessage> getMessages(java.lang.String className,
long classPK,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getMessageDisplay
public MBMessageDisplay getMessageDisplay(long messageId,
int status,
java.lang.String threadView)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getMessageDisplay
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getMessageDisplay
public MBMessageDisplay getMessageDisplay(MBMessage message,
int status,
java.lang.String threadView)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getMessageDisplay
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getNoAssetMessages
public java.util.List<MBMessage> getNoAssetMessages()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getNoAssetMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPositionInThread
public int getPositionInThread(long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getPositionInThread
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getThreadMessages
public java.util.List<MBMessage> getThreadMessages(long threadId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getThreadMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadMessages
public java.util.List<MBMessage> getThreadMessages(long threadId,
int status,
java.util.Comparator<MBMessage> comparator)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getThreadMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadMessages
public java.util.List<MBMessage> getThreadMessages(long threadId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getThreadMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadMessagesCount
public int getThreadMessagesCount(long threadId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getThreadMessagesCount
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getThreadRepliesMessages
public java.util.List<MBMessage> getThreadRepliesMessages(long threadId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getThreadRepliesMessages
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
subscribeMessage
public void subscribeMessage(long userId,
long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
subscribeMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
unsubscribeMessage
public void unsubscribeMessage(long userId,
long messageId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
unsubscribeMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateAsset
public void updateAsset(long userId,
MBMessage message,
long[] assetCategoryIds,
java.lang.String[] assetTagNames)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateAsset
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateDiscussionMessage
public MBMessage updateDiscussionMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateDiscussionMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateMessage
public MBMessage updateMessage(long userId,
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,
boolean allowPingbacks,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateMessage
public MBMessage updateMessage(long messageId,
java.util.Date createDate,
java.util.Date modifiedDate)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateMessage
public MBMessage updateMessage(long messageId,
java.lang.String body)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateMessage
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateStatus
public MBMessage updateStatus(long userId,
MBMessage message,
ServiceContext serviceContext,
boolean reindex)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateStatus
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
updateStatus
public MBMessage updateStatus(long userId,
long messageId,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateStatus
in interface MBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getWrappedMBMessageLocalService
public MBMessageLocalService getWrappedMBMessageLocalService()