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
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
- Generated:
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)
|
static SocialRequest |
updateSocialRequest(SocialRequest socialRequest,
boolean merge)
|
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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
createSocialRequest
public static SocialRequest createSocialRequest(long requestId)
deleteSocialRequest
public static void deleteSocialRequest(long requestId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteSocialRequest
public static void deleteSocialRequest(SocialRequest socialRequest)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getSocialRequest
public static SocialRequest getSocialRequest(long requestId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getSocialRequests
public static java.util.List<SocialRequest> getSocialRequests(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getSocialRequestsCount
public static int getSocialRequestsCount()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateSocialRequest
public static SocialRequest updateSocialRequest(SocialRequest socialRequest)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateSocialRequest
public static SocialRequest updateSocialRequest(SocialRequest socialRequest,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteReceiverUserRequests
public static void deleteReceiverUserRequests(long receiverUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteRequest
public static void deleteRequest(long requestId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteUserRequests
public static void deleteUserRequests(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getReceiverUserRequests
public static java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getReceiverUserRequests
public static java.util.List<SocialRequest> getReceiverUserRequests(long receiverUserId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getReceiverUserRequestsCount
public static int getReceiverUserRequestsCount(long receiverUserId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getReceiverUserRequestsCount
public static int getReceiverUserRequestsCount(long receiverUserId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUserRequests
public static java.util.List<SocialRequest> getUserRequests(long userId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUserRequests
public static java.util.List<SocialRequest> getUserRequests(long userId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUserRequestsCount
public static int getUserRequestsCount(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUserRequestsCount
public static int getUserRequestsCount(long userId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
hasRequest
public static boolean hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
hasRequest
public static boolean hasRequest(long userId,
java.lang.String className,
long classPK,
int type,
long receiverUserId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateRequest
public static SocialRequest updateRequest(long requestId,
int status,
ThemeDisplay themeDisplay)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getService
public static SocialRequestLocalService getService()
setService
public void setService(SocialRequestLocalService service)