public class UserThreadLocalServiceImpl extends UserThreadLocalServiceBaseImpl
classNameLocalService, classNamePersistence, companyLocalService, companyPersistence, counterLocalService, groupLocalService, groupPersistence, layoutLocalService, layoutPersistence, mbMessageLocalService, mbMessagePersistence, persistedModelLocalServiceRegistry, resourceLocalService, userLocalService, userNotificationEventLocalService, userNotificationEventPersistence, userPersistence, userThreadLocalService, userThreadPersistence| Constructor and Description |
|---|
UserThreadLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected com.liferay.message.boards.kernel.model.MBMessage |
addPrivateMessage(long userId,
long mbThreadId,
long parentMBMessageId,
java.util.List<com.liferay.portal.kernel.model.User> recipients,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
com.liferay.message.boards.kernel.model.MBMessage |
addPrivateMessage(long userId,
long mbThreadId,
java.lang.String to,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
com.liferay.message.boards.kernel.model.MBMessage |
addPrivateMessageBranch(long userId,
long parentMBMessageId,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
void |
addUserThread(long userId,
long mbThreadId,
long topMBMessageId,
boolean read,
boolean deleted) |
void |
deleteUser(long userId) |
void |
deleteUserThread(long userId,
long mbThreadId) |
com.liferay.social.privatemessaging.model.UserThread |
fetchUserThread(long userId,
long mbThreadId) |
java.util.List<com.liferay.social.privatemessaging.model.UserThread> |
getMBThreadUserThreads(long mbThreadId) |
protected com.liferay.social.privatemessaging.configuration.PrivateMessagingConfiguration |
getPrivateMessagingConfiguration(long companyId) |
protected java.lang.String |
getThreadURL(com.liferay.portal.kernel.model.User user,
long threadId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
com.liferay.social.privatemessaging.model.UserThread |
getUserThread(long userId,
long mbThreadId) |
int |
getUserUserThreadCount(long userId,
boolean deleted) |
int |
getUserUserThreadCount(long userId,
boolean read,
boolean deleted) |
java.util.List<com.liferay.social.privatemessaging.model.UserThread> |
getUserUserThreads(long userId,
boolean deleted) |
java.util.List<com.liferay.social.privatemessaging.model.UserThread> |
getUserUserThreads(long userId,
boolean read,
boolean deleted) |
java.util.List<com.liferay.social.privatemessaging.model.UserThread> |
getUserUserThreads(long userId,
boolean deleted,
int start,
int end) |
void |
markUserThreadAsRead(long userId,
long mbThreadId) |
void |
markUserThreadAsUnread(long userId,
long mbThreadId) |
protected java.util.List<com.liferay.portal.kernel.model.User> |
parseRecipients(long userId,
java.lang.String to) |
protected void |
sendEmail(long mbMessageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) |
protected void |
sendNotificationEvent(com.liferay.message.boards.kernel.model.MBMessage mbMessage) |
void |
updateUserName(com.liferay.portal.kernel.model.User user) |
addUserThread, afterPropertiesSet, createUserThread, deletePersistedModel, deleteUserThread, deleteUserThread, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchUserThread, getActionableDynamicQuery, getClassNameLocalService, getClassNamePersistence, getCompanyLocalService, getCompanyPersistence, getCounterLocalService, getGroupLocalService, getGroupPersistence, getIndexableActionableDynamicQuery, getLayoutLocalService, getLayoutPersistence, getMBMessageLocalService, getMBMessagePersistence, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getResourceLocalService, getUserLocalService, getUserNotificationEventLocalService, getUserNotificationEventPersistence, getUserPersistence, getUserThread, getUserThreadLocalService, getUserThreadPersistence, getUserThreads, getUserThreadsCount, initActionableDynamicQuery, runSQL, setClassNameLocalService, setClassNamePersistence, setCompanyLocalService, setCompanyPersistence, setCounterLocalService, setGroupLocalService, setGroupPersistence, setLayoutLocalService, setLayoutPersistence, setMBMessageLocalService, setMBMessagePersistence, setResourceLocalService, setUserLocalService, setUserNotificationEventLocalService, setUserNotificationEventPersistence, setUserPersistence, setUserThreadLocalService, setUserThreadPersistence, updateUserThreadpublic com.liferay.message.boards.kernel.model.MBMessage addPrivateMessage(long userId,
long mbThreadId,
java.lang.String to,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.message.boards.kernel.model.MBMessage addPrivateMessageBranch(long userId,
long parentMBMessageId,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void addUserThread(long userId,
long mbThreadId,
long topMBMessageId,
boolean read,
boolean deleted)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteUser(long userId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void deleteUserThread(long userId,
long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.social.privatemessaging.model.UserThread fetchUserThread(long userId,
long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic java.util.List<com.liferay.social.privatemessaging.model.UserThread> getMBThreadUserThreads(long mbThreadId)
public com.liferay.social.privatemessaging.model.UserThread getUserThread(long userId,
long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic int getUserUserThreadCount(long userId,
boolean deleted)
public int getUserUserThreadCount(long userId,
boolean read,
boolean deleted)
public java.util.List<com.liferay.social.privatemessaging.model.UserThread> getUserUserThreads(long userId,
boolean deleted)
public java.util.List<com.liferay.social.privatemessaging.model.UserThread> getUserUserThreads(long userId,
boolean read,
boolean deleted)
public java.util.List<com.liferay.social.privatemessaging.model.UserThread> getUserUserThreads(long userId,
boolean deleted,
int start,
int end)
public void markUserThreadAsRead(long userId,
long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void markUserThreadAsUnread(long userId,
long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic void updateUserName(com.liferay.portal.kernel.model.User user)
protected com.liferay.message.boards.kernel.model.MBMessage addPrivateMessage(long userId,
long mbThreadId,
long parentMBMessageId,
java.util.List<com.liferay.portal.kernel.model.User> recipients,
java.lang.String subject,
java.lang.String body,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected com.liferay.social.privatemessaging.configuration.PrivateMessagingConfiguration getPrivateMessagingConfiguration(long companyId)
protected java.lang.String getThreadURL(com.liferay.portal.kernel.model.User user,
long threadId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
throws java.lang.Exception
java.lang.Exceptionprotected java.util.List<com.liferay.portal.kernel.model.User> parseRecipients(long userId,
java.lang.String to)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected void sendEmail(long mbMessageId,
com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay)
throws java.lang.Exception
java.lang.Exceptionprotected void sendNotificationEvent(com.liferay.message.boards.kernel.model.MBMessage mbMessage)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException