public final class MailboxOps
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
MAILSHARE_FOLDERS |
static java.lang.String[] |
USER_FOLDERS |
Constructor and Description |
---|
MailboxOps() |
Modifier and Type | Method and Description |
---|---|
static void |
annotate(Server srv,
java.lang.String mailboxUid) |
static void |
create(java.lang.String domainUid,
Server srv,
java.lang.String mailboxUid) |
static java.util.List<java.lang.String> |
createMailshareFolders(java.lang.String domainUid,
Server srv,
java.lang.String mailshareName) |
static java.util.List<java.lang.String> |
createUserFolders(java.lang.String domainUid,
Server srv,
java.lang.String login) |
static java.lang.String |
getMailboxPrefix(ItemValue<Mailbox> mailbox) |
static java.lang.String |
partition(java.lang.String domainUid) |
static void |
rename(java.lang.String domainUid,
Server srv,
java.lang.String prevBox,
java.lang.String newBox) |
static void |
restartCyrus(IServer service,
java.lang.String serverUid) |
static void |
setAcls(ItemValue<Mailbox> owner,
java.lang.String domain,
java.util.Map<java.lang.String,Acl> acls) |
static void |
xfer(java.lang.String domainUid,
User owner,
Server prev,
Server curr) |
public static final java.lang.String[] USER_FOLDERS
public static final java.lang.String[] MAILSHARE_FOLDERS
public static void create(java.lang.String domainUid, Server srv, java.lang.String mailboxUid)
domain
- srv
- mailboxUid
- public static void annotate(Server srv, java.lang.String mailboxUid)
domain
- srv
- mailboxUid
- mailbox container uidpublic static void rename(java.lang.String domainUid, Server srv, java.lang.String prevBox, java.lang.String newBox)
public static void restartCyrus(IServer service, java.lang.String serverUid) throws ServerFault
ServerFault
public static java.lang.String partition(java.lang.String domainUid)
public static void setAcls(ItemValue<Mailbox> owner, java.lang.String domain, java.util.Map<java.lang.String,Acl> acls) throws ServerFault
ServerFault
public static java.util.List<java.lang.String> createUserFolders(java.lang.String domainUid, Server srv, java.lang.String login)
container
- srv
- boxContainer
- public static java.util.List<java.lang.String> createMailshareFolders(java.lang.String domainUid, Server srv, java.lang.String mailshareName)
container
- srv
- boxContainer
- Copyright © 2021. All Rights Reserved.