|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.messageboards.service.MBMessageLocalServiceWrapper
@ProviderType public class MBMessageLocalServiceWrapper
Provides a wrapper for MBMessageLocalService
.
MBMessageLocalService
Constructor Summary | |
---|---|
MBMessageLocalServiceWrapper(MBMessageLocalService mbMessageLocalService)
|
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)
Adds the message-boards message to the database. |
MBMessage |
addMessage(long userId,
String userName,
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)
|
MBMessage |
addMessage(long userId,
String userName,
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 userId,
String userName,
long categoryId,
String subject,
String body,
ServiceContext serviceContext)
|
void |
addMessageResources(long messageId,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(long messageId,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addMessageResources(MBMessage message,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addMessageResources(MBMessage message,
String[] groupPermissions,
String[] guestPermissions)
|
MBMessage |
createMBMessage(long messageId)
Creates a new message-boards message with the primary key. |
MBMessage |
deleteDiscussionMessage(long messageId)
|
void |
deleteDiscussionMessages(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,
String fileName)
|
void |
deleteMessageAttachments(long messageId)
|
DynamicQuery |
dynamicQuery()
|
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
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(String uuid,
long companyId)
Returns the message-boards message with the matching UUID and company. |
MBMessage |
fetchMBMessageByUuidAndGroupId(String uuid,
long groupId)
Returns the message-boards message matching the UUID and group. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
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)
Returns the message-boards message with the primary key. |
MBMessage |
getMBMessageByUuidAndCompanyId(String uuid,
long companyId)
Returns the message-boards message with the matching UUID and company. |
MBMessage |
getMBMessageByUuidAndGroupId(String uuid,
long groupId)
Returns the message-boards message matching the UUID and group. |
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,
String threadView,
boolean includePrevAndNext)
|
MBMessageDisplay |
getMessageDisplay(long userId,
MBMessage message,
int status,
String threadView,
boolean includePrevAndNext)
|
List<MBMessage> |
getMessages(String className,
long classPK,
int status)
|
List<MBMessage> |
getNoAssetMessages()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
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)
|
List<MBMessage> |
getUserDiscussionMessages(long userId,
long[] classNameIds,
int status,
int start,
int end,
OrderByComparator obc)
|
List<MBMessage> |
getUserDiscussionMessages(long userId,
long classNameId,
long classPK,
int status,
int start,
int end,
OrderByComparator obc)
|
List<MBMessage> |
getUserDiscussionMessages(long userId,
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,
String className,
long classPK,
int status)
|
MBMessageLocalService |
getWrappedMBMessageLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
MBMessageLocalService |
getWrappedService()
|
void |
moveDiscussionToTrash(String className,
long classPK)
|
long |
moveMessageAttachmentToTrash(long userId,
long messageId,
String fileName)
|
void |
restoreDiscussionFromTrash(String className,
long classPK)
|
void |
restoreMessageAttachmentFromTrash(long userId,
long messageId,
String deletedFileName)
|
void |
setBeanIdentifier(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,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
MBMessage |
updateDiscussionMessage(long userId,
long messageId,
String className,
long classPK,
String subject,
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,
String subject,
String body,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs,
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 |
Constructor Detail |
---|
public MBMessageLocalServiceWrapper(MBMessageLocalService mbMessageLocalService)
Method Detail |
---|
public MBMessage addMBMessage(MBMessage mbMessage) throws SystemException
addMBMessage
in interface MBMessageLocalService
mbMessage
- the message-boards message
SystemException
- if a system exception occurredpublic MBMessage createMBMessage(long messageId)
createMBMessage
in interface MBMessageLocalService
messageId
- the primary key for the new message-boards message
public MBMessage deleteMBMessage(long messageId) throws PortalException, SystemException
deleteMBMessage
in interface MBMessageLocalService
messageId
- the primary key of the message-boards message
PortalException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredpublic MBMessage deleteMBMessage(MBMessage mbMessage) throws SystemException
deleteMBMessage
in interface MBMessageLocalService
mbMessage
- the message-boards message
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface MBMessageLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface MBMessageLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic 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 MBMessageLocalService
dynamicQuery
- 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 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 MBMessageLocalService
dynamicQuery
- 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 MBMessageLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface MBMessageLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic MBMessage fetchMBMessage(long messageId) throws SystemException
fetchMBMessage
in interface MBMessageLocalService
SystemException
public MBMessage fetchMBMessageByUuidAndCompanyId(String uuid, long companyId) throws SystemException
fetchMBMessageByUuidAndCompanyId
in interface MBMessageLocalService
uuid
- the message-boards message's UUIDcompanyId
- the primary key of the company
null
if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage fetchMBMessageByUuidAndGroupId(String uuid, long groupId) throws SystemException
fetchMBMessageByUuidAndGroupId
in interface MBMessageLocalService
uuid
- the message-boards message's UUIDgroupId
- the primary key of the group
null
if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage getMBMessage(long messageId) throws PortalException, SystemException
getMBMessage
in interface MBMessageLocalService
messageId
- the primary key of the message-boards message
PortalException
- if a message-boards message with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage getMBMessageByUuidAndCompanyId(String uuid, long companyId) throws PortalException, SystemException
getMBMessageByUuidAndCompanyId
in interface MBMessageLocalService
uuid
- the message-boards message's UUIDcompanyId
- the primary key of the company
PortalException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic MBMessage getMBMessageByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getMBMessageByUuidAndGroupId
in interface MBMessageLocalService
uuid
- the message-boards message's UUIDgroupId
- the primary key of the group
PortalException
- if a matching message-boards message could not be found
SystemException
- if a system exception occurredpublic 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 MBMessageLocalService
start
- 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 MBMessageLocalService
SystemException
- if a system exception occurredpublic MBMessage updateMBMessage(MBMessage mbMessage) throws SystemException
updateMBMessage
in interface MBMessageLocalService
mbMessage
- the message-boards message
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface MBMessageLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface MBMessageLocalService
beanIdentifier
- the Spring bean ID for this beanpublic MBMessage addDiscussionMessage(long userId, String userName, long groupId, String className, long classPK, int workflowAction) throws PortalException, SystemException
addDiscussionMessage
in interface MBMessageLocalService
PortalException
SystemException
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
addDiscussionMessage
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage addMessage(long userId, String userName, 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
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage addMessage(long userId, String userName, 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 MBMessageLocalService
PortalException
SystemException
public MBMessage addMessage(long userId, String userName, long categoryId, String subject, String body, ServiceContext serviceContext) throws PortalException, SystemException
addMessage
in interface MBMessageLocalService
PortalException
SystemException
public void addMessageResources(long messageId, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addMessageResources
in interface MBMessageLocalService
PortalException
SystemException
public void addMessageResources(long messageId, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addMessageResources
in interface MBMessageLocalService
PortalException
SystemException
public void addMessageResources(MBMessage message, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
addMessageResources
in interface MBMessageLocalService
PortalException
SystemException
public void addMessageResources(MBMessage message, String[] groupPermissions, String[] guestPermissions) throws PortalException, SystemException
addMessageResources
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage deleteDiscussionMessage(long messageId) throws PortalException, SystemException
deleteDiscussionMessage
in interface MBMessageLocalService
PortalException
SystemException
public void deleteDiscussionMessages(String className, long classPK) throws PortalException, SystemException
deleteDiscussionMessages
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage deleteMessage(long messageId) throws PortalException, SystemException
deleteMessage
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage deleteMessage(MBMessage message) throws PortalException, SystemException
deleteMessage
in interface MBMessageLocalService
PortalException
SystemException
public void deleteMessageAttachment(long messageId, String fileName) throws PortalException, SystemException
deleteMessageAttachment
in interface MBMessageLocalService
PortalException
SystemException
public void deleteMessageAttachments(long messageId) throws PortalException, SystemException
deleteMessageAttachments
in interface MBMessageLocalService
PortalException
SystemException
public List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end) throws SystemException
getCategoryMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end, OrderByComparator obc) throws SystemException
getCategoryMessages
in interface MBMessageLocalService
SystemException
public int getCategoryMessagesCount(long groupId, long categoryId, int status) throws SystemException
getCategoryMessagesCount
in interface MBMessageLocalService
SystemException
public List<MBMessage> getCompanyMessages(long companyId, int status, int start, int end) throws SystemException
getCompanyMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getCompanyMessages(long companyId, int status, int start, int end, OrderByComparator obc) throws SystemException
getCompanyMessages
in interface MBMessageLocalService
SystemException
public int getCompanyMessagesCount(long companyId, int status) throws SystemException
getCompanyMessagesCount
in interface MBMessageLocalService
SystemException
public MBMessageDisplay getDiscussionMessageDisplay(long userId, long groupId, String className, long classPK, int status) throws PortalException, SystemException
getDiscussionMessageDisplay
in interface MBMessageLocalService
PortalException
SystemException
public MBMessageDisplay getDiscussionMessageDisplay(long userId, long groupId, String className, long classPK, int status, String threadView) throws PortalException, SystemException
getDiscussionMessageDisplay
in interface MBMessageLocalService
PortalException
SystemException
public int getDiscussionMessagesCount(long classNameId, long classPK, int status) throws SystemException
getDiscussionMessagesCount
in interface MBMessageLocalService
SystemException
public int getDiscussionMessagesCount(String className, long classPK, int status) throws SystemException
getDiscussionMessagesCount
in interface MBMessageLocalService
SystemException
public List<MBDiscussion> getDiscussions(String className) throws SystemException
getDiscussions
in interface MBMessageLocalService
SystemException
public List<MBMessage> getGroupMessages(long groupId, int status, int start, int end) throws SystemException
getGroupMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getGroupMessages(long groupId, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getGroupMessages(long groupId, long userId, int status, int start, int end) throws SystemException
getGroupMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getGroupMessages(long groupId, long userId, int status, int start, int end, OrderByComparator obc) throws SystemException
getGroupMessages
in interface MBMessageLocalService
SystemException
public int getGroupMessagesCount(long groupId, int status) throws SystemException
getGroupMessagesCount
in interface MBMessageLocalService
SystemException
public int getGroupMessagesCount(long groupId, long userId, int status) throws SystemException
getGroupMessagesCount
in interface MBMessageLocalService
SystemException
public MBMessage getMessage(long messageId) throws PortalException, SystemException
getMessage
in interface MBMessageLocalService
PortalException
SystemException
public MBMessageDisplay getMessageDisplay(long userId, long messageId, int status, String threadView, boolean includePrevAndNext) throws PortalException, SystemException
getMessageDisplay
in interface MBMessageLocalService
PortalException
SystemException
public MBMessageDisplay getMessageDisplay(long userId, MBMessage message, int status, String threadView, boolean includePrevAndNext) throws PortalException, SystemException
getMessageDisplay
in interface MBMessageLocalService
PortalException
SystemException
public List<MBMessage> getMessages(String className, long classPK, int status) throws SystemException
getMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getNoAssetMessages() throws SystemException
getNoAssetMessages
in interface MBMessageLocalService
SystemException
public int getPositionInThread(long messageId) throws PortalException, SystemException
getPositionInThread
in interface MBMessageLocalService
PortalException
SystemException
public List<MBMessage> getThreadMessages(long threadId, int status) throws SystemException
getThreadMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getThreadMessages(long threadId, int status, Comparator<MBMessage> comparator) throws SystemException
getThreadMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getThreadMessages(long threadId, int status, int start, int end) throws SystemException
getThreadMessages
in interface MBMessageLocalService
SystemException
public int getThreadMessagesCount(long threadId, int status) throws SystemException
getThreadMessagesCount
in interface MBMessageLocalService
SystemException
public List<MBMessage> getThreadRepliesMessages(long threadId, int status, int start, int end) throws SystemException
getThreadRepliesMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getUserDiscussionMessages(long userId, long classNameId, long classPK, int status, int start, int end, OrderByComparator obc) throws SystemException
getUserDiscussionMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getUserDiscussionMessages(long userId, long[] classNameIds, int status, int start, int end, OrderByComparator obc) throws SystemException
getUserDiscussionMessages
in interface MBMessageLocalService
SystemException
public List<MBMessage> getUserDiscussionMessages(long userId, String className, long classPK, int status, int start, int end, OrderByComparator obc) throws SystemException
getUserDiscussionMessages
in interface MBMessageLocalService
SystemException
public int getUserDiscussionMessagesCount(long userId, long classNameId, long classPK, int status) throws SystemException
getUserDiscussionMessagesCount
in interface MBMessageLocalService
SystemException
public int getUserDiscussionMessagesCount(long userId, long[] classNameIds, int status) throws SystemException
getUserDiscussionMessagesCount
in interface MBMessageLocalService
SystemException
public int getUserDiscussionMessagesCount(long userId, String className, long classPK, int status) throws SystemException
getUserDiscussionMessagesCount
in interface MBMessageLocalService
SystemException
public void moveDiscussionToTrash(String className, long classPK) throws SystemException
moveDiscussionToTrash
in interface MBMessageLocalService
SystemException
public long moveMessageAttachmentToTrash(long userId, long messageId, String fileName) throws PortalException, SystemException
moveMessageAttachmentToTrash
in interface MBMessageLocalService
PortalException
SystemException
public void restoreDiscussionFromTrash(String className, long classPK) throws SystemException
restoreDiscussionFromTrash
in interface MBMessageLocalService
SystemException
public void restoreMessageAttachmentFromTrash(long userId, long messageId, String deletedFileName) throws PortalException, SystemException
restoreMessageAttachmentFromTrash
in interface MBMessageLocalService
PortalException
SystemException
public void subscribeMessage(long userId, long messageId) throws PortalException, SystemException
subscribeMessage
in interface MBMessageLocalService
PortalException
SystemException
public void unsubscribeMessage(long userId, long messageId) throws PortalException, SystemException
unsubscribeMessage
in interface MBMessageLocalService
PortalException
SystemException
public void updateAnswer(long messageId, boolean answer, boolean cascade) throws PortalException, SystemException
updateAnswer
in interface MBMessageLocalService
PortalException
SystemException
public void updateAnswer(MBMessage message, boolean answer, boolean cascade) throws PortalException, SystemException
updateAnswer
in interface MBMessageLocalService
PortalException
SystemException
public void updateAsset(long userId, MBMessage message, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws PortalException, SystemException
updateAsset
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage updateDiscussionMessage(long userId, long messageId, String className, long classPK, String subject, String body, ServiceContext serviceContext) throws PortalException, SystemException
updateDiscussionMessage
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage updateMessage(long userId, 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 MBMessageLocalService
PortalException
SystemException
public MBMessage updateMessage(long messageId, String body) throws PortalException, SystemException
updateMessage
in interface MBMessageLocalService
PortalException
SystemException
public MBMessage updateStatus(long userId, long messageId, int status, ServiceContext serviceContext) throws PortalException, SystemException
updateStatus
in interface MBMessageLocalService
PortalException
SystemException
public void updateUserName(long userId, String userName) throws SystemException
updateUserName
in interface MBMessageLocalService
SystemException
public 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>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |