java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,Profile>
com.aoindustries.aoserv.client.CachedObject<Integer,Profile>
com.aoindustries.aoserv.client.CachedObjectIntegerKey<Profile>
com.aoindustries.aoserv.client.account.Profile
- All Implemented Interfaces:
Streamable
,StreamReadable
,StreamWritable
,Row
,AoservReadable
,AoservStreamable
,AoservWritable
,SingleTableObject<Integer,
Profile>
Contact information associated with an
Account
.- Author:
- AO Industries, Inc.
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
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
ConstructorDescriptionProfile()
Deprecated.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptiongetCity()
protected Object
getColumnImpl
(int i) getFax()
getName()
getPhone()
int
getState()
getZip()
void
Initializes this object from the raw database contents.boolean
void
read
(StreamableInput in, AoservProtocol.Version protocolVersion) boolean
splitEmails
(String value) Splits emails into an unmodifiable set.AoservObject.toString()
implementation that is allowed to throw exceptions.void
write
(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
equals, getKey, getPkey, hashCode
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
-
Profile
Deprecated.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
getAddress1
-
getAddress2
-
getBillingContact
-
getBillingEmail
-
getBillingEmailFormat
-
getAccount_name
-
getAccount
- Throws:
SQLException
IOException
-
getCity
-
getColumnImpl
- Specified by:
getColumnImpl
in classAoservObject<Integer,
Profile>
-
getCountry_code
-
getCountry
- Throws:
SQLException
IOException
-
getCreated
-
getFax
-
getName
-
getPhone
-
getPriority
public int getPriority() -
getState
-
getTableId
- Specified by:
getTableId
in classAoservObject<Integer,
Profile>
-
getTechnicalContact
-
getTechnicalEmail
-
getTechnicalEmailFormat
-
getZip
-
splitEmails
Splits emails into an unmodifiable set.- Throws:
ValidationException
-
init
Description copied from class:AoservObject
Initializes this object from the raw database contents.- Specified by:
init
in classAoservObject<Integer,
Profile> - Parameters:
result
- theResultSet
containing the row to copy into this object- Throws:
SQLException
-
isPrivate
public boolean isPrivate() -
read
- Specified by:
read
in interfaceAoservReadable
- Specified by:
read
in interfaceAoservStreamable
- Specified by:
read
in classAoservObject<Integer,
Profile> - Throws:
IOException
-
sendInvoice
public boolean sendInvoice() -
toStringImpl
Description copied from class:AoservObject
AoservObject.toString()
implementation that is allowed to throw exceptions.Implementation Note:
This default implementation callsAoservObject.toString()
on the key (fromAoservObject.getKey()
). When the key isnull
, uses the default implementation fromObject.toString()
.- Overrides:
toStringImpl
in classCachedObjectIntegerKey<Profile>
-
write
- Specified by:
write
in interfaceAoservStreamable
- Specified by:
write
in interfaceAoservWritable
- Specified by:
write
in classAoservObject<Integer,
Profile> - Throws:
IOException
-