@ProviderType public class MBMessageLocalServiceWrapper extends java.lang.Object implements MBMessageLocalService, ServiceWrapper<MBMessageLocalService>
MBMessageLocalService.MBMessageLocalService| Constructor and Description |
|---|
MBMessageLocalServiceWrapper(MBMessageLocalService mbMessageLocalService) |
| Modifier and Type | Method and Description |
|---|---|
MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
long groupId,
java.lang.String className,
long classPK,
int workflowAction) |
MBMessage |
addDiscussionMessage(long userId,
java.lang.String userName,
long groupId,
java.lang.String className,
long classPK,
long threadId,
long parentMessageId,
java.lang.String subject,
java.lang.String body,
ServiceContext serviceContext) |
MBMessage |
addMBMessage(MBMessage mbMessage)
Adds the message-boards message to the database.
|
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.lang.String format,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
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.lang.String format,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext) |
MBMessage |
addMessage(long userId,
java.lang.String userName,
long categoryId,
java.lang.String subject,
java.lang.String body,
ServiceContext serviceContext) |
void |
addMessageResources(long messageId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addMessageResources(long messageId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addMessageResources(MBMessage message,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addMessageResources(MBMessage message,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
MBMessage |
createMBMessage(long messageId)
Creates a new message-boards message with the primary key.
|
MBMessage |
deleteDiscussionMessage(long messageId) |
void |
deleteDiscussionMessages(java.lang.String className,
long classPK) |
MBMessage |
deleteMBMessage(long messageId)
Deletes the message-boards message with the primary key from the database.
|
MBMessage |
deleteMBMessage(MBMessage mbMessage)
Deletes the message-boards message from the database.
|
MBMessage |
deleteMessage(long messageId) |
MBMessage |
deleteMessage(MBMessage message) |
void |
deleteMessageAttachment(long messageId,
java.lang.String fileName) |
void |
deleteMessageAttachments(long messageId) |
DynamicQuery |
dynamicQuery() |
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
MBMessage |
fetchMBMessage(long messageId) |
MBMessage |
fetchMBMessageByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message-boards message with the matching UUID and company.
|
MBMessage |
fetchMBMessageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message-boards message matching the UUID and group.
|
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
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,
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,
OrderByComparator obc) |
int |
getCompanyMessagesCount(long companyId,
int status) |
MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
long groupId,
java.lang.String className,
long classPK,
int status) |
MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
long groupId,
java.lang.String className,
long classPK,
int status,
java.lang.String threadView) |
int |
getDiscussionMessagesCount(long classNameId,
long classPK,
int status) |
int |
getDiscussionMessagesCount(java.lang.String className,
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,
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,
OrderByComparator obc) |
int |
getGroupMessagesCount(long groupId,
int status) |
int |
getGroupMessagesCount(long groupId,
long userId,
int status) |
MBMessage |
getMBMessage(long messageId)
Returns the message-boards message with the primary key.
|
MBMessage |
getMBMessageByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the message-boards message with the matching UUID and company.
|
MBMessage |
getMBMessageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the message-boards message matching the UUID and group.
|
java.util.List<MBMessage> |
getMBMessages(int start,
int end)
Returns a range of all the message-boards messages.
|
int |
getMBMessagesCount()
Returns the number of message-boards messages.
|
MBMessage |
getMessage(long messageId) |
MBMessageDisplay |
getMessageDisplay(long userId,
long messageId,
int status,
java.lang.String threadView,
boolean includePrevAndNext) |
MBMessageDisplay |
getMessageDisplay(long userId,
MBMessage message,
int status,
java.lang.String threadView,
boolean includePrevAndNext) |
java.util.List<MBMessage> |
getMessages(java.lang.String className,
long classPK,
int status) |
java.util.List<MBMessage> |
getNoAssetMessages() |
PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
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) |
java.util.List<MBMessage> |
getUserDiscussionMessages(long userId,
long[] classNameIds,
int status,
int start,
int end,
OrderByComparator obc) |
java.util.List<MBMessage> |
getUserDiscussionMessages(long userId,
long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator obc) |
java.util.List<MBMessage> |
getUserDiscussionMessages(long userId,
java.lang.String className,
long classPK,
int status,
int start,
int end,
OrderByComparator obc) |
int |
getUserDiscussionMessagesCount(long userId,
long[] classNameIds,
int status) |
int |
getUserDiscussionMessagesCount(long userId,
long classNameId,
long classPK,
int status) |
int |
getUserDiscussionMessagesCount(long userId,
java.lang.String className,
long classPK,
int status) |
MBMessageLocalService |
getWrappedMBMessageLocalService()
Deprecated.
As of 6.1.0, replaced by
getWrappedService() |
MBMessageLocalService |
getWrappedService() |
long |
moveMessageAttachmentToTrash(long userId,
long messageId,
java.lang.String fileName) |
void |
restoreMessageAttachmentFromTrash(long userId,
long messageId,
java.lang.String deletedFileName) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setWrappedMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
Deprecated.
As of 6.1.0, replaced by
setWrappedService(com.liferay.portlet.messageboards.service.MBMessageLocalService) |
void |
setWrappedService(MBMessageLocalService mbMessageLocalService) |
void |
subscribeMessage(long userId,
long messageId) |
void |
unsubscribeMessage(long userId,
long messageId) |
void |
updateAnswer(long messageId,
boolean answer,
boolean cascade) |
void |
updateAnswer(MBMessage message,
boolean answer,
boolean cascade) |
void |
updateAsset(long userId,
MBMessage message,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
MBMessage |
updateDiscussionMessage(long userId,
long messageId,
java.lang.String className,
long classPK,
java.lang.String subject,
java.lang.String body,
ServiceContext serviceContext) |
MBMessage |
updateMBMessage(MBMessage mbMessage)
Updates the message-boards message in the database or adds it if it does not yet exist.
|
MBMessage |
updateMessage(long userId,
long messageId,
java.lang.String subject,
java.lang.String body,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
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,
int status,
ServiceContext serviceContext) |
void |
updateUserName(long userId,
java.lang.String userName) |
public MBMessageLocalServiceWrapper(MBMessageLocalService mbMessageLocalService)
public MBMessage addMBMessage(MBMessage mbMessage) throws SystemException
addMBMessage in interface MBMessageLocalServicembMessage - the message-boards messageSystemException - if a system exception occurredpublic MBMessage createMBMessage(long messageId)
createMBMessage in interface MBMessageLocalServicemessageId - the primary key for the new message-boards messagepublic MBMessage deleteMBMessage(long messageId) throws PortalException, SystemException
deleteMBMessage in interface MBMessageLocalServicemessageId - the primary key of the message-boards messagePortalException - if a message-boards message with the primary key could not be foundSystemException - if a system exception occurredpublic MBMessage deleteMBMessage(MBMessage mbMessage) throws SystemException
deleteMBMessage in interface MBMessageLocalServicembMessage - the message-boards messageSystemException - if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery in interface MBMessageLocalServicepublic java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery in interface MBMessageLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBMessageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface MBMessageLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBMessageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface MBMessageLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount in interface MBMessageLocalServicedynamicQuery - the dynamic querySystemException - if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount in interface MBMessageLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic MBMessage fetchMBMessage(long messageId) throws SystemException
fetchMBMessage in interface MBMessageLocalServiceSystemExceptionpublic MBMessage fetchMBMessageByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
fetchMBMessageByUuidAndCompanyId in interface MBMessageLocalServiceuuid - the message-boards message's UUIDcompanyId - the primary key of the companynull if a matching message-boards message could not be foundSystemException - if a system exception occurredpublic MBMessage fetchMBMessageByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
fetchMBMessageByUuidAndGroupId in interface MBMessageLocalServiceuuid - the message-boards message's UUIDgroupId - the primary key of the groupnull if a matching message-boards message could not be foundSystemException - if a system exception occurredpublic MBMessage getMBMessage(long messageId) throws PortalException, SystemException
getMBMessage in interface MBMessageLocalServicemessageId - the primary key of the message-boards messagePortalException - if a message-boards message with the primary key could not be foundSystemException - if a system exception occurredpublic PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage getMBMessageByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
getMBMessageByUuidAndCompanyId in interface MBMessageLocalServiceuuid - the message-boards message's UUIDcompanyId - the primary key of the companyPortalException - if a matching message-boards message could not be foundSystemException - if a system exception occurredpublic MBMessage getMBMessageByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
getMBMessageByUuidAndGroupId in interface MBMessageLocalServiceuuid - the message-boards message's UUIDgroupId - the primary key of the groupPortalException - if a matching message-boards message could not be foundSystemException - if a system exception occurredpublic java.util.List<MBMessage> getMBMessages(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from MBMessageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getMBMessages in interface MBMessageLocalServicestart - the lower bound of the range of message-boards messagesend - the upper bound of the range of message-boards messages (not inclusive)SystemException - if a system exception occurredpublic int getMBMessagesCount()
throws SystemException
getMBMessagesCount in interface MBMessageLocalServiceSystemException - if a system exception occurredpublic MBMessage updateMBMessage(MBMessage mbMessage) throws SystemException
updateMBMessage in interface MBMessageLocalServicembMessage - the message-boards messageSystemException - if a system exception occurredpublic java.lang.String getBeanIdentifier()
getBeanIdentifier in interface MBMessageLocalServicepublic void setBeanIdentifier(java.lang.String beanIdentifier)
setBeanIdentifier in interface MBMessageLocalServicebeanIdentifier - the Spring bean ID for this beanpublic MBMessage addDiscussionMessage(long userId, java.lang.String userName, long groupId, java.lang.String className, long classPK, int workflowAction) throws PortalException, SystemException
addDiscussionMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage addDiscussionMessage(long userId, java.lang.String userName, long groupId, java.lang.String className, long classPK, long threadId, long parentMessageId, java.lang.String subject, java.lang.String body, ServiceContext serviceContext) throws PortalException, SystemException
addDiscussionMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic 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.lang.String format, java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, ServiceContext serviceContext) throws PortalException, SystemException
addMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage addMessage(long userId, java.lang.String userName, long groupId, long categoryId, java.lang.String subject, java.lang.String body, java.lang.String format, java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, ServiceContext serviceContext) throws PortalException, SystemException
addMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage addMessage(long userId, java.lang.String userName, long categoryId, java.lang.String subject, java.lang.String body, ServiceContext serviceContext) throws PortalException, SystemException
addMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void addMessageResources(long messageId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addMessageResources in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void addMessageResources(long messageId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
addMessageResources in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void addMessageResources(MBMessage message, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addMessageResources in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void addMessageResources(MBMessage message, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
addMessageResources in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage deleteDiscussionMessage(long messageId) throws PortalException, SystemException
deleteDiscussionMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void deleteDiscussionMessages(java.lang.String className,
long classPK)
throws PortalException,
SystemException
deleteDiscussionMessages in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage deleteMessage(long messageId) throws PortalException, SystemException
deleteMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage deleteMessage(MBMessage message) throws PortalException, SystemException
deleteMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void deleteMessageAttachment(long messageId,
java.lang.String fileName)
throws PortalException,
SystemException
deleteMessageAttachment in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void deleteMessageAttachments(long messageId)
throws PortalException,
SystemException
deleteMessageAttachments in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic java.util.List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end) throws SystemException
getCategoryMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end, OrderByComparator obc) throws SystemException
getCategoryMessages in interface MBMessageLocalServiceSystemExceptionpublic int getCategoryMessagesCount(long groupId,
long categoryId,
int status)
throws SystemException
getCategoryMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getCompanyMessages(long companyId, int status, int start, int end) throws SystemException
getCompanyMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getCompanyMessages(long companyId, int status, int start, int end, OrderByComparator obc) throws SystemException
getCompanyMessages in interface MBMessageLocalServiceSystemExceptionpublic int getCompanyMessagesCount(long companyId,
int status)
throws SystemException
getCompanyMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic MBMessageDisplay getDiscussionMessageDisplay(long userId, long groupId, java.lang.String className, long classPK, int status) throws PortalException, SystemException
getDiscussionMessageDisplay in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessageDisplay getDiscussionMessageDisplay(long userId, long groupId, java.lang.String className, long classPK, int status, java.lang.String threadView) throws PortalException, SystemException
getDiscussionMessageDisplay in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic int getDiscussionMessagesCount(long classNameId,
long classPK,
int status)
throws SystemException
getDiscussionMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic int getDiscussionMessagesCount(java.lang.String className,
long classPK,
int status)
throws SystemException
getDiscussionMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBDiscussion> getDiscussions(java.lang.String className) throws SystemException
getDiscussions in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getGroupMessages(long groupId, int status, int start, int end) throws SystemException
getGroupMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getGroupMessages(long groupId, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getGroupMessages(long groupId, long userId, int status, int start, int end) throws SystemException
getGroupMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getGroupMessages(long groupId, long userId, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupMessages in interface MBMessageLocalServiceSystemExceptionpublic int getGroupMessagesCount(long groupId,
int status)
throws SystemException
getGroupMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic int getGroupMessagesCount(long groupId,
long userId,
int status)
throws SystemException
getGroupMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic MBMessage getMessage(long messageId) throws PortalException, SystemException
getMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessageDisplay getMessageDisplay(long userId, long messageId, int status, java.lang.String threadView, boolean includePrevAndNext) throws PortalException, SystemException
getMessageDisplay in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessageDisplay getMessageDisplay(long userId, MBMessage message, int status, java.lang.String threadView, boolean includePrevAndNext) throws PortalException, SystemException
getMessageDisplay in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic java.util.List<MBMessage> getMessages(java.lang.String className, long classPK, int status) throws SystemException
getMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getNoAssetMessages() throws SystemException
getNoAssetMessages in interface MBMessageLocalServiceSystemExceptionpublic int getPositionInThread(long messageId)
throws PortalException,
SystemException
getPositionInThread in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic java.util.List<MBMessage> getThreadMessages(long threadId, int status) throws SystemException
getThreadMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getThreadMessages(long threadId, int status, java.util.Comparator<MBMessage> comparator) throws SystemException
getThreadMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getThreadMessages(long threadId, int status, int start, int end) throws SystemException
getThreadMessages in interface MBMessageLocalServiceSystemExceptionpublic int getThreadMessagesCount(long threadId,
int status)
throws SystemException
getThreadMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getThreadRepliesMessages(long threadId, int status, int start, int end) throws SystemException
getThreadRepliesMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getUserDiscussionMessages(long userId, long classNameId, long classPK, int status, int start, int end, OrderByComparator obc) throws SystemException
getUserDiscussionMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getUserDiscussionMessages(long userId, long[] classNameIds, int status, int start, int end, OrderByComparator obc) throws SystemException
getUserDiscussionMessages in interface MBMessageLocalServiceSystemExceptionpublic java.util.List<MBMessage> getUserDiscussionMessages(long userId, java.lang.String className, long classPK, int status, int start, int end, OrderByComparator obc) throws SystemException
getUserDiscussionMessages in interface MBMessageLocalServiceSystemExceptionpublic int getUserDiscussionMessagesCount(long userId,
long classNameId,
long classPK,
int status)
throws SystemException
getUserDiscussionMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic int getUserDiscussionMessagesCount(long userId,
long[] classNameIds,
int status)
throws SystemException
getUserDiscussionMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic int getUserDiscussionMessagesCount(long userId,
java.lang.String className,
long classPK,
int status)
throws SystemException
getUserDiscussionMessagesCount in interface MBMessageLocalServiceSystemExceptionpublic long moveMessageAttachmentToTrash(long userId,
long messageId,
java.lang.String fileName)
throws PortalException,
SystemException
moveMessageAttachmentToTrash in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void restoreMessageAttachmentFromTrash(long userId,
long messageId,
java.lang.String deletedFileName)
throws PortalException,
SystemException
restoreMessageAttachmentFromTrash in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void subscribeMessage(long userId,
long messageId)
throws PortalException,
SystemException
subscribeMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void unsubscribeMessage(long userId,
long messageId)
throws PortalException,
SystemException
unsubscribeMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void updateAnswer(long messageId,
boolean answer,
boolean cascade)
throws PortalException,
SystemException
updateAnswer in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void updateAnswer(MBMessage message, boolean answer, boolean cascade) throws PortalException, SystemException
updateAnswer in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void updateAsset(long userId,
MBMessage message,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage updateDiscussionMessage(long userId, long messageId, java.lang.String className, long classPK, java.lang.String subject, java.lang.String body, ServiceContext serviceContext) throws PortalException, SystemException
updateDiscussionMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage updateMessage(long userId, long messageId, java.lang.String subject, java.lang.String body, java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs, java.util.List<java.lang.String> existingFiles, double priority, boolean allowPingbacks, ServiceContext serviceContext) throws PortalException, SystemException
updateMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage updateMessage(long messageId, java.lang.String body) throws PortalException, SystemException
updateMessage in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic MBMessage updateStatus(long userId, long messageId, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus in interface MBMessageLocalServicePortalExceptionSystemExceptionpublic void updateUserName(long userId,
java.lang.String userName)
throws SystemException
updateUserName in interface MBMessageLocalServiceSystemExceptionpublic MBMessageLocalService getWrappedMBMessageLocalService()
getWrappedService()public void setWrappedMBMessageLocalService(MBMessageLocalService mbMessageLocalService)
setWrappedService(com.liferay.portlet.messageboards.service.MBMessageLocalService)public MBMessageLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<MBMessageLocalService>public void setWrappedService(MBMessageLocalService mbMessageLocalService)
setWrappedService in interface ServiceWrapper<MBMessageLocalService>