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