Uses of Class
com.liferay.social.kernel.exception.NoSuchRelationException
Packages that use NoSuchRelationException
-
Uses of NoSuchRelationException in com.liferay.social.kernel.service.persistence
Methods in com.liferay.social.kernel.service.persistence that throw NoSuchRelationExceptionModifier and TypeMethodDescriptionSocialRelationPersistence.findByC_T_First(long companyId, int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where companyId = ? and type = ?.static SocialRelationSocialRelationUtil.findByC_T_First(long companyId, int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where companyId = ? and type = ?.SocialRelationPersistence.findByCompanyId_First(long companyId, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where companyId = ?.static SocialRelationSocialRelationUtil.findByCompanyId_First(long companyId, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where companyId = ?.SocialRelationPersistence.findByPrimaryKey(long relationId) Returns the social relation with the primary key or throws aNoSuchRelationExceptionif it could not be found.static SocialRelationSocialRelationUtil.findByPrimaryKey(long relationId) Returns the social relation with the primary key or throws aNoSuchRelationExceptionif it could not be found.SocialRelationPersistence.findByType_First(int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where type = ?.static SocialRelationSocialRelationUtil.findByType_First(int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where type = ?.SocialRelationPersistence.findByU1_T_First(long userId1, int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId1 = ? and type = ?.static SocialRelationSocialRelationUtil.findByU1_T_First(long userId1, int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId1 = ? and type = ?.SocialRelationPersistence.findByU1_U2_First(long userId1, long userId2, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId1 = ? and userId2 = ?.static SocialRelationSocialRelationUtil.findByU1_U2_First(long userId1, long userId2, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId1 = ? and userId2 = ?.SocialRelationPersistence.findByU1_U2_T(long userId1, long userId2, int type) Returns the social relation where userId1 = ? and userId2 = ? and type = ? or throws aNoSuchRelationExceptionif it could not be found.static SocialRelationSocialRelationUtil.findByU1_U2_T(long userId1, long userId2, int type) Returns the social relation where userId1 = ? and userId2 = ? and type = ? or throws aNoSuchRelationExceptionif it could not be found.SocialRelationPersistence.findByU2_T_First(long userId2, int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId2 = ? and type = ?.static SocialRelationSocialRelationUtil.findByU2_T_First(long userId2, int type, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId2 = ? and type = ?.SocialRelationPersistence.findByUserId1_First(long userId1, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId1 = ?.static SocialRelationSocialRelationUtil.findByUserId1_First(long userId1, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId1 = ?.SocialRelationPersistence.findByUserId2_First(long userId2, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId2 = ?.static SocialRelationSocialRelationUtil.findByUserId2_First(long userId2, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where userId2 = ?.SocialRelationPersistence.findByUuid_C_First(String uuid, long companyId, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where uuid = ? and companyId = ?.static SocialRelationSocialRelationUtil.findByUuid_C_First(String uuid, long companyId, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where uuid = ? and companyId = ?.SocialRelationPersistence.findByUuid_First(String uuid, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where uuid = ?.static SocialRelationSocialRelationUtil.findByUuid_First(String uuid, OrderByComparator<SocialRelation> orderByComparator) Returns the first social relation in the ordered set where uuid = ?.SocialRelationPersistence.remove(long relationId) Removes the social relation with the primary key from the database.static SocialRelationSocialRelationUtil.remove(long relationId) Removes the social relation with the primary key from the database.SocialRelationPersistence.removeByU1_U2_T(long userId1, long userId2, int type) Removes the social relation where userId1 = ? and userId2 = ? and type = ? from the database.static SocialRelationSocialRelationUtil.removeByU1_U2_T(long userId1, long userId2, int type) Removes the social relation where userId1 = ? and userId2 = ? and type = ? from the database.