Package com.axelor.mail.db.repo
Class MailFlagsRepository
- java.lang.Object
-
- com.axelor.db.JpaRepository<MailFlags>
-
- com.axelor.mail.db.repo.MailFlagsRepository
-
- All Implemented Interfaces:
Repository<MailFlags>
public class MailFlagsRepository extends JpaRepository<MailFlags>
-
-
Field Summary
-
Fields inherited from class com.axelor.db.JpaRepository
modelClass
-
-
Constructor Summary
Constructors Constructor Description MailFlagsRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MailFlags
findBy(MailMessage message, User user)
MailFlags
save(MailFlags entity)
Save the given entity.
-
-
-
Method Detail
-
findBy
public MailFlags findBy(MailMessage message, User user)
-
save
public MailFlags save(MailFlags entity)
Description copied from interface:Repository
Save the given entity.Depending on the implementation, it may return same entity or a copy of it. For example JPA implementation may return a copy if the given entity can't be managed.
- Specified by:
save
in interfaceRepository<MailFlags>
- Overrides:
save
in classJpaRepository<MailFlags>
- Parameters:
entity
- the entity object to save- Returns:
- an instance of the entity with saved state
-
-