java.lang.Object
com.aoindustries.aoserv.client.AoservObject<K,T>
com.aoindustries.aoserv.client.CachedObject<Account.Name,V>
com.aoindustries.aoserv.client.account.CachedObjectAccountNameKey<Brand>
com.aoindustries.aoserv.client.reseller.Brand
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
,SingleTableObject<Account.Name,
Brand>
A brand has separate website, packages, nameservers, and support.
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.client.account.CachedObjectAccountNameKey
pkey
Fields inherited from class com.aoindustries.aoserv.client.CachedObject
table
Fields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the Google Analytics 4 (GA4) Measurement ID ornull
if unavailable.boolean
The children of the brand are any brands that have their closest parent business (that is a brand) equal to this one.protected Object
getColumnImpl
(int i) boolean
Gets the host that should be used for IMAP.boolean
Gets the immediate parent of this brand ornull
if none available.Gets the Reseller for this Brand ornull
if not a reseller.Gets the host that should be used for SMTP.void
Initializes this object from the raw database contents.void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.account.CachedObjectAccountNameKey
equals, getKey, hashCode, toStringImpl
Methods inherited from class com.aoindustries.aoserv.client.CachedObject
getTable, setTable
Methods inherited from class com.aoindustries.aoserv.client.AoservObject
compare, compare, compare, compare, compareIgnoreCaseConsistentWithEquals, compareTo, compareTo, compareTo, getAccountingCode, getColumn, getColumns, getColumns, getDomainLabel, getDomainLabels, getDomainName, getDto, getEmail, getGecos, getGroupId, getHashedKey, getHashedPassword, getHostname, getInetAddress, getLinuxId, getLinuxUserName, getMacAddress, getMysqlDatabaseName, getMysqlServerName, getMysqlUserName, getPort, getPostgresDatabaseName, getPostgresServerName, getPostgresUserId, getTableSchema, getTimeMillis, getTimeMillis, getUnixPath, getUserId, read, toString, write
-
Constructor Details
-
Brand
Deprecated.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<Account.Name,
Brand>
-
getAccount_name
-
getAccount
- Throws:
IOException
SQLException
-
getNameserver1
-
getNameserver2
-
getNameserver3
-
getNameserver4
-
getSmtpLinuxServerAccount
- Throws:
IOException
SQLException
-
getSmtpHost
Gets the host that should be used for SMTP. Will use the hostname of the SmtpLinuxServerAccount'sServer
if smtp_host is null.- Throws:
IOException
SQLException
-
getSmtpPassword
-
getImapLinuxServerAccount
- Throws:
SQLException
IOException
-
getImapHost
Gets the host that should be used for IMAP. Will use the hostname of the ImapLinuxServerAccount'sServer
if imap_host is null.- Throws:
IOException
SQLException
-
getImapPassword
-
getSupportEmailAddress
- Throws:
IOException
SQLException
-
getSupportEmailDisplay
-
getSignupEmailAddress
- Throws:
IOException
SQLException
-
getSignupEmailDisplay
-
getTicketEncryptionFrom
- Throws:
IOException
SQLException
-
getTicketEncryptionRecipient
- Throws:
IOException
SQLException
-
getSignupEncryptionFrom
- Throws:
IOException
SQLException
-
getSignupEncryptionRecipient
- Throws:
IOException
SQLException
-
getSupportTollFree
-
getSupportDayPhone
-
getSupportEmergencyPhone1
-
getSupportEmergencyPhone2
-
getSupportFax
-
getSupportMailingAddress1
-
getSupportMailingAddress2
-
getSupportMailingAddress3
-
getSupportMailingAddress4
-
getEnglishEnabled
public boolean getEnglishEnabled() -
getJapaneseEnabled
public boolean getJapaneseEnabled() -
getAowebStrutsHttpUrlBase
-
getAowebStrutsHttpUrl
- Throws:
MalformedURLException
-
getAowebStrutsHttpsUrlBase
-
getAowebStrutsHttpsUrl
- Throws:
MalformedURLException
-
getAowebStrutsGoogleVerifyContent
-
getAowebStrutsNoindex
public boolean getAowebStrutsNoindex() -
getAowebStrutsGoogleAnalyticsNewTrackingCode
Gets the Google Analytics 4 (GA4) Measurement ID ornull
if unavailable. -
getAowebStrutsSignupAdminAddress
-
getAowebStrutsVncBind
- Throws:
IOException
SQLException
-
getAowebStrutsKeystoreType
-
getAowebStrutsKeystorePassword
-
getTableId
- Specified by:
getTableId
in classAoservObject<Account.Name,
Brand>
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<Account.Name,
Brand> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<Account.Name,
Brand> - Throws:
IOException
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<Account.Name,
Brand> - Throws:
IOException
-
getReseller
Gets the Reseller for this Brand ornull
if not a reseller.- Throws:
IOException
SQLException
-
getTicketBrandCategories
- Throws:
IOException
SQLException
-
getParentBrand
Gets the immediate parent of this brand ornull
if none available.- Throws:
IOException
SQLException
-
getChildBrands
The children of the brand are any brands that have their closest parent business (that is a brand) equal to this one.- Throws:
IOException
SQLException
-