|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface MBMessageService
Provides the remote service interface for MBMessage. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
MBMessageServiceUtil
,
com.liferay.portlet.messageboards.service.base.MBMessageServiceBaseImpl
,
com.liferay.portlet.messageboards.service.impl.MBMessageServiceImpl
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. As of 6.2.0, replaced by 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)
|
void |
restoreMessageAttachmentFromTrash(long messageId,
String fileName)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
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)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanMBMessage 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
PortalException
SystemException
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)
PortalException
SystemException
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
PortalException
SystemException
MBMessage addMessage(long categoryId, String subject, String body, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
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
PortalException
SystemException
void deleteDiscussionMessage(long groupId, String className, long classPK, String permissionClassName, long permissionClassPK, long permissionOwnerId, long messageId) throws PortalException, SystemException
PortalException
SystemException
void deleteMessage(long messageId) throws PortalException, SystemException
PortalException
SystemException
void deleteMessageAttachments(long messageId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getCategoryMessagesCount(long groupId, long categoryId, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String getCompanyMessagesRSS(long companyId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getGroupMessagesCount(long groupId, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String getGroupMessagesRSS(long groupId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) 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
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) MBMessage getMessage(long messageId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) MBMessageDisplay getMessageDisplay(long messageId, int status, String threadView, boolean includePrevAndNext) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getThreadAnswersCount(long groupId, long categoryId, long threadId) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<MBMessage> getThreadMessages(long groupId, long categoryId, long threadId, int status, int start, int end) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getThreadMessagesCount(long groupId, long categoryId, long threadId, int status) throws SystemException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String getThreadMessagesRSS(long threadId, int status, int max, String type, double version, String displayStyle, String feedURL, String entryURL, ThemeDisplay themeDisplay) throws PortalException, SystemException
PortalException
SystemException
void restoreMessageAttachmentFromTrash(long messageId, String fileName) throws PortalException, SystemException
PortalException
SystemException
void subscribeMessage(long messageId) throws PortalException, SystemException
PortalException
SystemException
void unsubscribeMessage(long messageId) throws PortalException, SystemException
PortalException
SystemException
void updateAnswer(long messageId, boolean answer, boolean cascade) throws PortalException, SystemException
PortalException
SystemException
MBMessage updateDiscussionMessage(String className, long classPK, String permissionClassName, long permissionClassPK, long permissionOwnerId, long messageId, String subject, String body, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
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
PortalException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |