com.liferay.portlet.social.service.impl
Class SocialRelationLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl
      extended by com.liferay.portlet.social.service.impl.SocialRelationLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.social.service.SocialRelationLocalService, org.springframework.beans.factory.InitializingBean

public class SocialRelationLocalServiceImpl
extends SocialRelationLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl
counterLocalService, counterService, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLocalService, socialActivityPersistence, socialRelationFinder, socialRelationPersistence, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SocialRelationLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.social.model.SocialRelation addRelation(long userId1, long userId2, int type)
           
 void deleteRelation(long relationId)
           
 void deleteRelations(long userId)
           
 java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(long userId, int type, int begin, int end)
           
 
Methods inherited from class com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl
addSocialRelation, afterPropertiesSet, deleteSocialRelation, deleteSocialRelation, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLocalService, getSocialActivityPersistence, getSocialRelationFinder, getSocialRelationPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLocalService, setSocialActivityPersistence, setSocialRelationFinder, setSocialRelationPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateSocialRelation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRelationLocalServiceImpl

public SocialRelationLocalServiceImpl()
Method Detail

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

deleteRelations

public void deleteRelations(long userId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getRelations

public java.util.List<com.liferay.portlet.social.model.SocialRelation> getRelations(long userId,
                                                                                    int type,
                                                                                    int begin,
                                                                                    int end)
                                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException