org.apache.james.imapserver
Interface ACLMailbox
- All Superinterfaces:
- ACL, org.apache.avalon.framework.component.Composable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, Mailbox, java.io.Serializable
- All Known Implementing Classes:
- FileMailbox
- public interface ACLMailbox
- extends ACL, Mailbox, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Disposable
Interface for objects representing an IMAP4rev1 mailbox (folder) with
embedded Access Control List.
Reference: RFC 2060
- Version:
- 0.1 on 14 Dec 2000
- Author:
- Charles Benett
- See Also:
Mailbox
,
ACL
Fields inherited from interface org.apache.james.imapserver.ACL |
ADD_RIGHTS, ADMIN_RIGHTS, CREATE_RIGHTS, DELETE_RIGHTS, INSERT_RIGHTS, KEEP_SEEN_RIGHTS, LOOKUP_RIGHTS, POST_RIGHTS, READ_RIGHTS, REMOVE_RIGHTS, RIGHTS, WRITE_RIGHTS |
Method Summary |
void |
prepareMailbox(java.lang.String user,
java.lang.String absName,
java.lang.String initialAdminUser)
Set the details particular to this Mailbox. |
void |
reinitialize()
Re-initialises mailbox when restored from storage. |
Methods inherited from interface org.apache.james.imapserver.ACL |
getAllRights, getOptionalRights, getRequiredRights, getRights, getUsersWithLookupRights, getUsersWithReadRights, hasAdminRights, hasDeleteRights, hasInsertRights, hasKeepSeenRights, hasReadRights, hasWriteRights, setRights |
Methods inherited from interface org.apache.james.imapserver.Mailbox |
addMailboxEventListener, allFlags, checkpoint, expunge, getAbsoluteName, getExists, getFlags, getFlagsUID, getInferiorsAllowed, getInternetHeaders, getInternetHeadersUID, getMailboxSize, getMessageAttributes, getMessageAttributesUID, getName, getNextUID, getOldestUnseen, getPermanentFlags, getRecent, getSupportedFlags, getUIDValidity, getUnseen, getUnseenByUser, hasCreateRights, hasLookupRights, isMarked, isNotSelectableByAnyone, isReadOnly, isSelectable, listUIDs, markDeleted, markDeletedUID, matchesName, removeMailboxEventListener, retrieve, retrieveUID, setFlags, setFlagsUID, setNotSelectableByAnyone, store, store, unsetRecent, updateMessageAttributes |
Methods inherited from interface org.apache.avalon.framework.configuration.Configurable |
configure |
Methods inherited from interface org.apache.avalon.framework.component.Composable |
compose |
Methods inherited from interface org.apache.avalon.framework.context.Contextualizable |
contextualize |
Methods inherited from interface org.apache.avalon.framework.activity.Initializable |
initialize |
Methods inherited from interface org.apache.avalon.framework.activity.Disposable |
dispose |
prepareMailbox
public void prepareMailbox(java.lang.String user,
java.lang.String absName,
java.lang.String initialAdminUser)
- Set the details particular to this Mailbox. Should only be called once,
at creation, and not when restored from storage.
- Parameters:
user
- String email local part of owner of a personal mailbox.abName
- String absolute, ie user-independent, name of mailbox.initialAdminUser
- String email local-part of a user who will be assigned admin rights on this mailbox
reinitialize
public void reinitialize()
throws java.lang.Exception
- Re-initialises mailbox when restored from storage. Must be called after
setConfiguration, setContext, setComponentManager, if they are called,
but before any opertional methods are called.
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.