com.liferay.portlet.social.service
Class SocialRequestLocalServiceUtil
java.lang.Object
com.liferay.portlet.social.service.SocialRequestLocalServiceUtil
public class SocialRequestLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
com.liferay.portlet.social.service.SocialRequestLocalService
bean. The static methods of this class calls the same methods of the bean
instance. It's convenient to be able to just write one line to call a method
on a bean instead of writing a lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
SocialRequestLocalService
Method Summary |
static SocialRequest |
addRequest(long userId,
long groupId,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
|
static SocialRequest |
addSocialRequest(SocialRequest socialRequest)
|
static SocialRequest |
createSocialRequest(long requestId)
|
static void |
deleteReceiverUserRequests(long receiverUserId)
|
static void |
deleteRequest(long requestId)
|
static void |
deleteSocialRequest(long requestId)
|
static void |
deleteSocialRequest(SocialRequest socialRequest)
|
static void |
deleteUserRequests(long userId)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List<SocialRequest> |
getReceiverUserRequests(long receiverUserId,
int start,
int end)
|
static java.util.List<SocialRequest> |
getReceiverUserRequests(long receiverUserId,
int status,
int start,
int end)
|
static int |
getReceiverUserRequestsCount(long receiverUserId)
|
static int |
getReceiverUserRequestsCount(long receiverUserId,
int status)
|
static SocialRequestLocalService |
getService()
|
static SocialRequest |
getSocialRequest(long requestId)
|
static java.util.List<SocialRequest> |
getSocialRequests(int start,
int end)
|
static int |
getSocialRequestsCount()
|
static java.util.List<SocialRequest> |
getUserRequests(long userId,
int start,
int end)
|
static java.util.List<SocialRequest> |
getUserRequests(long userId,
int status,
int start,
int end)
|
static int |
getUserRequestsCount(long userId)
|
static int |
getUserRequestsCount(long userId,
int status)
|
static boolean |
hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
int status)
|
static boolean |
hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
long receiverUserId,
int status)
|
void |
setService(SocialRequestLocalService service)
|
static SocialRequest |
updateRequest(long requestId,
int status,
ThemeDisplay themeDisplay)
|
static SocialRequest |
updateSocialRequest(SocialRequest socialRequest)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialRequestLocalServiceUtil
public SocialRequestLocalServiceUtil()
addSocialRequest
public static SocialRequest addSocialRequest(SocialRequest socialRequest)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createSocialRequest
public static SocialRequest createSocialRequest(long requestId)
deleteSocialRequest
public static void deleteSocialRequest(long requestId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteSocialRequest
public static void deleteSocialRequest(SocialRequest socialRequest)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSocialRequest
public static SocialRequest getSocialRequest(long requestId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getSocialRequests
public static java.util.List<SocialRequest> getSocialRequests(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSocialRequestsCount
public static int getSocialRequestsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateSocialRequest
public static SocialRequest updateSocialRequest(SocialRequest socialRequest)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRequest
public static SocialRequest addRequest(long userId,
long groupId,
java.lang.String className,
long classPK,
int type,
java.lang.String extraData,
long receiverUserId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteReceiverUserRequests
public static void deleteReceiverUserRequests(long receiverUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteRequest
public static void deleteRequest(long requestId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteUserRequests
public static void deleteUserRequests(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReceiverUserRequests
public static java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReceiverUserRequests
public static java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
int status,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReceiverUserRequestsCount
public static int getReceiverUserRequestsCount(long receiverUserId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getReceiverUserRequestsCount
public static int getReceiverUserRequestsCount(long receiverUserId,
int status)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserRequests
public static java.util.List<SocialRequest> getUserRequests(long userId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserRequests
public static java.util.List<SocialRequest> getUserRequests(long userId,
int status,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserRequestsCount
public static int getUserRequestsCount(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getUserRequestsCount
public static int getUserRequestsCount(long userId,
int status)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasRequest
public static boolean hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
int status)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasRequest
public static boolean hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
long receiverUserId,
int status)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateRequest
public static SocialRequest updateRequest(long requestId,
int status,
ThemeDisplay themeDisplay)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static SocialRequestLocalService getService()
setService
public void setService(SocialRequestLocalService service)