Class MBMessageLocalServiceWrapper
- All Implemented Interfaces:
MBMessageLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<MBMessage>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<MBMessageLocalService>
MBMessageLocalService
.- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDiscussionMessage
(long userId, String userName, long groupId, String className, long classPK, int workflowAction) addDiscussionMessage
(String externalReferenceCode, long userId, String userName, long groupId, String className, long classPK, long threadId, long parentMessageId, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) addMBMessage
(MBMessage mbMessage) Adds the message-boards message to the database.addMessage
(long userId, String userName, long groupId, long categoryId, long threadId, long parentMessageId, String subject, String body, String format, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.addMessage
(long userId, String userName, long groupId, long categoryId, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Cavanaugh (7.4.x), replaced byaddMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)
addMessage
(long userId, String userName, long groupId, long categoryId, String subject, String body, String format, String fileName, File file, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Cavanaugh (7.4.x), replaced byaddMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)
addMessage
(long userId, String userName, long groupId, long categoryId, String subject, String body, String format, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.As of Cavanaugh (7.4.x), replaced byaddMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)
addMessage
(String externalReferenceCode, long userId, String userName, long groupId, long categoryId, long threadId, long parentMessageId, String subject, String body, String format, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
addMessageAttachment
(long userId, long messageId, String fileName, File file, String mimeType) void
addMessageResources
(long messageId, boolean addGroupPermissions, boolean addGuestPermissions) void
addMessageResources
(long messageId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) void
addMessageResources
(MBMessage message, boolean addGroupPermissions, boolean addGuestPermissions) void
addMessageResources
(MBMessage message, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) com.liferay.portal.kernel.repository.model.FileEntry
addTempAttachment
(long groupId, long userId, String folderName, String fileName, InputStream inputStream, String mimeType) createMBMessage
(long messageId) Creates a new message-boards message with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteDiscussionMessage
(long messageId) void
deleteDiscussionMessages
(String className, long classPK) deleteMBMessage
(long messageId) Deletes the message-boards message with the primary key from the database.deleteMBMessage
(MBMessage mbMessage) Deletes the message-boards message from the database.deleteMessage
(long messageId) deleteMessage
(MBMessage message) void
deleteMessageAttachment
(long messageId, String fileName) void
deleteMessageAttachments
(long messageId) com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) void
deleteTempAttachment
(long groupId, long userId, String folderName, String fileName) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery
<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.<T> List<T>
dynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.void
emptyMessageAttachments
(long messageId) fetchFileEntryMessage
(long fileEntryId) fetchFirstMessage
(long threadId, long parentMessageId) fetchMBMessage
(long messageId) fetchMBMessageByExternalReferenceCode
(String externalReferenceCode, long groupId) fetchMBMessageByUrlSubject
(long groupId, String urlSubject) fetchMBMessageByUuidAndGroupId
(String uuid, long groupId) Returns the message-boards message matching the UUID and group.com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getCategoryMessages
(long groupId, long categoryId, int status, int start, int end) getCategoryMessages
(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) getCategoryMessages
(long groupId, long categoryId, long threadId) int
getCategoryMessagesCount
(long groupId, long categoryId, int status) getChildMessages
(long parentMessageId, int status) getChildMessages
(long parentMessageId, int status, int start, int end) int
getChildMessagesCount
(long parentMessageId, int status) getCompanyMessages
(long companyId, int status, int start, int end) getCompanyMessages
(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) int
getCompanyMessagesCount
(long companyId, int status) com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMessage>
getDiscussionMessageDisplay
(long userId, long groupId, String className, long classPK, int status) getDiscussionMessageDisplay
(long userId, long groupId, String className, long classPK, int status, Comparator<MBMessage> comparator) int
getDiscussionMessagesCount
(long classNameId, long classPK, int status) int
getDiscussionMessagesCount
(String className, long classPK, int status) getDiscussions
(String className) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) getFileEntryMessage
(long fileEntryId) getFirstMessage
(long threadId, long parentMessageId) getGroupMessages
(long groupId, int status, int start, int end) getGroupMessages
(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) getGroupMessages
(long groupId, long userId, int status, int start, int end) getGroupMessages
(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) int
getGroupMessagesCount
(long groupId, int status) int
getGroupMessagesCount
(long groupId, long userId, int status) getGroupUserMessageBoardMessagesActivity
(long groupId, long userId, int start, int end) int
getGroupUserMessageBoardMessagesActivityCount
(long groupId, long userId) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
getLastThreadMessage
(long threadId, int status) getMBMessage
(long messageId) Returns the message-boards message with the primary key.getMBMessageByExternalReferenceCode
(String externalReferenceCode, long groupId) getMBMessageByUuidAndGroupId
(String uuid, long groupId) Returns the message-boards message matching the UUID and group.getMBMessages
(int start, int end) Returns a range of all the message-boards messages.getMBMessagesByUuidAndCompanyId
(String uuid, long companyId) Returns all the message-boards messages matching the UUID and company.getMBMessagesByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns a range of message-boards messages matching the UUID and company.int
Returns the number of message-boards messages.getMessage
(long messageId) getMessageDisplay
(long userId, long messageId, int status) getMessageDisplay
(long userId, MBMessage message, int status) getMessageDisplay
(long userId, MBMessage message, int status, Comparator<MBMessage> comparator) getMessages
(String className, long classPK, int status) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) int
getPositionInThread
(long messageId) getRootDiscussionMessages
(String className, long classPK, int status) getRootDiscussionMessages
(String className, long classPK, int status, int start, int end) int
getRootDiscussionMessagesCount
(String className, long classPK, int status) String[]
getTempAttachmentNames
(long groupId, long userId, String folderName) getThreadMessages
(long threadId, int status) getThreadMessages
(long threadId, int status, int start, int end) getThreadMessages
(long threadId, int status, Comparator<MBMessage> comparator) getThreadMessages
(long threadId, long parentMessageId) getThreadMessages
(long userId, long threadId, int status, int start, int end, Comparator<MBMessage> comparator) int
getThreadMessagesCount
(long threadId, boolean answer) int
getThreadMessagesCount
(long threadId, int status) getThreadRepliesMessages
(long threadId, int status, int start, int end) getUserDiscussionMessages
(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) getUserDiscussionMessages
(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) getUserDiscussionMessages
(long userId, String className, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) 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) long
moveMessageAttachmentToTrash
(long userId, long messageId, String fileName) void
restoreMessageAttachmentFromTrash
(long userId, long messageId, String deletedFileName) void
setWrappedService
(MBMessageLocalService mbMessageLocalService) void
subscribeMessage
(long userId, long messageId) void
unsubscribeMessage
(long userId, long messageId) updateAnswer
(long messageId, boolean answer, boolean cascade) updateAnswer
(MBMessage message, boolean answer, boolean cascade) void
updateAsset
(long userId, MBMessage message, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) updateDiscussionMessage
(long userId, long messageId, String className, long classPK, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateMBMessage
(MBMessage mbMessage) Updates the message-boards message in the database or adds it if it does not yet exist.updateMessage
(long userId, long messageId, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateMessage
(long userId, long messageId, String subject, String body, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStatus
(long userId, long messageId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String, Serializable> workflowContext) void
updateUserName
(long userId, String userName) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMessage>, R, E> updateUnsafeFunction) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
MBMessageLocalServiceWrapper
public MBMessageLocalServiceWrapper() -
MBMessageLocalServiceWrapper
-
-
Method Details
-
addDiscussionMessage
public MBMessage addDiscussionMessage(long userId, String userName, long groupId, String className, long classPK, int workflowAction) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addDiscussionMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addDiscussionMessage
public MBMessage addDiscussionMessage(String externalReferenceCode, long userId, String userName, long groupId, String className, long classPK, long threadId, long parentMessageId, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addDiscussionMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMBMessage
Adds the message-boards message to the database. Also notifies the appropriate model listeners.Important: Inspect MBMessageLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
addMBMessage
in interfaceMBMessageLocalService
- Parameters:
mbMessage
- the message-boards message- Returns:
- the message-boards message that was added
-
addMessage
@Deprecated public MBMessage addMessage(long userId, String userName, long groupId, long categoryId, long threadId, long parentMessageId, String subject, String body, String format, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Cavanaugh (7.4.x), replaced byaddMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)
- Specified by:
addMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessage
@Deprecated public MBMessage addMessage(long userId, String userName, long groupId, long categoryId, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException Deprecated.As of Cavanaugh (7.4.x), replaced byaddMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)
- Specified by:
addMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessage
@Deprecated public MBMessage addMessage(long userId, String userName, long groupId, long categoryId, String subject, String body, String format, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Cavanaugh (7.4.x), replaced byaddMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)
- Specified by:
addMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessage
@Deprecated public MBMessage addMessage(long userId, String userName, long groupId, long categoryId, String subject, String body, String format, String fileName, File file, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException, FileNotFoundException Deprecated.As of Cavanaugh (7.4.x), replaced byaddMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)
- Specified by:
addMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
FileNotFoundException
-
addMessage
public MBMessage addMessage(String externalReferenceCode, long userId, String userName, long groupId, long categoryId, long threadId, long parentMessageId, String subject, String body, String format, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, boolean anonymous, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
addMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessageAttachment
public void addMessageAttachment(long userId, long messageId, String fileName, File file, String mimeType) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addMessageAttachment
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessageResources
public void addMessageResources(long messageId, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addMessageResources
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessageResources
public void addMessageResources(long messageId, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addMessageResources
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessageResources
public void addMessageResources(MBMessage message, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addMessageResources
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addMessageResources
public void addMessageResources(MBMessage message, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addMessageResources
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addTempAttachment
public com.liferay.portal.kernel.repository.model.FileEntry addTempAttachment(long groupId, long userId, String folderName, String fileName, InputStream inputStream, String mimeType) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addTempAttachment
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createMBMessage
Creates a new message-boards message with the primary key. Does not add the message-boards message to the database.- Specified by:
createMBMessage
in interfaceMBMessageLocalService
- Parameters:
messageId
- the primary key for the new message-boards message- Returns:
- the new message-boards message
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceMBMessageLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteDiscussionMessage
public MBMessage deleteDiscussionMessage(long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteDiscussionMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteDiscussionMessages
public void deleteDiscussionMessages(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteDiscussionMessages
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteMBMessage
public MBMessage deleteMBMessage(long messageId) throws com.liferay.portal.kernel.exception.PortalException Deletes the message-boards message with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect MBMessageLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteMBMessage
in interfaceMBMessageLocalService
- Parameters:
messageId
- the primary key of the message-boards message- Returns:
- the message-boards message that was removed
- Throws:
PortalException
- if a message-boards message with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteMBMessage
Deletes the message-boards message from the database. Also notifies the appropriate model listeners.Important: Inspect MBMessageLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
deleteMBMessage
in interfaceMBMessageLocalService
- Parameters:
mbMessage
- the message-boards message- Returns:
- the message-boards message that was removed
-
deleteMessage
public MBMessage deleteMessage(long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteMessage
public MBMessage deleteMessage(MBMessage message) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteMessageAttachment
public void deleteMessageAttachment(long messageId, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteMessageAttachment
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteMessageAttachments
public void deleteMessageAttachments(long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteMessageAttachments
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModel
in interfaceMBMessageLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteTempAttachment
public void deleteTempAttachment(long groupId, long userId, String folderName, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteTempAttachment
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceMBMessageLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceMBMessageLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceMBMessageLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceMBMessageLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBMessageModelImpl
.- Specified by:
dynamicQuery
in interfaceMBMessageLocalService
- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBMessageModelImpl
.- Specified by:
dynamicQuery
in interfaceMBMessageLocalService
- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceMBMessageLocalService
- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCount
in interfaceMBMessageLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
emptyMessageAttachments
public void emptyMessageAttachments(long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
emptyMessageAttachments
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFileEntryMessage
public MBMessage fetchFileEntryMessage(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchFileEntryMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchFirstMessage
public MBMessage fetchFirstMessage(long threadId, long parentMessageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
fetchFirstMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchMBMessage
- Specified by:
fetchMBMessage
in interfaceMBMessageLocalService
-
fetchMBMessageByExternalReferenceCode
- Specified by:
fetchMBMessageByExternalReferenceCode
in interfaceMBMessageLocalService
-
fetchMBMessageByUrlSubject
- Specified by:
fetchMBMessageByUrlSubject
in interfaceMBMessageLocalService
-
fetchMBMessageByUuidAndGroupId
Returns the message-boards message matching the UUID and group.- Specified by:
fetchMBMessageByUuidAndGroupId
in interfaceMBMessageLocalService
- Parameters:
uuid
- the message-boards message's UUIDgroupId
- the primary key of the group- Returns:
- the matching message-boards message, or
null
if a matching message-boards message could not be found
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceMBMessageLocalService
-
getCategoryMessages
public List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end) - Specified by:
getCategoryMessages
in interfaceMBMessageLocalService
-
getCategoryMessages
public List<MBMessage> getCategoryMessages(long groupId, long categoryId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - Specified by:
getCategoryMessages
in interfaceMBMessageLocalService
-
getCategoryMessages
- Specified by:
getCategoryMessages
in interfaceMBMessageLocalService
-
getCategoryMessagesCount
public int getCategoryMessagesCount(long groupId, long categoryId, int status) - Specified by:
getCategoryMessagesCount
in interfaceMBMessageLocalService
-
getChildMessages
- Specified by:
getChildMessages
in interfaceMBMessageLocalService
-
getChildMessages
- Specified by:
getChildMessages
in interfaceMBMessageLocalService
-
getChildMessagesCount
public int getChildMessagesCount(long parentMessageId, int status) - Specified by:
getChildMessagesCount
in interfaceMBMessageLocalService
-
getCompanyMessages
- Specified by:
getCompanyMessages
in interfaceMBMessageLocalService
-
getCompanyMessages
public List<MBMessage> getCompanyMessages(long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - Specified by:
getCompanyMessages
in interfaceMBMessageLocalService
-
getCompanyMessagesCount
public int getCompanyMessagesCount(long companyId, int status) - Specified by:
getCompanyMessagesCount
in interfaceMBMessageLocalService
-
getDiscussionMessageDisplay
public MBMessageDisplay getDiscussionMessageDisplay(long userId, long groupId, String className, long classPK, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDiscussionMessageDisplay
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDiscussionMessageDisplay
public MBMessageDisplay getDiscussionMessageDisplay(long userId, long groupId, String className, long classPK, int status, Comparator<MBMessage> comparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getDiscussionMessageDisplay
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDiscussionMessagesCount
public int getDiscussionMessagesCount(long classNameId, long classPK, int status) - Specified by:
getDiscussionMessagesCount
in interfaceMBMessageLocalService
-
getDiscussionMessagesCount
- Specified by:
getDiscussionMessagesCount
in interfaceMBMessageLocalService
-
getDiscussions
- Specified by:
getDiscussions
in interfaceMBMessageLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceMBMessageLocalService
-
getFileEntryMessage
public MBMessage getFileEntryMessage(long fileEntryId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFileEntryMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFirstMessage
public MBMessage getFirstMessage(long threadId, long parentMessageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getFirstMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getGroupMessages
- Specified by:
getGroupMessages
in interfaceMBMessageLocalService
-
getGroupMessages
public List<MBMessage> getGroupMessages(long groupId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - Specified by:
getGroupMessages
in interfaceMBMessageLocalService
-
getGroupMessages
- Specified by:
getGroupMessages
in interfaceMBMessageLocalService
-
getGroupMessages
public List<MBMessage> getGroupMessages(long groupId, long userId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - Specified by:
getGroupMessages
in interfaceMBMessageLocalService
-
getGroupMessagesCount
public int getGroupMessagesCount(long groupId, int status) - Specified by:
getGroupMessagesCount
in interfaceMBMessageLocalService
-
getGroupMessagesCount
public int getGroupMessagesCount(long groupId, long userId, int status) - Specified by:
getGroupMessagesCount
in interfaceMBMessageLocalService
-
getGroupUserMessageBoardMessagesActivity
public List<MBMessage> getGroupUserMessageBoardMessagesActivity(long groupId, long userId, int start, int end) - Specified by:
getGroupUserMessageBoardMessagesActivity
in interfaceMBMessageLocalService
-
getGroupUserMessageBoardMessagesActivityCount
public int getGroupUserMessageBoardMessagesActivityCount(long groupId, long userId) - Specified by:
getGroupUserMessageBoardMessagesActivityCount
in interfaceMBMessageLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceMBMessageLocalService
-
getLastThreadMessage
public MBMessage getLastThreadMessage(long threadId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getLastThreadMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMBMessage
public MBMessage getMBMessage(long messageId) throws com.liferay.portal.kernel.exception.PortalException Returns the message-boards message with the primary key.- Specified by:
getMBMessage
in interfaceMBMessageLocalService
- Parameters:
messageId
- the primary key of the message-boards message- Returns:
- the message-boards message
- Throws:
PortalException
- if a message-boards message with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getMBMessageByExternalReferenceCode
public MBMessage getMBMessageByExternalReferenceCode(String externalReferenceCode, long groupId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getMBMessageByExternalReferenceCode
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMBMessageByUuidAndGroupId
public MBMessage getMBMessageByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the message-boards message matching the UUID and group.- Specified by:
getMBMessageByUuidAndGroupId
in interfaceMBMessageLocalService
- Parameters:
uuid
- the message-boards message's UUIDgroupId
- the primary key of the group- Returns:
- the matching message-boards message
- Throws:
PortalException
- if a matching message-boards message could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getMBMessages
Returns a range of all the message-boards messages.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.message.boards.model.impl.MBMessageModelImpl
.- Specified by:
getMBMessages
in interfaceMBMessageLocalService
- Parameters:
start
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)- Returns:
- the range of message-boards messages
-
getMBMessagesByUuidAndCompanyId
Returns all the message-boards messages matching the UUID and company.- Specified by:
getMBMessagesByUuidAndCompanyId
in interfaceMBMessageLocalService
- Parameters:
uuid
- the UUID of the message-boards messagescompanyId
- the primary key of the company- Returns:
- the matching message-boards messages, or an empty list if no matches were found
-
getMBMessagesByUuidAndCompanyId
public List<MBMessage> getMBMessagesByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) Returns a range of message-boards messages matching the UUID and company.- Specified by:
getMBMessagesByUuidAndCompanyId
in interfaceMBMessageLocalService
- Parameters:
uuid
- the UUID of the message-boards messagescompanyId
- the primary key of the companystart
- the lower bound of the range of message-boards messagesend
- the upper bound of the range of message-boards messages (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching message-boards messages, or an empty list if no matches were found
-
getMBMessagesCount
public int getMBMessagesCount()Returns the number of message-boards messages.- Specified by:
getMBMessagesCount
in interfaceMBMessageLocalService
- Returns:
- the number of message-boards messages
-
getMessage
public MBMessage getMessage(long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMessageDisplay
public MBMessageDisplay getMessageDisplay(long userId, long messageId, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getMessageDisplay
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMessageDisplay
public MBMessageDisplay getMessageDisplay(long userId, MBMessage message, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getMessageDisplay
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMessageDisplay
public MBMessageDisplay getMessageDisplay(long userId, MBMessage message, int status, Comparator<MBMessage> comparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getMessageDisplay
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getMessages
- Specified by:
getMessages
in interfaceMBMessageLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceMBMessageLocalService
- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModel
in interfaceMBMessageLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getPositionInThread
public int getPositionInThread(long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPositionInThread
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRootDiscussionMessages
public List<MBMessage> getRootDiscussionMessages(String className, long classPK, int status) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRootDiscussionMessages
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRootDiscussionMessages
public List<MBMessage> getRootDiscussionMessages(String className, long classPK, int status, int start, int end) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getRootDiscussionMessages
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRootDiscussionMessagesCount
- Specified by:
getRootDiscussionMessagesCount
in interfaceMBMessageLocalService
-
getTempAttachmentNames
public String[] getTempAttachmentNames(long groupId, long userId, String folderName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getTempAttachmentNames
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getThreadMessages
- Specified by:
getThreadMessages
in interfaceMBMessageLocalService
-
getThreadMessages
public List<MBMessage> getThreadMessages(long threadId, int status, Comparator<MBMessage> comparator) - Specified by:
getThreadMessages
in interfaceMBMessageLocalService
-
getThreadMessages
- Specified by:
getThreadMessages
in interfaceMBMessageLocalService
-
getThreadMessages
- Specified by:
getThreadMessages
in interfaceMBMessageLocalService
-
getThreadMessages
public List<MBMessage> getThreadMessages(long userId, long threadId, int status, int start, int end, Comparator<MBMessage> comparator) - Specified by:
getThreadMessages
in interfaceMBMessageLocalService
-
getThreadMessagesCount
public int getThreadMessagesCount(long threadId, boolean answer) - Specified by:
getThreadMessagesCount
in interfaceMBMessageLocalService
-
getThreadMessagesCount
public int getThreadMessagesCount(long threadId, int status) - Specified by:
getThreadMessagesCount
in interfaceMBMessageLocalService
-
getThreadRepliesMessages
- Specified by:
getThreadRepliesMessages
in interfaceMBMessageLocalService
-
getUserDiscussionMessages
public List<MBMessage> getUserDiscussionMessages(long userId, long classNameId, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - Specified by:
getUserDiscussionMessages
in interfaceMBMessageLocalService
-
getUserDiscussionMessages
public List<MBMessage> getUserDiscussionMessages(long userId, long[] classNameIds, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - Specified by:
getUserDiscussionMessages
in interfaceMBMessageLocalService
-
getUserDiscussionMessages
public List<MBMessage> getUserDiscussionMessages(long userId, String className, long classPK, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<MBMessage> orderByComparator) - Specified by:
getUserDiscussionMessages
in interfaceMBMessageLocalService
-
getUserDiscussionMessagesCount
public int getUserDiscussionMessagesCount(long userId, long classNameId, long classPK, int status) - Specified by:
getUserDiscussionMessagesCount
in interfaceMBMessageLocalService
-
getUserDiscussionMessagesCount
public int getUserDiscussionMessagesCount(long userId, long[] classNameIds, int status) - Specified by:
getUserDiscussionMessagesCount
in interfaceMBMessageLocalService
-
getUserDiscussionMessagesCount
- Specified by:
getUserDiscussionMessagesCount
in interfaceMBMessageLocalService
-
moveMessageAttachmentToTrash
public long moveMessageAttachmentToTrash(long userId, long messageId, String fileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
moveMessageAttachmentToTrash
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
restoreMessageAttachmentFromTrash
public void restoreMessageAttachmentFromTrash(long userId, long messageId, String deletedFileName) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
restoreMessageAttachmentFromTrash
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
subscribeMessage
public void subscribeMessage(long userId, long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
subscribeMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
unsubscribeMessage
public void unsubscribeMessage(long userId, long messageId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
unsubscribeMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAnswer
public MBMessage updateAnswer(long messageId, boolean answer, boolean cascade) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAnswer
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAnswer
public MBMessage updateAnswer(MBMessage message, boolean answer, boolean cascade) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAnswer
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateAsset
public void updateAsset(long userId, MBMessage message, long[] assetCategoryIds, String[] assetTagNames, long[] assetLinkEntryIds) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateAsset
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateDiscussionMessage
public MBMessage updateDiscussionMessage(long userId, long messageId, String className, long classPK, String subject, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateDiscussionMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateMBMessage
Updates the message-boards message in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect MBMessageLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Specified by:
updateMBMessage
in interfaceMBMessageLocalService
- Parameters:
mbMessage
- the message-boards message- Returns:
- the message-boards message that was updated
-
updateMessage
public MBMessage updateMessage(long userId, long messageId, String body, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateMessage
public MBMessage updateMessage(long userId, long messageId, String subject, String body, List<com.liferay.portal.kernel.util.ObjectValuePair<String, InputStream>> inputStreamOVPs, double priority, boolean allowPingbacks, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateMessage
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStatus
public MBMessage updateStatus(long userId, long messageId, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, Map<String, Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException- Specified by:
updateStatus
in interfaceMBMessageLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUserName
- Specified by:
updateUserName
in interfaceMBMessageLocalService
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMessage> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<MBMessage>
- Specified by:
getCTPersistence
in interfaceMBMessageLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<MBMessage>
- Specified by:
getModelClass
in interfaceMBMessageLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<MBMessage>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<MBMessage>
- Specified by:
updateWithUnsafeFunction
in interfaceMBMessageLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<MBMessageLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<MBMessageLocalService>
-
addMessage(String, long, String, long, long, long, long, String, String, String, List, boolean, double, boolean, ServiceContext)