java.lang.Object
com.aoindustries.aoserv.master.EmailHandler
The
EmailHandler handles all the accesses to the email tables.- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionstatic intaddAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, String address, int domain) static intaddDomain(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, DomainName netDomain, int linuxServer, Account.Name packageName) static intaddForwarding(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, Email destination) static intaddInboxAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, int userServer) static intaddList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, PosixPath path, int userServer, int groupServer) static intaddListAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, int list) static intaddMajordomoList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int majordomoServer, String listName) static voidaddMajordomoServer(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int domain, int userServer, int groupServer, String version) static intaddPipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int linuxServer, String command, Account.Name packageName) Adds an email pipe.static intaddPipeAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, int pipe) static intaddSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, Account.Name packageName, int linuxServer, HostAddress host, String type, long duration) Adds a email SMTP relay.static intaddSpamMessage(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay, String message) static booleancanAccessDomain(DatabaseConnection conn, RequestSource source, int domain) static voidcheckAccessAddress(DatabaseConnection conn, RequestSource source, String action, int address) static voidcheckAccessDomain(DatabaseConnection conn, RequestSource source, String action, int domain) static voidcheckAccessList(DatabaseConnection conn, RequestSource source, String action, int list) static voidcheckAccessListPath(DatabaseConnection conn, RequestSource source, String action, int linuxServer, PosixPath path) static voidcheckAccessMajordomoServer(DatabaseConnection conn, RequestSource source, String action, int majordomoServer) static voidcheckAccessPipe(DatabaseConnection conn, RequestSource source, String action, int pipe) static voidcheckAccessPipeCommand(DatabaseConnection conn, RequestSource source, String action, String path) static voidcheckAccessSmtpRelay(DatabaseConnection conn, RequestSource source, String action, int smtpRelay) static voiddisableList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int disableLog, int list) static voiddisablePipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int disableLog, int pipe) static voiddisableSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int disableLog, int smtpRelay) static voidenableList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int list) static voidenablePipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int pipe) static voidenableSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay) static Account.NamegetAccountForAddress(DatabaseConnection conn, int address) static Account.NamegetAccountForDomain(DatabaseConnection conn, int domain) static Account.NamegetAccountForList(DatabaseConnection conn, int list) static Account.NamegetAccountForPipe(DatabaseConnection conn, int pipe) static Account.NamegetAccountForSmtpRelay(DatabaseConnection conn, int smtpRelay) static intgetAddress(DatabaseConnection conn, String address, int domain) static intgetDisableLogForList(DatabaseConnection conn, int list) static intgetDisableLogForPipe(DatabaseConnection conn, int pipe) static intgetDisableLogForSmtpRelay(DatabaseConnection conn, int smtpRelay) static intgetDomain(DatabaseConnection conn, int linuxServer, String path) static intgetDomainForAddress(DatabaseConnection conn, int address) static long[]getImapFolderSizes(DatabaseConnection conn, RequestSource source, int userServer, String[] folderNames) static InboxAttributesgetInboxAttributes(DatabaseConnection conn, RequestSource source, int userServer) static intgetLinuxGroupServerForList(DatabaseConnection conn, int list) static intgetLinuxGroupServerForMajordomoServer(DatabaseConnection conn, int majordomoServer) static intgetLinuxServerForAddress(DatabaseConnection conn, int address) static intgetLinuxServerForDomain(DatabaseConnection conn, int domain) static intgetLinuxServerForList(DatabaseConnection conn, int list) static intgetLinuxServerForPipe(DatabaseConnection conn, int pipe) static intgetLinuxServerForSmtpRelay(DatabaseConnection conn, int smtpRelay) static intgetLinuxUserServerForList(DatabaseConnection conn, int list) static intgetLinuxUserServerForMajordomoServer(DatabaseConnection conn, int majordomoServer) static StringgetListFile(DatabaseConnection conn, RequestSource source, int list) static IntListgetListsForLinuxUserServer(DatabaseConnection conn, int linuxUserServer) static IntListgetListsForPackage(DatabaseConnection conn, Account.Name packageName) static StringgetMajordomoInfoFile(DatabaseConnection conn, RequestSource source, int majordomoList) static StringgetMajordomoIntroFile(DatabaseConnection conn, RequestSource source, int majordomoList) static intgetMajordomoServer(DatabaseConnection conn, int domain) static DomainNamegetNetDomainForDomain(DatabaseConnection conn, int domain) static intgetOrAddAddress(DatabaseConnection conn, InvalidateList invalidateList, String address, int domain) static Account.NamegetPackageForDomain(DatabaseConnection conn, int domain) static Account.NamegetPackageForList(DatabaseConnection conn, int list) static Account.NamegetPackageForPipe(DatabaseConnection conn, int pipe) static Account.NamegetPackageForSmtpRelay(DatabaseConnection conn, int smtpRelay) static PosixPathgetPathForList(DatabaseConnection conn, int list) static IntListgetPipesForPackage(DatabaseConnection conn, Account.Name name) static IntListgetSmtpRelaysForPackage(DatabaseConnection conn, Account.Name name) static voidgetSpamMessagesForSmtpRelay(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, int esr) static voidinvalidateTable(Table.TableId tableId) static booleanisAddressUsed(DatabaseConnection conn, int address) static booleanisDomainAvailable(DatabaseConnection conn, RequestSource source, int linuxServer, DomainName netDomain) static booleanisListDisabled(DatabaseConnection conn, int list) static booleanisMajordomoList(DatabaseConnection conn, int list) static booleanisPipeDisabled(DatabaseConnection conn, int pipe) static booleanisSmtpRelayDisabled(DatabaseConnection conn, int smtpRelay) static voidrefreshSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay, long minDuration) Refreshes a email SMTP relay.static voidremoveAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address) static voidremoveBlackholeAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address) static voidremoveDomain(DatabaseConnection conn, InvalidateList invalidateList, int domain) static voidremoveDomain(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int domain) static voidremoveForwarding(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int forwarding) static voidremoveInboxAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int inboxAddress) static voidremoveList(DatabaseConnection conn, InvalidateList invalidateList, int list) static voidremoveList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int list) static voidremoveListAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int listAddress) static voidremoveMajordomoServer(DatabaseConnection conn, InvalidateList invalidateList, int majordomoServer) static voidremoveMajordomoServer(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int majordomoServer) static voidremovePipe(DatabaseConnection conn, InvalidateList invalidateList, int pipe) static voidremovePipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int pipe) static voidremovePipeAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int pipeAddress) static voidremoveSmtpRelay(DatabaseConnection conn, InvalidateList invalidateList, int smtpRelay) Removes a email SMTP relay.static voidremoveSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay) Removes a email SMTP relay.static voidsetListFile(DatabaseConnection conn, RequestSource source, int list, String addresses) static voidsetMajordomoInfoFile(DatabaseConnection conn, RequestSource source, int majordomoList, String file) static voidsetMajordomoIntroFile(DatabaseConnection conn, RequestSource source, int majordomoList, String file)
-
Method Details
-
canAccessDomain
public static boolean canAccessDomain(DatabaseConnection conn, RequestSource source, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessDomain
public static void checkAccessDomain(DatabaseConnection conn, RequestSource source, String action, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessSmtpRelay
public static void checkAccessSmtpRelay(DatabaseConnection conn, RequestSource source, String action, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessAddress
public static void checkAccessAddress(DatabaseConnection conn, RequestSource source, String action, int address) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessList
public static void checkAccessList(DatabaseConnection conn, RequestSource source, String action, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessListPath
public static void checkAccessListPath(DatabaseConnection conn, RequestSource source, String action, int linuxServer, PosixPath path) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessPipe
public static void checkAccessPipe(DatabaseConnection conn, RequestSource source, String action, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessPipeCommand
public static void checkAccessPipeCommand(DatabaseConnection conn, RequestSource source, String action, String path) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
checkAccessMajordomoServer
public static void checkAccessMajordomoServer(DatabaseConnection conn, RequestSource source, String action, int majordomoServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addAddress
public static int addAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, String address, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addForwarding
public static int addForwarding(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, Email destination) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addList
public static int addList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, PosixPath path, int userServer, int groupServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addListAddress
public static int addListAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addPipe
public static int addPipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int linuxServer, String command, Account.Name packageName) throws IOException, SQLException Adds an email pipe.- Throws:
IOExceptionSQLException
-
addPipeAddress
public static int addPipeAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addInboxAddress
public static int addInboxAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address, int userServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addDomain
public static int addDomain(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, DomainName netDomain, int linuxServer, Account.Name packageName) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addSmtpRelay
public static int addSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, Account.Name packageName, int linuxServer, HostAddress host, String type, long duration) throws IOException, SQLException Adds a email SMTP relay.- Throws:
IOExceptionSQLException
-
addSpamMessage
public static int addSpamMessage(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay, String message) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addMajordomoList
public static int addMajordomoList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int majordomoServer, String listName) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
addMajordomoServer
public static void addMajordomoServer(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int domain, int userServer, int groupServer, String version) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
disableList
public static void disableList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int disableLog, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
disablePipe
public static void disablePipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int disableLog, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
disableSmtpRelay
public static void disableSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int disableLog, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
enableList
public static void enableList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
enablePipe
public static void enablePipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
enableSmtpRelay
public static void enableSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getDisableLogForList
public static int getDisableLogForList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getDisableLogForPipe
public static int getDisableLogForPipe(DatabaseConnection conn, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getDisableLogForSmtpRelay
public static int getDisableLogForSmtpRelay(DatabaseConnection conn, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getListFile
public static String getListFile(DatabaseConnection conn, RequestSource source, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getListsForLinuxUserServer
public static IntList getListsForLinuxUserServer(DatabaseConnection conn, int linuxUserServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getListsForPackage
public static IntList getListsForPackage(DatabaseConnection conn, Account.Name packageName) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getPipesForPackage
public static IntList getPipesForPackage(DatabaseConnection conn, Account.Name name) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getImapFolderSizes
public static long[] getImapFolderSizes(DatabaseConnection conn, RequestSource source, int userServer, String[] folderNames) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getInboxAttributes
public static InboxAttributes getInboxAttributes(DatabaseConnection conn, RequestSource source, int userServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getSmtpRelaysForPackage
public static IntList getSmtpRelaysForPackage(DatabaseConnection conn, Account.Name name) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getDomain
public static int getDomain(DatabaseConnection conn, int linuxServer, String path) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getDomainForAddress
public static int getDomainForAddress(DatabaseConnection conn, int address) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getMajordomoInfoFile
public static String getMajordomoInfoFile(DatabaseConnection conn, RequestSource source, int majordomoList) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getMajordomoIntroFile
public static String getMajordomoIntroFile(DatabaseConnection conn, RequestSource source, int majordomoList) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getMajordomoServer
public static int getMajordomoServer(DatabaseConnection conn, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getSpamMessagesForSmtpRelay
public static void getSpamMessagesForSmtpRelay(DatabaseConnection conn, RequestSource source, StreamableOutput out, boolean provideProgress, int esr) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
invalidateTable
-
isListDisabled
public static boolean isListDisabled(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
isPipeDisabled
public static boolean isPipeDisabled(DatabaseConnection conn, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
isSmtpRelayDisabled
public static boolean isSmtpRelayDisabled(DatabaseConnection conn, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
refreshSmtpRelay
public static void refreshSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay, long minDuration) throws IOException, SQLException Refreshes a email SMTP relay.- Throws:
IOExceptionSQLException
-
removeBlackholeAddress
public static void removeBlackholeAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeAddress
public static void removeAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int address) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeForwarding
public static void removeForwarding(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int forwarding) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeListAddress
public static void removeListAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int listAddress) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeList
public static void removeList(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeList
public static void removeList(DatabaseConnection conn, InvalidateList invalidateList, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeInboxAddress
public static void removeInboxAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int inboxAddress) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removePipe
public static void removePipe(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removePipe
public static void removePipe(DatabaseConnection conn, InvalidateList invalidateList, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removePipeAddress
public static void removePipeAddress(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int pipeAddress) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeDomain
public static void removeDomain(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeDomain
public static void removeDomain(DatabaseConnection conn, InvalidateList invalidateList, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeSmtpRelay
public static void removeSmtpRelay(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int smtpRelay) throws IOException, SQLException Removes a email SMTP relay.- Throws:
IOExceptionSQLException
-
removeSmtpRelay
public static void removeSmtpRelay(DatabaseConnection conn, InvalidateList invalidateList, int smtpRelay) throws IOException, SQLException Removes a email SMTP relay.- Throws:
IOExceptionSQLException
-
removeMajordomoServer
public static void removeMajordomoServer(DatabaseConnection conn, RequestSource source, InvalidateList invalidateList, int majordomoServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
removeMajordomoServer
public static void removeMajordomoServer(DatabaseConnection conn, InvalidateList invalidateList, int majordomoServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
setListFile
public static void setListFile(DatabaseConnection conn, RequestSource source, int list, String addresses) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getAccountForAddress
public static Account.Name getAccountForAddress(DatabaseConnection conn, int address) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getAccountForList
public static Account.Name getAccountForList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getAccountForPipe
public static Account.Name getAccountForPipe(DatabaseConnection conn, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getAccountForDomain
public static Account.Name getAccountForDomain(DatabaseConnection conn, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getNetDomainForDomain
public static DomainName getNetDomainForDomain(DatabaseConnection conn, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getAccountForSmtpRelay
public static Account.Name getAccountForSmtpRelay(DatabaseConnection conn, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getAddress
public static int getAddress(DatabaseConnection conn, String address, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getOrAddAddress
public static int getOrAddAddress(DatabaseConnection conn, InvalidateList invalidateList, String address, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxUserServerForMajordomoServer
public static int getLinuxUserServerForMajordomoServer(DatabaseConnection conn, int majordomoServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxGroupServerForMajordomoServer
public static int getLinuxGroupServerForMajordomoServer(DatabaseConnection conn, int majordomoServer) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getPackageForDomain
public static Account.Name getPackageForDomain(DatabaseConnection conn, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getPackageForList
public static Account.Name getPackageForList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getPackageForPipe
public static Account.Name getPackageForPipe(DatabaseConnection conn, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getPackageForSmtpRelay
public static Account.Name getPackageForSmtpRelay(DatabaseConnection conn, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getPathForList
public static PosixPath getPathForList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxServerForAddress
public static int getLinuxServerForAddress(DatabaseConnection conn, int address) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxServerForList
public static int getLinuxServerForList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxUserServerForList
public static int getLinuxUserServerForList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxGroupServerForList
public static int getLinuxGroupServerForList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
isAddressUsed
public static boolean isAddressUsed(DatabaseConnection conn, int address) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxServerForPipe
public static int getLinuxServerForPipe(DatabaseConnection conn, int pipe) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxServerForDomain
public static int getLinuxServerForDomain(DatabaseConnection conn, int domain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
getLinuxServerForSmtpRelay
public static int getLinuxServerForSmtpRelay(DatabaseConnection conn, int smtpRelay) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
isDomainAvailable
public static boolean isDomainAvailable(DatabaseConnection conn, RequestSource source, int linuxServer, DomainName netDomain) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
isMajordomoList
public static boolean isMajordomoList(DatabaseConnection conn, int list) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
setMajordomoInfoFile
public static void setMajordomoInfoFile(DatabaseConnection conn, RequestSource source, int majordomoList, String file) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
setMajordomoIntroFile
public static void setMajordomoIntroFile(DatabaseConnection conn, RequestSource source, int majordomoList, String file) throws IOException, SQLException - Throws:
IOExceptionSQLException
-
