|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.messageboards.service.MBMessageServiceWrapper
@ProviderType public class MBMessageServiceWrapper
Provides a wrapper for MBMessageService.
MBMessageService| Constructor Summary | |
|---|---|
MBMessageServiceWrapper(MBMessageService mbMessageService)
|
|
| Method Summary | |
|---|---|
MBMessage |
addDiscussionMessage(long groupId,
String className,
long classPK,
long threadId,
long parentMessageId,
String subject,
String body,
ServiceContext serviceContext)
|
MBMessage |
addMessage(long groupId,
long categoryId,
long threadId,
long parentMessageId,
String subject,
String body,
String format,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
Deprecated. As of 6.2.0, replaced by addMessage(long, String,
String, String, List, boolean, double, boolean,
ServiceContext) |
MBMessage |
addMessage(long groupId,
long categoryId,
String subject,
String body,
String format,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
|
MBMessage |
addMessage(long groupId,
long categoryId,
String subject,
String body,
String format,
String fileName,
File file,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
|
MBMessage |
addMessage(long categoryId,
String subject,
String body,
ServiceContext serviceContext)
|
MBMessage |
addMessage(long parentMessageId,
String subject,
String body,
String format,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
|
void |
addMessageAttachment(long messageId,
String fileName,
File file,
String mimeType)
|
void |
deleteDiscussionMessage(long messageId)
|
void |
deleteDiscussionMessage(long groupId,
String className,
long classPK,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
long messageId)
Deprecated. As of 7.0.0, replaced by deleteDiscussionMessage(long) |
void |
deleteMessage(long messageId)
|
void |
deleteMessageAttachment(long messageId,
String fileName)
|
void |
deleteMessageAttachments(long messageId)
|
void |
emptyMessageAttachments(long messageId)
|
List<MBMessage> |
getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
|
int |
getCategoryMessagesCount(long groupId,
long categoryId,
int status)
|
String |
getCategoryMessagesRSS(long groupId,
long categoryId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
String |
getCompanyMessagesRSS(long companyId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
int |
getGroupMessagesCount(long groupId,
int status)
|
String |
getGroupMessagesRSS(long groupId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
String |
getGroupMessagesRSS(long groupId,
long userId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
MBMessage |
getMessage(long messageId)
|
MBMessageDisplay |
getMessageDisplay(long messageId,
int status,
boolean includePrevAndNext)
|
MBMessageDisplay |
getMessageDisplay(long messageId,
int status,
String threadView,
boolean includePrevAndNext)
Deprecated. As of 7.0.0, replaced by getMessageDisplay(long, int,
boolean) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
int |
getThreadAnswersCount(long groupId,
long categoryId,
long threadId)
|
List<MBMessage> |
getThreadMessages(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end)
|
int |
getThreadMessagesCount(long groupId,
long categoryId,
long threadId,
int status)
|
String |
getThreadMessagesRSS(long threadId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
|
MBMessageService |
getWrappedService()
|
void |
restoreMessageAttachmentFromTrash(long messageId,
String fileName)
|
void |
setWrappedService(MBMessageService mbMessageService)
|
void |
subscribeMessage(long messageId)
|
void |
unsubscribeMessage(long messageId)
|
void |
updateAnswer(long messageId,
boolean answer,
boolean cascade)
|
MBMessage |
updateDiscussionMessage(String className,
long classPK,
long messageId,
String subject,
String body,
ServiceContext serviceContext)
|
MBMessage |
updateMessage(long messageId,
String subject,
String body,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
List<String> existingFiles,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MBMessageServiceWrapper(MBMessageService mbMessageService)
| Method Detail |
|---|
public MBMessage addDiscussionMessage(long groupId,
String className,
long classPK,
long threadId,
long parentMessageId,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException
addDiscussionMessage in interface MBMessageServicePortalException
public MBMessage addMessage(long categoryId,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException
addMessage in interface MBMessageServicePortalException
public MBMessage addMessage(long groupId,
long categoryId,
String subject,
String body,
String format,
String fileName,
File file,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException,
FileNotFoundException
addMessage in interface MBMessageServicePortalException
FileNotFoundException
public MBMessage addMessage(long groupId,
long categoryId,
String subject,
String body,
String format,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException
addMessage in interface MBMessageServicePortalException
@Deprecated
public MBMessage addMessage(long groupId,
long categoryId,
long threadId,
long parentMessageId,
String subject,
String body,
String format,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException
addMessage(long, String,
String, String, List, boolean, double, boolean,
ServiceContext)
addMessage in interface MBMessageServicePortalException
public MBMessage addMessage(long parentMessageId,
String subject,
String body,
String format,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
boolean anonymous,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException
addMessage in interface MBMessageServicePortalException
public void addMessageAttachment(long messageId,
String fileName,
File file,
String mimeType)
throws PortalException
addMessageAttachment in interface MBMessageServicePortalException
@Deprecated
public void deleteDiscussionMessage(long groupId,
String className,
long classPK,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
long messageId)
throws PortalException
deleteDiscussionMessage(long)
deleteDiscussionMessage in interface MBMessageServicePortalException
public void deleteDiscussionMessage(long messageId)
throws PortalException
deleteDiscussionMessage in interface MBMessageServicePortalException
public void deleteMessage(long messageId)
throws PortalException
deleteMessage in interface MBMessageServicePortalException
public void deleteMessageAttachment(long messageId,
String fileName)
throws PortalException
deleteMessageAttachment in interface MBMessageServicePortalException
public void deleteMessageAttachments(long messageId)
throws PortalException
deleteMessageAttachments in interface MBMessageServicePortalException
public void emptyMessageAttachments(long messageId)
throws PortalException
emptyMessageAttachments in interface MBMessageServicePortalException
public List<MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
throws PortalException
getCategoryMessages in interface MBMessageServicePortalException
public int getCategoryMessagesCount(long groupId,
long categoryId,
int status)
getCategoryMessagesCount in interface MBMessageService
public String getCategoryMessagesRSS(long groupId,
long categoryId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException
getCategoryMessagesRSS in interface MBMessageServicePortalException
public String getCompanyMessagesRSS(long companyId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException
getCompanyMessagesRSS in interface MBMessageServicePortalException
public int getGroupMessagesCount(long groupId,
int status)
getGroupMessagesCount in interface MBMessageService
public String getGroupMessagesRSS(long groupId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException
getGroupMessagesRSS in interface MBMessageServicePortalException
public String getGroupMessagesRSS(long groupId,
long userId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException
getGroupMessagesRSS in interface MBMessageServicePortalException
public MBMessage getMessage(long messageId)
throws PortalException
getMessage in interface MBMessageServicePortalException
public MBMessageDisplay getMessageDisplay(long messageId,
int status,
boolean includePrevAndNext)
throws PortalException
getMessageDisplay in interface MBMessageServicePortalException
@Deprecated
public MBMessageDisplay getMessageDisplay(long messageId,
int status,
String threadView,
boolean includePrevAndNext)
throws PortalException
getMessageDisplay(long, int,
boolean)
getMessageDisplay in interface MBMessageServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface MBMessageService
public int getThreadAnswersCount(long groupId,
long categoryId,
long threadId)
getThreadAnswersCount in interface MBMessageService
public List<MBMessage> getThreadMessages(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end)
getThreadMessages in interface MBMessageService
public int getThreadMessagesCount(long groupId,
long categoryId,
long threadId,
int status)
getThreadMessagesCount in interface MBMessageService
public String getThreadMessagesRSS(long threadId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException
getThreadMessagesRSS in interface MBMessageServicePortalException
public void restoreMessageAttachmentFromTrash(long messageId,
String fileName)
throws PortalException
restoreMessageAttachmentFromTrash in interface MBMessageServicePortalException
public void subscribeMessage(long messageId)
throws PortalException
subscribeMessage in interface MBMessageServicePortalException
public void unsubscribeMessage(long messageId)
throws PortalException
unsubscribeMessage in interface MBMessageServicePortalException
public void updateAnswer(long messageId,
boolean answer,
boolean cascade)
throws PortalException
updateAnswer in interface MBMessageServicePortalException
public MBMessage updateDiscussionMessage(String className,
long classPK,
long messageId,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException
updateDiscussionMessage in interface MBMessageServicePortalException
public MBMessage updateMessage(long messageId,
String subject,
String body,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
List<String> existingFiles,
double priority,
boolean allowPingbacks,
ServiceContext serviceContext)
throws PortalException
updateMessage in interface MBMessageServicePortalExceptionpublic MBMessageService getWrappedService()
getWrappedService in interface ServiceWrapper<MBMessageService>public void setWrappedService(MBMessageService mbMessageService)
setWrappedService in interface ServiceWrapper<MBMessageService>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||