Package com.axelor.mail.db
Class MailFlags
- java.lang.Object
-
- com.axelor.db.Model
-
- com.axelor.auth.db.AuditableModel
-
- com.axelor.mail.db.MailFlags
-
@Entity public class MailFlags extends AuditableModel
The model to store message flags like unread, starred, voted etc.
-
-
Constructor Summary
Constructors Constructor Description MailFlags()
MailFlags(User user, MailMessage message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Long
getId()
Boolean
getIsArchived()
Boolean
getIsRead()
Boolean
getIsStarred()
MailMessage
getMessage()
User
getUser()
int
hashCode()
void
setId(Long id)
void
setIsArchived(Boolean isArchived)
void
setIsRead(Boolean isRead)
void
setIsStarred(Boolean isStarred)
void
setMessage(MailMessage message)
void
setUser(User user)
String
toString()
-
Methods inherited from class com.axelor.auth.db.AuditableModel
getCreatedBy, getCreatedOn, getUpdatedBy, getUpdatedOn
-
Methods inherited from class com.axelor.db.Model
getArchived, getCid, getVersion, isSelected, setArchived, setCid, setSelected, setVersion
-
-
-
-
Constructor Detail
-
MailFlags
public MailFlags()
-
MailFlags
public MailFlags(User user, MailMessage message)
-
-
Method Detail
-
getUser
public User getUser()
-
setUser
public void setUser(User user)
-
getMessage
public MailMessage getMessage()
-
setMessage
public void setMessage(MailMessage message)
-
getIsStarred
public Boolean getIsStarred()
-
setIsStarred
public void setIsStarred(Boolean isStarred)
-
getIsRead
public Boolean getIsRead()
-
setIsRead
public void setIsRead(Boolean isRead)
-
getIsArchived
public Boolean getIsArchived()
-
setIsArchived
public void setIsArchived(Boolean isArchived)
-
-