|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MailboxException | |
|---|---|
| org.apache.james.mailbox | |
| org.apache.james.mailbox.util | |
| Uses of MailboxException in org.apache.james.mailbox |
|---|
| Subclasses of MailboxException in org.apache.james.mailbox | |
|---|---|
class |
BadCredentialsException
Indicates that the credentials for this operation were not acceptable. |
class |
MailboxExistsException
Indicates that the operation failed since the mailbox already exists. |
class |
MailboxNotFoundException
Indicates that the failure is caused by a reference to a mailbox which does not exist. |
class |
SubscriptionException
Indicates exception during subscription processing. |
class |
UnsupportedCriteriaException
Indicates that a search criteria is not supported. |
class |
UnsupportedOperationException
Indicates that an operation required is not supported by this mailbox. |
class |
UnsupportedSearchException
Indicates that the requested search is not supported by this implementation. |
| Methods in org.apache.james.mailbox that throw MailboxException | |
|---|---|
void |
MailboxManager.addListener(MailboxPath mailboxPath,
MailboxListener listener,
MailboxSession session)
Implementations of Mailbox may interpret the fact that someone is listening and do some caching and even postpone persistence until everyone has removed itself. |
long |
MessageManager.appendMessage(java.io.InputStream msgIn,
java.util.Date internalDate,
MailboxSession mailboxSession,
boolean isRecent,
javax.mail.Flags flags)
Appends a message to this mailbox. |
void |
MailboxManager.copyMessages(MessageRange set,
MailboxPath from,
MailboxPath to,
MailboxSession session)
this is done by the MailboxRepository because maybe this operation could be optimized in the corresponding store. |
void |
MailboxManager.createMailbox(MailboxPath mailboxPath,
MailboxSession mailboxSession)
Creates a new mailbox. |
MailboxSession |
MailboxManager.createSystemSession(java.lang.String userName,
org.apache.commons.logging.Log log)
Creates a new system session. |
void |
MailboxManager.deleteMailbox(MailboxPath mailboxPath,
MailboxSession session)
Delete the mailbox with the name |
java.util.Iterator<java.lang.Long> |
MessageManager.expunge(MessageRange set,
MailboxSession mailboxSession)
Expunges messages in the given range from this mailbox. |
Content |
MessageResult.getBody()
Gets the body of the message excluding headers. |
Content |
MessageResult.getBody(MessageResult.MimePath path)
Gets the body of the given mime part. |
javax.mail.Flags |
MessageResult.getFlags()
TODO optional, to be decided maybe this is a good thing because IMAP often requests only the Flags and this way we don't need to create a lazy-loading MimeMessage instance just for the Flags. |
Content |
MessageResult.getFullContent()
Gets the full message including headers and body. |
Content |
MessageResult.getFullContent(MessageResult.MimePath path)
Gets the full content of the given mime part. |
MessageManager |
MailboxManager.getMailbox(MailboxPath mailboxPath,
MailboxSession session)
Gets an session suitable for IMAP. |
long |
MessageManager.getMessageCount(MailboxSession mailboxSession)
Return the count |
java.util.Iterator<MessageResult> |
MessageManager.getMessages(MessageRange set,
MessageResult.FetchGroup fetchGroup,
MailboxSession mailboxSession)
Gets messages in the given range. |
MessageManager.MetaData |
MessageManager.getMetaData(boolean resetRecent,
MailboxSession mailboxSession,
MessageManager.MetaData.FetchGroup fetchGroup)
Gets current meta data for the mailbox. |
Content |
MessageResult.getMimeBody(MessageResult.MimePath path)
Gets the body of the given mime part. |
MimeDescriptor |
MessageResult.getMimeDescriptor()
|
java.lang.String |
MessageResult.Header.getName()
Gets the name of this header. |
java.lang.String |
MessageResult.Header.getValue()
Gets the (unparsed) value of this header. |
java.util.Iterator<MessageResult.Header> |
Headers.headers()
Gets headers for the message. |
java.util.Iterator<MessageResult.Header> |
MessageResult.iterateHeaders(MessageResult.MimePath path)
Iterates the message headers for the given part in a multipart message. |
java.util.Iterator<MessageResult.Header> |
MessageResult.iterateMimeHeaders(MessageResult.MimePath path)
Iterates the MIME headers for the given part in a multipart message. |
MailboxSession |
MailboxManager.login(java.lang.String userid,
java.lang.String passwd,
org.apache.commons.logging.Log log)
Autenticates the given user against the given password. |
void |
MailboxManager.logout(MailboxSession session,
boolean force)
Logs the session out, freeing any resources. |
boolean |
MailboxManager.mailboxExists(MailboxPath mailboxPath,
MailboxSession session)
Does the given mailbox exist? |
void |
MailboxManager.renameMailbox(MailboxPath from,
MailboxPath to,
MailboxSession session)
Renames a mailbox. |
java.util.List<MailboxMetaData> |
MailboxManager.search(MailboxQuery expression,
MailboxSession session)
Searches for mailboxes matching the given query. |
java.util.Iterator<java.lang.Long> |
MessageManager.search(SearchQuery searchQuery,
MailboxSession mailboxSession)
Searches for messages matching the given query. |
java.util.Map<java.lang.Long,javax.mail.Flags> |
MessageManager.setFlags(javax.mail.Flags flags,
boolean value,
boolean replace,
MessageRange set,
MailboxSession mailboxSession)
Sets flags on messages within the given range. |
| Uses of MailboxException in org.apache.james.mailbox.util |
|---|
| Methods in org.apache.james.mailbox.util that throw MailboxException | |
|---|---|
Content |
MessageResultImpl.getBody(MessageResult.MimePath path)
|
Content |
MessageResultImpl.getFullContent(MessageResult.MimePath path)
|
Content |
MessageResultImpl.getMimeBody(MessageResult.MimePath path)
|
java.util.Iterator<MessageResult.Header> |
MessageResultImpl.iterateHeaders(MessageResult.MimePath path)
|
java.util.Iterator<MessageResult.Header> |
MessageResultImpl.iterateMimeHeaders(MessageResult.MimePath path)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||