Package net.fortuna.mstor.model
Interface Taggable
-
- All Known Implementing Classes:
MStorMessage
public interface Taggable
Implementors support tagging.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addTag(String tag)
Add the specified model to the associated tags.Tags
getTags()
Returns all associated tags.void
removeTag(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
-
-