com.liferay.portlet.social.service
Class SocialRelationLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.social.service.SocialRelationLocalServiceWrapper
All Implemented Interfaces:
SocialRelationLocalService

public class SocialRelationLocalServiceWrapper
extends java.lang.Object
implements SocialRelationLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for SocialRelationLocalService.

Author:
Brian Wing Shun Chan
See Also:
SocialRelationLocalService
Generated:

Constructor Summary
SocialRelationLocalServiceWrapper(SocialRelationLocalService socialRelationLocalService)
           
 
Method Summary
 SocialRelation addRelation(long userId1, long userId2, int type)
           
 SocialRelation addSocialRelation(SocialRelation socialRelation)
           
 SocialRelation createSocialRelation(long relationId)
           
 void deleteRelation(long relationId)
           
 void deleteRelation(long userId1, long userId2, int type)
           
 void deleteRelation(SocialRelation relation)
           
 void deleteRelations(long userId)
           
 void deleteSocialRelation(long relationId)
           
 void deleteSocialRelation(SocialRelation socialRelation)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 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()
           
 SocialRelationLocalService getWrappedSocialRelationLocalService()
           
 boolean hasRelation(long userId1, long userId2, int type)
           
 boolean isRelatable(long userId1, long userId2, int type)
           
 SocialRelation updateSocialRelation(SocialRelation socialRelation)
           
 SocialRelation updateSocialRelation(SocialRelation socialRelation, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocialRelationLocalServiceWrapper

public SocialRelationLocalServiceWrapper(SocialRelationLocalService socialRelationLocalService)
Method Detail

addSocialRelation

public SocialRelation addSocialRelation(SocialRelation socialRelation)
                                 throws com.liferay.portal.SystemException
Specified by:
addSocialRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

createSocialRelation

public SocialRelation createSocialRelation(long relationId)
Specified by:
createSocialRelation in interface SocialRelationLocalService

deleteSocialRelation

public void deleteSocialRelation(long relationId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
deleteSocialRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteSocialRelation

public void deleteSocialRelation(SocialRelation socialRelation)
                          throws com.liferay.portal.SystemException
Specified by:
deleteSocialRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

getSocialRelation

public SocialRelation getSocialRelation(long relationId)
                                 throws com.liferay.portal.PortalException,
                                        com.liferay.portal.SystemException
Specified by:
getSocialRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getSocialRelations

public java.util.List<SocialRelation> getSocialRelations(int start,
                                                         int end)
                                                  throws com.liferay.portal.SystemException
Specified by:
getSocialRelations in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

getSocialRelationsCount

public int getSocialRelationsCount()
                            throws com.liferay.portal.SystemException
Specified by:
getSocialRelationsCount in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

updateSocialRelation

public SocialRelation updateSocialRelation(SocialRelation socialRelation)
                                    throws com.liferay.portal.SystemException
Specified by:
updateSocialRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

updateSocialRelation

public SocialRelation updateSocialRelation(SocialRelation socialRelation,
                                           boolean merge)
                                    throws com.liferay.portal.SystemException
Specified by:
updateSocialRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

addRelation

public SocialRelation addRelation(long userId1,
                                  long userId2,
                                  int type)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Specified by:
addRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteRelation

public void deleteRelation(long relationId)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteRelation in interface SocialRelationLocalService
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
Specified by:
deleteRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteRelation

public void deleteRelation(SocialRelation relation)
                    throws com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Specified by:
deleteRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteRelations

public void deleteRelations(long userId)
                     throws com.liferay.portal.SystemException
Specified by:
deleteRelations in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

getRelation

public SocialRelation getRelation(long relationId)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Specified by:
getRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getRelation

public SocialRelation getRelation(long userId1,
                                  long userId2,
                                  int type)
                           throws com.liferay.portal.PortalException,
                                  com.liferay.portal.SystemException
Specified by:
getRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getRelations

public java.util.List<SocialRelation> getRelations(long userId,
                                                   int type,
                                                   int start,
                                                   int end)
                                            throws com.liferay.portal.SystemException
Specified by:
getRelations in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

getRelationsCount

public int getRelationsCount(long userId,
                             int type)
                      throws com.liferay.portal.SystemException
Specified by:
getRelationsCount in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

hasRelation

public boolean hasRelation(long userId1,
                           long userId2,
                           int type)
                    throws com.liferay.portal.SystemException
Specified by:
hasRelation in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

isRelatable

public boolean isRelatable(long userId1,
                           long userId2,
                           int type)
                    throws com.liferay.portal.SystemException
Specified by:
isRelatable in interface SocialRelationLocalService
Throws:
com.liferay.portal.SystemException

getWrappedSocialRelationLocalService

public SocialRelationLocalService getWrappedSocialRelationLocalService()