|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpoolManagementService
Field Summary | |
---|---|
static java.lang.String |
ROLE
|
Method Summary | |
---|---|
java.util.List |
getSpoolItems(java.lang.String spoolRepositoryURL,
SpoolFilter filter)
Return a List which contains all mails which can accessed by given spoolRepositoryUrl and matched the given SpoolFilter |
int |
moveSpoolItems(java.lang.String srcSpoolRepositoryURL,
java.lang.String dstSpoolRepositoryURL,
java.lang.String dstState,
SpoolFilter filter)
Move all mails from the given repository to another repository matching the given filter criteria |
int |
removeSpoolItems(java.lang.String spoolRepositoryURL,
java.lang.String key,
java.util.List lockingFailures,
SpoolFilter filter)
Removes all mails from the given repository matching the filter |
int |
resendSpoolItems(java.lang.String spoolRepositoryURL,
java.lang.String key,
java.util.List lockingFailures,
SpoolFilter filter)
Tries to resend all mails from the given repository matching the given filter criteria |
Field Detail |
---|
static final java.lang.String ROLE
Method Detail |
---|
int moveSpoolItems(java.lang.String srcSpoolRepositoryURL, java.lang.String dstSpoolRepositoryURL, java.lang.String dstState, SpoolFilter filter) throws javax.mail.MessagingException, SpoolManagementException
srcSpoolRepositoryURL
- the spool whose item are listeddstSpoolRepositoryURL
- the destination spooldstState
- if not NULL, the state will be changed before storing the message to the new repository.filter
- the filter to select messages from the source repository
javax.mail.MessagingException
SpoolManagementException
int removeSpoolItems(java.lang.String spoolRepositoryURL, java.lang.String key, java.util.List lockingFailures, SpoolFilter filter) throws javax.mail.MessagingException, SpoolManagementException
spoolRepositoryURL
- the spool whose item are listedkey
- ID of the mail to be removed. if not NULL, all other filters are ignoredlockingFailures
- is populated with a list of mails which could not be processed because
a lock could not be obtainedfilter
- the criteria against which all mails are matched. only applied if key is NULL.
javax.mail.MessagingException
SpoolManagementException
int resendSpoolItems(java.lang.String spoolRepositoryURL, java.lang.String key, java.util.List lockingFailures, SpoolFilter filter) throws javax.mail.MessagingException, SpoolManagementException
spoolRepositoryURL
- the spool whose item are about to be resendkey
- ID of the mail to be resend. if not NULL, all other filters are ignoredlockingFailures
- is populated with a list of mails which could not be processed because
a lock could not be obtainedfilter
- the criteria against which all mails are matched. only applied if key is NULL.
javax.mail.MessagingException
SpoolManagementException
java.util.List getSpoolItems(java.lang.String spoolRepositoryURL, SpoolFilter filter) throws javax.mail.MessagingException, SpoolManagementException
spoolRepositoryURL
- the url under which a spool can be accessedfilter
- the SpoolFilter to use
javax.mail.MessagingException
SpoolManagementException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |