Liferay 6.0.5

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:
SocialRelationLocalService

public class SocialRelationLocalServiceImpl
extends SocialRelationLocalServiceBaseImpl


Field Summary
 
Fields inherited from class com.liferay.portlet.social.service.base.SocialRelationLocalServiceBaseImpl
counterLocalService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, socialActivityFinder, socialActivityInterpreterLocalService, socialActivityLocalService, socialActivityPersistence, socialEquityAssetEntryPersistence, socialEquityHistoryLocalService, socialEquityHistoryPersistence, socialEquityLogLocalService, socialEquityLogPersistence, socialEquitySettingLocalService, socialEquitySettingPersistence, socialEquityUserLocalService, socialEquityUserPersistence, socialRelationLocalService, socialRelationPersistence, socialRequestInterpreterLocalService, socialRequestLocalService, socialRequestPersistence, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
SocialRelationLocalServiceImpl()
           
 
Method Summary
 SocialRelation addRelation(long userId1, long userId2, int type)
           
 void deleteRelation(long relationId)
           
 void deleteRelation(long userId1, long userId2, int type)
           
 void deleteRelation(SocialRelation relation)
           
 void deleteRelations(long userId)
           
 SocialRelation getRelation(long relationId)
           
 SocialRelation getRelation(long userId1, long userId2, int type)
           
 List<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, dynamicQuery, dynamicQueryCount, getCounterLocalService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSocialActivityFinder, getSocialActivityInterpreterLocalService, getSocialActivityLocalService, getSocialActivityPersistence, getSocialEquityAssetEntryPersistence, getSocialEquityHistoryLocalService, getSocialEquityHistoryPersistence, getSocialEquityLogLocalService, getSocialEquityLogPersistence, getSocialEquitySettingLocalService, getSocialEquitySettingPersistence, getSocialEquityUserLocalService, getSocialEquityUserPersistence, getSocialRelation, getSocialRelationLocalService, getSocialRelationPersistence, getSocialRelations, getSocialRelationsCount, getSocialRequestInterpreterLocalService, getSocialRequestLocalService, getSocialRequestPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSocialActivityFinder, setSocialActivityInterpreterLocalService, setSocialActivityLocalService, setSocialActivityPersistence, setSocialEquityAssetEntryPersistence, setSocialEquityHistoryLocalService, setSocialEquityHistoryPersistence, setSocialEquityLogLocalService, setSocialEquityLogPersistence, setSocialEquitySettingLocalService, setSocialEquitySettingPersistence, setSocialEquityUserLocalService, setSocialEquityUserPersistence, 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
 

Constructor Detail

SocialRelationLocalServiceImpl

public SocialRelationLocalServiceImpl()
Method Detail

addRelation

public SocialRelation addRelation(long userId1,
                                  long userId2,
                                  int type)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

deleteRelation

public void deleteRelation(long relationId)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteRelation

public void deleteRelation(long userId1,
                           long userId2,
                           int type)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteRelation

public void deleteRelation(SocialRelation relation)
                    throws PortalException,
                           SystemException
Throws:
PortalException
SystemException

deleteRelations

public void deleteRelations(long userId)
                     throws SystemException
Throws:
SystemException

getRelation

public SocialRelation getRelation(long relationId)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getRelation

public SocialRelation getRelation(long userId1,
                                  long userId2,
                                  int type)
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

getRelations

public List<SocialRelation> getRelations(long userId,
                                         int type,
                                         int start,
                                         int end)
                                  throws SystemException
Throws:
SystemException

getRelationsCount

public int getRelationsCount(long userId,
                             int type)
                      throws SystemException
Throws:
SystemException

hasRelation

public boolean hasRelation(long userId1,
                           long userId2,
                           int type)
                    throws SystemException
Throws:
SystemException

isRelatable

public boolean isRelatable(long userId1,
                           long userId2,
                           int type)
                    throws SystemException
Throws:
SystemException

Liferay 6.0.5