com.liferay.portlet.social.service.impl
Class SocialRelationLocalServiceImpl
java.lang.Object
com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl
com.liferay.portlet.social.service.impl.SocialRelationLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.social.service.SocialRelationLocalService
public class SocialRelationLocalServiceImpl
- extends SocialRelationLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Fields inherited from class com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl |
counterLocalService, counterService, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLocalService, socialActivityPersistence, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService |
Method Summary |
com.liferay.portlet.social.model.SocialRelation |
addRelation(long userId1,
long userId2,
int type)
|
void |
deleteRelation(long relationId)
|
void |
deleteRelation(long userId1,
long userId2,
int type)
|
void |
deleteRelations(long userId)
|
com.liferay.portlet.social.model.SocialRelation |
getRelation(long relationId)
|
com.liferay.portlet.social.model.SocialRelation |
getRelation(long userId1,
long userId2,
int type)
|
java.util.List<com.liferay.portlet.social.model.SocialRelation> |
getRelations(long userId,
int type,
int start,
int end)
|
int |
getRelationsCount(long userId,
int type)
|
boolean |
hasRelation(long userId1,
long userId2,
int type)
|
boolean |
isRelatable(long userId1,
long userId2,
int type)
|
Methods inherited from class com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl |
addSocialRelation, createSocialRelation, deleteSocialRelation, deleteSocialRelation, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLocalService, getSocialActivityPersistence, getSocialRelation, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRelations, getSocialRelationsCount, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLocalService, setSocialActivityPersistence, setSocialRelationLocalService, setSocialRelationPersistence, setSocialRequestInterpreterLocalService, setSocialRequestLocalService, setSocialRequestPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSocialRelation, updateSocialRelation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocialRelationLocalServiceImpl
public SocialRelationLocalServiceImpl()
addRelation
public com.liferay.portlet.social.model.SocialRelation addRelation(long userId1,
long userId2,
int type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteRelation
public void deleteRelation(long relationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteRelation
public void deleteRelation(long userId1,
long userId2,
int type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteRelations
public void deleteRelations(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelation
public com.liferay.portlet.social.model.SocialRelation getRelation(long relationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getRelation
public com.liferay.portlet.social.model.SocialRelation getRelation(long userId1,
long userId2,
int type)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getRelations
public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(long userId,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationsCount
public int getRelationsCount(long userId,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasRelation
public boolean hasRelation(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
isRelatable
public boolean isRelatable(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException