public class PrivateMessagingUtil
extends java.lang.Object
| Constructor and Description |
|---|
PrivateMessagingUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String[] |
getAutocompleteRecipientSiteExcludes(long companyId) |
static com.liferay.portal.kernel.json.JSONObject |
getJSONRecipients(long userId,
java.lang.String type,
java.lang.String keywords,
int start,
int end) |
protected static com.liferay.social.privatemessaging.configuration.PrivateMessagingConfiguration |
getPortletConfiguration(long companyId) |
static long |
getThreadRepresentativeUserId(long userId,
long mbThreadId)
Each thread has a user that represents that thread.
|
static java.lang.String |
getThreadSubject(long mbThreadId) |
static java.util.List<com.liferay.portal.kernel.model.User> |
getThreadUsers(long userId,
long mbThreadId) |
static boolean |
isUserPartOfThread(long userId,
long mbThreadId) |
public static com.liferay.portal.kernel.json.JSONObject getJSONRecipients(long userId,
java.lang.String type,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static long getThreadRepresentativeUserId(long userId,
long mbThreadId)
public static java.lang.String getThreadSubject(long mbThreadId)
public static java.util.List<com.liferay.portal.kernel.model.User> getThreadUsers(long userId,
long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic static boolean isUserPartOfThread(long userId,
long mbThreadId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionprotected static java.lang.String[] getAutocompleteRecipientSiteExcludes(long companyId)
protected static com.liferay.social.privatemessaging.configuration.PrivateMessagingConfiguration getPortletConfiguration(long companyId)