Package com.axelor.mail.db.repo
Class MailFollowerRepository
- java.lang.Object
-
- com.axelor.db.JpaRepository<MailFollower>
-
- com.axelor.mail.db.repo.MailFollowerRepository
-
- All Implemented Interfaces:
Repository<MailFollower>
public class MailFollowerRepository extends JpaRepository<MailFollower>
-
-
Field Summary
-
Fields inherited from class com.axelor.db.JpaRepository
modelClass
-
-
Constructor Summary
Constructors Constructor Description MailFollowerRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<MailFollower>
findAll(Model entity)
List<MailFollower>
findAll(Model entity, int limit)
List<Map<String,Object>>
findFollowers(Model entity)
MailFollower
findOne(Model entity, User user)
MailFollower
findOne(Model entity, MailAddress address)
void
follow(Model entity, User user)
void
follow(Model entity, MailAddress address)
boolean
isFollowing(Model entity, User user)
void
unfollow(Model entity, User user)
void
unfollow(MailFollower follower)
-
-
-
Method Detail
-
findAll
public List<MailFollower> findAll(Model entity)
-
findAll
public List<MailFollower> findAll(Model entity, int limit)
-
findOne
public MailFollower findOne(Model entity, User user)
-
findOne
public MailFollower findOne(Model entity, MailAddress address)
-
follow
public void follow(Model entity, MailAddress address)
-
unfollow
public void unfollow(MailFollower follower)
-
-