Package net.fortuna.mstor.model
Interface Taggable
-
- All Known Implementing Classes:
MStorMessage
public interface TaggableImplementors support tagging.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTag(String tag)Add the specified model to the associated tags.TagsgetTags()Returns all associated tags.voidremoveTag(String tag)Remove the specified model from the associated tags.
-
-
-
Method Detail
-
addTag
void addTag(String tag) throws javax.mail.MessagingException
Add the specified model to the associated tags.- Parameters:
tag-- Throws:
javax.mail.MessagingException
-
removeTag
void removeTag(String tag) throws javax.mail.MessagingException
Remove the specified model from the associated tags.- Parameters:
tag-- Throws:
javax.mail.MessagingException
-
getTags
Tags getTags() throws javax.mail.MessagingException
Returns all associated tags.- Returns:
- Throws:
javax.mail.MessagingException
-
-