public class MapRow
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
dataLocation |
ItemValue<Domain> |
domain |
java.util.Set<java.lang.String> |
emails |
int |
itemId |
Mailbox.Routing |
routing |
Mailbox.Type |
type |
Constructor and Description |
---|
MapRow(int itemId,
java.lang.String externalEmail)
External user constructor
|
MapRow(ItemValue<Domain> domain,
int itemId,
java.lang.String name,
Mailbox.Type type,
Mailbox.Routing routing,
java.lang.String dataLocation,
java.lang.String mailboxName,
java.lang.Integer[] membersItemsIds) |
Modifier and Type | Method and Description |
---|---|
void |
addEmail(java.lang.String emailLeft,
java.lang.String emailRight,
boolean allAliases,
boolean isDefault) |
static java.util.List<MapRow> |
build(BmContext context,
java.util.List<ItemValue<Server>> servers,
java.util.Map<java.lang.String,DomainInfo> domainInfoByUid) |
void |
expandRecipients(java.util.Map<java.lang.Integer,MapRow> emailsByItemId) |
java.lang.String |
getMailboxName() |
java.lang.String |
getRecipients() |
public final int itemId
public final Mailbox.Type type
public final Mailbox.Routing routing
public final java.lang.String dataLocation
public final java.util.Set<java.lang.String> emails
public MapRow(ItemValue<Domain> domain, int itemId, java.lang.String name, Mailbox.Type type, Mailbox.Routing routing, java.lang.String dataLocation, java.lang.String mailboxName, java.lang.Integer[] membersItemsIds)
public MapRow(int itemId, java.lang.String externalEmail)
itemId
- externalEmail
- public static java.util.List<MapRow> build(BmContext context, java.util.List<ItemValue<Server>> servers, java.util.Map<java.lang.String,DomainInfo> domainInfoByUid) throws java.sql.SQLException
java.sql.SQLException
public void addEmail(java.lang.String emailLeft, java.lang.String emailRight, boolean allAliases, boolean isDefault)
public void expandRecipients(java.util.Map<java.lang.Integer,MapRow> emailsByItemId)
public java.lang.String getRecipients()
public java.lang.String getMailboxName()
Copyright © 2021. All Rights Reserved.