com.liferay.portlet.messageboards.service
Class MBMessageLocalServiceWrapper
java.lang.Object
com.liferay.portlet.messageboards.service.MBMessageLocalServiceWrapper
- All Implemented Interfaces:
- MBMessageLocalService
public class MBMessageLocalServiceWrapper
- extends Object
- implements MBMessageLocalService
This class is a wrapper for MBMessageLocalService.
- See Also:
MBMessageLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
MBMessage |
addDiscussionMessage(long userId,
String userName,
long groupId,
String className,
long classPK,
int workflowAction)
|
MBMessage |
addDiscussionMessage(long userId,
String userName,
long groupId,
String className,
long classPK,
long threadId,
long parentMessageId,
String subject,
String body,
ServiceContext serviceContext)
|
MBMessage |
addMBMessage(MBMessage mbMessage)
|
MBMessage |
addMessage(long userId,
String userName,
long groupId,
long categoryId,
long threadId,
long parentMessageId,
String subject,
String body,
List<ObjectValuePair<String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
|
MBMessage |
addMessage(long userId,
String userName,
long groupId,
long categoryId,
String subject,
String body,
List<ObjectValuePair<String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
|
void |
addMessageResources(long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(long messageId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addMessageResources(MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(MBMessage message,
String[] communityPermissions,
String[] guestPermissions)
|
MBMessage |
createMBMessage(long messageId)
|
void |
deleteDiscussionMessage(long messageId)
|
void |
deleteDiscussionMessages(String className,
long classPK)
|
void |
deleteMBMessage(long messageId)
|
void |
deleteMBMessage(MBMessage mbMessage)
|
void |
deleteMessage(long messageId)
|
void |
deleteMessage(MBMessage message)
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
List<MBMessage> |
getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
|
List<MBMessage> |
getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator obc)
|
int |
getCategoryMessagesCount(long groupId,
long categoryId,
int status)
|
List<MBMessage> |
getCompanyMessages(long companyId,
int status,
int start,
int end)
|
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,
String className,
long classPK,
int status)
|
MBMessageDisplay |
getDiscussionMessageDisplay(long userId,
long groupId,
String className,
long classPK,
int status,
String threadView)
|
int |
getDiscussionMessagesCount(long classNameId,
long classPK,
int status)
|
int |
getDiscussionMessagesCount(String className,
long classPK,
int status)
|
List<MBDiscussion> |
getDiscussions(String className)
|
List<MBMessage> |
getGroupMessages(long groupId,
int status,
int start,
int end)
|
List<MBMessage> |
getGroupMessages(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
|
List<MBMessage> |
getGroupMessages(long groupId,
long userId,
int status,
int start,
int end)
|
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)
|
MBMessage |
getMBMessageByUuidAndGroupId(String uuid,
long groupId)
|
List<MBMessage> |
getMBMessages(int start,
int end)
|
int |
getMBMessagesCount()
|
MBMessage |
getMessage(long messageId)
|
MBMessageDisplay |
getMessageDisplay(long messageId,
int status,
String threadView,
boolean includePrevAndNext)
|
MBMessageDisplay |
getMessageDisplay(MBMessage message,
int status,
String threadView,
boolean includePrevAndNext)
|
List<MBMessage> |
getMessages(String className,
long classPK,
int status)
|
List<MBMessage> |
getNoAssetMessages()
|
int |
getPositionInThread(long messageId)
|
List<MBMessage> |
getThreadMessages(long threadId,
int status)
|
List<MBMessage> |
getThreadMessages(long threadId,
int status,
Comparator<MBMessage> comparator)
|
List<MBMessage> |
getThreadMessages(long threadId,
int status,
int start,
int end)
|
int |
getThreadMessagesCount(long threadId,
int status)
|
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,
String[] assetTagNames)
|
MBMessage |
updateDiscussionMessage(long userId,
long messageId,
String subject,
String body,
int workflowAction)
|
MBMessage |
updateMBMessage(MBMessage mbMessage)
|
MBMessage |
updateMBMessage(MBMessage mbMessage,
boolean merge)
|
MBMessage |
updateMessage(long userId,
long messageId,
String subject,
String body,
List<ObjectValuePair<String,byte[]>> files,
List<String> existingFiles,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
|
MBMessage |
updateMessage(long messageId,
String body)
|
MBMessage |
updateStatus(long userId,
long messageId,
int status,
ServiceContext serviceContext)
|
void |
updateUserName(long userId,
String userName)
|
| 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 SystemException
- Specified by:
addMBMessage in interface MBMessageLocalService
- Throws:
SystemException
createMBMessage
public MBMessage createMBMessage(long messageId)
- Specified by:
createMBMessage in interface MBMessageLocalService
deleteMBMessage
public void deleteMBMessage(long messageId)
throws PortalException,
SystemException
- Specified by:
deleteMBMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
deleteMBMessage
public void deleteMBMessage(MBMessage mbMessage)
throws SystemException
- Specified by:
deleteMBMessage in interface MBMessageLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQuery in interface MBMessageLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Specified by:
dynamicQuery in interface MBMessageLocalService
- Throws:
SystemException
dynamicQuery
public List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Specified by:
dynamicQuery in interface MBMessageLocalService
- Throws:
SystemException
dynamicQueryCount
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Specified by:
dynamicQueryCount in interface MBMessageLocalService
- Throws:
SystemException
getMBMessage
public MBMessage getMBMessage(long messageId)
throws PortalException,
SystemException
- Specified by:
getMBMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getMBMessageByUuidAndGroupId
public MBMessage getMBMessageByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
- Specified by:
getMBMessageByUuidAndGroupId in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getMBMessages
public List<MBMessage> getMBMessages(int start,
int end)
throws SystemException
- Specified by:
getMBMessages in interface MBMessageLocalService
- Throws:
SystemException
getMBMessagesCount
public int getMBMessagesCount()
throws SystemException
- Specified by:
getMBMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
updateMBMessage
public MBMessage updateMBMessage(MBMessage mbMessage)
throws SystemException
- Specified by:
updateMBMessage in interface MBMessageLocalService
- Throws:
SystemException
updateMBMessage
public MBMessage updateMBMessage(MBMessage mbMessage,
boolean merge)
throws SystemException
- Specified by:
updateMBMessage in interface MBMessageLocalService
- Throws:
SystemException
addDiscussionMessage
public MBMessage addDiscussionMessage(long userId,
String userName,
long groupId,
String className,
long classPK,
int workflowAction)
throws PortalException,
SystemException
- Specified by:
addDiscussionMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
addDiscussionMessage
public MBMessage addDiscussionMessage(long userId,
String userName,
long groupId,
String className,
long classPK,
long threadId,
long parentMessageId,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addDiscussionMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
addMessage
public MBMessage addMessage(long userId,
String userName,
long groupId,
long categoryId,
long threadId,
long parentMessageId,
String subject,
String body,
List<ObjectValuePair<String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
addMessage
public MBMessage addMessage(long userId,
String userName,
long groupId,
long categoryId,
String subject,
String body,
List<ObjectValuePair<String,byte[]>> files,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
addMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
addMessageResources
public void addMessageResources(long messageId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addMessageResources in interface MBMessageLocalService
- Throws:
PortalException
SystemException
addMessageResources
public void addMessageResources(long messageId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addMessageResources in interface MBMessageLocalService
- Throws:
PortalException
SystemException
addMessageResources
public void addMessageResources(MBMessage message,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Specified by:
addMessageResources in interface MBMessageLocalService
- Throws:
PortalException
SystemException
addMessageResources
public void addMessageResources(MBMessage message,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Specified by:
addMessageResources in interface MBMessageLocalService
- Throws:
PortalException
SystemException
deleteDiscussionMessage
public void deleteDiscussionMessage(long messageId)
throws PortalException,
SystemException
- Specified by:
deleteDiscussionMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
deleteDiscussionMessages
public void deleteDiscussionMessages(String className,
long classPK)
throws PortalException,
SystemException
- Specified by:
deleteDiscussionMessages in interface MBMessageLocalService
- Throws:
PortalException
SystemException
deleteMessage
public void deleteMessage(long messageId)
throws PortalException,
SystemException
- Specified by:
deleteMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
deleteMessage
public void deleteMessage(MBMessage message)
throws PortalException,
SystemException
- Specified by:
deleteMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getCategoryMessages
public List<MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getCategoryMessages in interface MBMessageLocalService
- Throws:
SystemException
getCategoryMessages
public List<MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getCategoryMessages in interface MBMessageLocalService
- Throws:
SystemException
getCategoryMessagesCount
public int getCategoryMessagesCount(long groupId,
long categoryId,
int status)
throws SystemException
- Specified by:
getCategoryMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
getCompanyMessages
public List<MBMessage> getCompanyMessages(long companyId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getCompanyMessages in interface MBMessageLocalService
- Throws:
SystemException
getCompanyMessages
public List<MBMessage> getCompanyMessages(long companyId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getCompanyMessages in interface MBMessageLocalService
- Throws:
SystemException
getCompanyMessagesCount
public int getCompanyMessagesCount(long companyId,
int status)
throws SystemException
- Specified by:
getCompanyMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
getDiscussionMessageDisplay
public MBMessageDisplay getDiscussionMessageDisplay(long userId,
long groupId,
String className,
long classPK,
int status)
throws PortalException,
SystemException
- Specified by:
getDiscussionMessageDisplay in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getDiscussionMessageDisplay
public MBMessageDisplay getDiscussionMessageDisplay(long userId,
long groupId,
String className,
long classPK,
int status,
String threadView)
throws PortalException,
SystemException
- Specified by:
getDiscussionMessageDisplay in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getDiscussionMessagesCount
public int getDiscussionMessagesCount(long classNameId,
long classPK,
int status)
throws SystemException
- Specified by:
getDiscussionMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
getDiscussionMessagesCount
public int getDiscussionMessagesCount(String className,
long classPK,
int status)
throws SystemException
- Specified by:
getDiscussionMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
getDiscussions
public List<MBDiscussion> getDiscussions(String className)
throws SystemException
- Specified by:
getDiscussions in interface MBMessageLocalService
- Throws:
SystemException
getGroupMessages
public List<MBMessage> getGroupMessages(long groupId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getGroupMessages in interface MBMessageLocalService
- Throws:
SystemException
getGroupMessages
public List<MBMessage> getGroupMessages(long groupId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getGroupMessages in interface MBMessageLocalService
- Throws:
SystemException
getGroupMessages
public List<MBMessage> getGroupMessages(long groupId,
long userId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getGroupMessages in interface MBMessageLocalService
- Throws:
SystemException
getGroupMessages
public List<MBMessage> getGroupMessages(long groupId,
long userId,
int status,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Specified by:
getGroupMessages in interface MBMessageLocalService
- Throws:
SystemException
getGroupMessagesCount
public int getGroupMessagesCount(long groupId,
int status)
throws SystemException
- Specified by:
getGroupMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
getGroupMessagesCount
public int getGroupMessagesCount(long groupId,
long userId,
int status)
throws SystemException
- Specified by:
getGroupMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
getMessage
public MBMessage getMessage(long messageId)
throws PortalException,
SystemException
- Specified by:
getMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getMessageDisplay
public MBMessageDisplay getMessageDisplay(long messageId,
int status,
String threadView,
boolean includePrevAndNext)
throws PortalException,
SystemException
- Specified by:
getMessageDisplay in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getMessageDisplay
public MBMessageDisplay getMessageDisplay(MBMessage message,
int status,
String threadView,
boolean includePrevAndNext)
throws PortalException,
SystemException
- Specified by:
getMessageDisplay in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getMessages
public List<MBMessage> getMessages(String className,
long classPK,
int status)
throws SystemException
- Specified by:
getMessages in interface MBMessageLocalService
- Throws:
SystemException
getNoAssetMessages
public List<MBMessage> getNoAssetMessages()
throws SystemException
- Specified by:
getNoAssetMessages in interface MBMessageLocalService
- Throws:
SystemException
getPositionInThread
public int getPositionInThread(long messageId)
throws PortalException,
SystemException
- Specified by:
getPositionInThread in interface MBMessageLocalService
- Throws:
PortalException
SystemException
getThreadMessages
public List<MBMessage> getThreadMessages(long threadId,
int status)
throws SystemException
- Specified by:
getThreadMessages in interface MBMessageLocalService
- Throws:
SystemException
getThreadMessages
public List<MBMessage> getThreadMessages(long threadId,
int status,
Comparator<MBMessage> comparator)
throws SystemException
- Specified by:
getThreadMessages in interface MBMessageLocalService
- Throws:
SystemException
getThreadMessages
public List<MBMessage> getThreadMessages(long threadId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getThreadMessages in interface MBMessageLocalService
- Throws:
SystemException
getThreadMessagesCount
public int getThreadMessagesCount(long threadId,
int status)
throws SystemException
- Specified by:
getThreadMessagesCount in interface MBMessageLocalService
- Throws:
SystemException
getThreadRepliesMessages
public List<MBMessage> getThreadRepliesMessages(long threadId,
int status,
int start,
int end)
throws SystemException
- Specified by:
getThreadRepliesMessages in interface MBMessageLocalService
- Throws:
SystemException
subscribeMessage
public void subscribeMessage(long userId,
long messageId)
throws PortalException,
SystemException
- Specified by:
subscribeMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
unsubscribeMessage
public void unsubscribeMessage(long userId,
long messageId)
throws PortalException,
SystemException
- Specified by:
unsubscribeMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
updateAsset
public void updateAsset(long userId,
MBMessage message,
long[] assetCategoryIds,
String[] assetTagNames)
throws PortalException,
SystemException
- Specified by:
updateAsset in interface MBMessageLocalService
- Throws:
PortalException
SystemException
updateDiscussionMessage
public MBMessage updateDiscussionMessage(long userId,
long messageId,
String subject,
String body,
int workflowAction)
throws PortalException,
SystemException
- Specified by:
updateDiscussionMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
updateMessage
public MBMessage updateMessage(long userId,
long messageId,
String subject,
String body,
List<ObjectValuePair<String,byte[]>> files,
List<String> existingFiles,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
updateMessage
public MBMessage updateMessage(long messageId,
String body)
throws PortalException,
SystemException
- Specified by:
updateMessage in interface MBMessageLocalService
- Throws:
PortalException
SystemException
updateStatus
public MBMessage updateStatus(long userId,
long messageId,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Specified by:
updateStatus in interface MBMessageLocalService
- Throws:
PortalException
SystemException
updateUserName
public void updateUserName(long userId,
String userName)
throws SystemException
- Specified by:
updateUserName in interface MBMessageLocalService
- Throws:
SystemException
getWrappedMBMessageLocalService
public MBMessageLocalService getWrappedMBMessageLocalService()