com.liferay.portlet.social.service
Interface SocialRelationLocalService
public interface SocialRelationLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.social.service.impl.SocialRelationLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
SocialRelationLocalServiceUtil
Method Summary |
SocialRelation |
addRelation(long userId1,
long userId2,
int type)
|
SocialRelation |
addSocialRelation(SocialRelation socialRelation)
|
void |
deleteRelation(long relationId)
|
void |
deleteRelation(long userId1,
long userId2,
int type)
|
void |
deleteRelations(long userId)
|
void |
deleteSocialRelation(long relationId)
|
void |
deleteSocialRelation(SocialRelation socialRelation)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
SocialRelation |
getRelation(long relationId)
|
SocialRelation |
getRelation(long userId1,
long userId2,
int type)
|
java.util.List<SocialRelation> |
getRelations(long userId,
int type,
int start,
int end)
|
int |
getRelationsCount(long userId,
int type)
|
SocialRelation |
getSocialRelation(long relationId)
|
java.util.List<SocialRelation> |
getSocialRelations(int start,
int end)
|
int |
getSocialRelationsCount()
|
boolean |
hasRelation(long userId1,
long userId2,
int type)
|
boolean |
isRelatable(long userId1,
long userId2,
int type)
|
SocialRelation |
updateSocialRelation(SocialRelation socialRelation)
|
addSocialRelation
SocialRelation addSocialRelation(SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteSocialRelation
void deleteSocialRelation(long relationId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteSocialRelation
void deleteSocialRelation(SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
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
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
getSocialRelation
SocialRelation getSocialRelation(long relationId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getSocialRelations
java.util.List<SocialRelation> getSocialRelations(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getSocialRelationsCount
int getSocialRelationsCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateSocialRelation
SocialRelation updateSocialRelation(SocialRelation socialRelation)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addRelation
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
void deleteRelation(long relationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteRelation
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
void deleteRelations(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelation
SocialRelation getRelation(long relationId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getRelation
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
java.util.List<SocialRelation> getRelations(long userId,
int type,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getRelationsCount
int getRelationsCount(long userId,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
hasRelation
boolean hasRelation(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
isRelatable
boolean isRelatable(long userId1,
long userId2,
int type)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException