Class RelationShipService

    • Constructor Detail

      • RelationShipService

        protected RelationShipService()
    • Method Detail

      • removeRelationShip

        public boolean removeRelationShip​(int idUser1,
                                          int idUser2)
      • isInRelationShip

        public boolean isInRelationShip​(int user1Id,
                                        int user2Id)
      • getAllMyRelationShips

        public List<RelationShip> getAllMyRelationShips​(int myId)
      • getMyContactsIds

        public List<String> getMyContactsIds​(int myId)
      • getAllCommonContactsIds

        public List<String> getAllCommonContactsIds​(int user1Id,
                                                    int user2Id)
      • getRelationShip

        public RelationShip getRelationShip​(int user1Id,
                                            int user2Id)