|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.messageboards.service.MBMessageServiceWrapper
public class MBMessageServiceWrapper
This class is a wrapper for MBMessageService.
MBMessageService| Constructor Summary | |
|---|---|
MBMessageServiceWrapper(MBMessageService mbMessageService)
|
|
| Method Summary | |
|---|---|
MBMessage |
addDiscussionMessage(long groupId,
String className,
long classPK,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
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. addMessage(long, String, String, String,
java.util.List, boolean, double, boolean,
com.liferay.portal.service.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 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 |
deleteDiscussionMessage(long groupId,
String className,
long classPK,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
long messageId)
|
void |
deleteMessage(long messageId)
|
void |
deleteMessageAttachments(long messageId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
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,
String threadView,
boolean includePrevAndNext)
|
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 |
getWrappedMBMessageService()
Deprecated. Renamed to getWrappedService() |
MBMessageService |
getWrappedService()
|
void |
restoreMessageAttachmentFromTrash(long messageId,
String fileName)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedMBMessageService(MBMessageService mbMessageService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.messageboards.service.MBMessageService) |
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,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
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 String getBeanIdentifier()
getBeanIdentifier in interface MBMessageServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface MBMessageServicebeanIdentifier - the Spring bean ID for this bean
public MBMessage addDiscussionMessage(long groupId,
String className,
long classPK,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
long threadId,
long parentMessageId,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException,
SystemException
addDiscussionMessage in interface MBMessageServicePortalException
SystemException
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,
SystemException
addMessage(long, String, String, String,
java.util.List, boolean, double, boolean,
com.liferay.portal.service.ServiceContext)
addMessage in interface MBMessageServicePortalException
SystemException
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,
SystemException
addMessage in interface MBMessageServicePortalException
SystemException
public MBMessage addMessage(long categoryId,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException,
SystemException
addMessage in interface MBMessageServicePortalException
SystemException
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,
SystemException
addMessage in interface MBMessageServicePortalException
SystemException
public void deleteDiscussionMessage(long groupId,
String className,
long classPK,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
long messageId)
throws PortalException,
SystemException
deleteDiscussionMessage in interface MBMessageServicePortalException
SystemException
public void deleteMessage(long messageId)
throws PortalException,
SystemException
deleteMessage in interface MBMessageServicePortalException
SystemException
public void deleteMessageAttachments(long messageId)
throws PortalException,
SystemException
deleteMessageAttachments in interface MBMessageServicePortalException
SystemException
public List<MBMessage> getCategoryMessages(long groupId,
long categoryId,
int status,
int start,
int end)
throws PortalException,
SystemException
getCategoryMessages in interface MBMessageServicePortalException
SystemException
public int getCategoryMessagesCount(long groupId,
long categoryId,
int status)
throws SystemException
getCategoryMessagesCount in interface MBMessageServiceSystemException
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,
SystemException
getCategoryMessagesRSS in interface MBMessageServicePortalException
SystemException
public String getCompanyMessagesRSS(long companyId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getCompanyMessagesRSS in interface MBMessageServicePortalException
SystemException
public int getGroupMessagesCount(long groupId,
int status)
throws SystemException
getGroupMessagesCount in interface MBMessageServiceSystemException
public String getGroupMessagesRSS(long groupId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getGroupMessagesRSS in interface MBMessageServicePortalException
SystemException
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,
SystemException
getGroupMessagesRSS in interface MBMessageServicePortalException
SystemException
public MBMessage getMessage(long messageId)
throws PortalException,
SystemException
getMessage in interface MBMessageServicePortalException
SystemException
public MBMessageDisplay getMessageDisplay(long messageId,
int status,
String threadView,
boolean includePrevAndNext)
throws PortalException,
SystemException
getMessageDisplay in interface MBMessageServicePortalException
SystemException
public int getThreadAnswersCount(long groupId,
long categoryId,
long threadId)
throws SystemException
getThreadAnswersCount in interface MBMessageServiceSystemException
public List<MBMessage> getThreadMessages(long groupId,
long categoryId,
long threadId,
int status,
int start,
int end)
throws SystemException
getThreadMessages in interface MBMessageServiceSystemException
public int getThreadMessagesCount(long groupId,
long categoryId,
long threadId,
int status)
throws SystemException
getThreadMessagesCount in interface MBMessageServiceSystemException
public String getThreadMessagesRSS(long threadId,
int status,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
ThemeDisplay themeDisplay)
throws PortalException,
SystemException
getThreadMessagesRSS in interface MBMessageServicePortalException
SystemException
public void restoreMessageAttachmentFromTrash(long messageId,
String fileName)
throws PortalException,
SystemException
restoreMessageAttachmentFromTrash in interface MBMessageServicePortalException
SystemException
public void subscribeMessage(long messageId)
throws PortalException,
SystemException
subscribeMessage in interface MBMessageServicePortalException
SystemException
public void unsubscribeMessage(long messageId)
throws PortalException,
SystemException
unsubscribeMessage in interface MBMessageServicePortalException
SystemException
public void updateAnswer(long messageId,
boolean answer,
boolean cascade)
throws PortalException,
SystemException
updateAnswer in interface MBMessageServicePortalException
SystemException
public MBMessage updateDiscussionMessage(String className,
long classPK,
String permissionClassName,
long permissionClassPK,
long permissionOwnerId,
long messageId,
String subject,
String body,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateDiscussionMessage in interface MBMessageServicePortalException
SystemException
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,
SystemException
updateMessage in interface MBMessageServicePortalException
SystemExceptionpublic MBMessageService getWrappedMBMessageService()
getWrappedService()
public void setWrappedMBMessageService(MBMessageService mbMessageService)
setWrappedService(com.liferay.portlet.messageboards.service.MBMessageService)
public MBMessageService getWrappedService()
getWrappedService in interface ServiceWrapper<MBMessageService>public void setWrappedService(MBMessageService mbMessageService)
setWrappedService in interface ServiceWrapper<MBMessageService>
|
Liferay 6.2.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||