|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for a Repository to store Mails.
Field Summary | |
static java.lang.String |
MAIL
Define a MAIL repository. |
Method Summary | |
java.util.Iterator |
list()
List string keys of messages in repository. |
boolean |
lock(java.lang.String key)
Obtains a lock on a message identified by key |
void |
remove(MailImpl mail)
Removes a specified message |
void |
remove(java.lang.String key)
Removes a message identified by key. |
MailImpl |
retrieve(java.lang.String key)
Retrieves a message given a key. |
void |
store(MailImpl mc)
Stores a message in this repository. |
boolean |
unlock(java.lang.String key)
Releases a lock on a message identified the key |
Field Detail |
public static final java.lang.String MAIL
Method Detail |
public void store(MailImpl mc)
public java.util.Iterator list()
public MailImpl retrieve(java.lang.String key)
public void remove(MailImpl mail)
public void remove(java.lang.String key)
public boolean lock(java.lang.String key)
public boolean unlock(java.lang.String key)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |