Class CyrusImapdServer
java.lang.Object
com.aoindustries.aoserv.client.AoservObject<Integer,CyrusImapdServer>
com.aoindustries.aoserv.client.CachedObject<Integer,CyrusImapdServer>
com.aoindustries.aoserv.client.CachedObjectIntegerKey<CyrusImapdServer>
com.aoindustries.aoserv.client.email.CyrusImapdServer
- All Implemented Interfaces:
Streamable,StreamReadable,StreamWritable,Row,AoservReadable,AoservStreamable,AoservWritable,SingleTableObject<Integer,CyrusImapdServer>
An
CyrusImapdServer represents one running instance of Cyrus IMAPD.- Author:
- AO Industries, Inc.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDefault value for cyrus_imapd_servers.allow_plaintext_authstatic final floatDefault value for cyrus_imapd_servers.delete_durationstatic final CyrusImapdServer.TimeUnitDefault value for cyrus_imapd_servers.delete_duration_unitstatic final floatDefault value for cyrus_imapd_servers.expire_durationstatic final CyrusImapdServer.TimeUnitDefault value for cyrus_imapd_servers.expire_duration_unitstatic final floatDefault value for cyrus_imapd_servers.expunge_durationstatic final CyrusImapdServer.TimeUnitDefault value for cyrus_imapd_servers.expunge_duration_unitFields inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
pkeyFields inherited from class com.aoindustries.aoserv.client.CachedObject
tableFields inherited from class com.aoindustries.aoserv.client.AoservObject
USE_ARRAY_OF_DOMAIN, USE_SQL_DATA, USE_SQL_DATA_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAllows plaintext authentication (PLAIN/LOGIN) on non-TLS links.Gets the SSL certificate for this server.protected ObjectgetColumnImpl(int i) floatGets the duration after which delayed delete folders are removed.Gets the time unit forgetDeleteDuration().floatPrune the duplicate database of entries older than expire-duration.Gets the time unit forgetExpireDuration().floatGets the duration after which delayed expunge messages are removed.Gets the time unit forgetExpungeDuration().The fully qualified hostname forservername.voidInitializes this object from the raw database contents.voidread(StreamableInput in, AoservProtocol.Version protocolVersion) AoservObject.toString()implementation that is allowed to throw exceptions.voidwrite(StreamableOutput out, AoservProtocol.Version protocolVersion) Methods inherited from class com.aoindustries.aoserv.client.CachedObjectIntegerKey
equals, getKey, getPkey, hashCodeMethods inherited from class com.aoindustries.aoserv.client.CachedObject
getTable, setTableMethods 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
-
Field Details
-
DEFAULT_ALLOW_PLAINTEXT_AUTH
public static final boolean DEFAULT_ALLOW_PLAINTEXT_AUTHDefault value for cyrus_imapd_servers.allow_plaintext_auth- See Also:
-
DEFAULT_DELETE_DURATION
public static final float DEFAULT_DELETE_DURATIONDefault value for cyrus_imapd_servers.delete_duration- See Also:
-
DEFAULT_DELETE_DURATION_UNIT
Default value for cyrus_imapd_servers.delete_duration_unit -
DEFAULT_EXPIRE_DURATION
public static final float DEFAULT_EXPIRE_DURATIONDefault value for cyrus_imapd_servers.expire_duration- See Also:
-
DEFAULT_EXPIRE_DURATION_UNIT
Default value for cyrus_imapd_servers.expire_duration_unit -
DEFAULT_EXPUNGE_DURATION
public static final float DEFAULT_EXPUNGE_DURATIONDefault value for cyrus_imapd_servers.expunge_duration- See Also:
-
DEFAULT_EXPUNGE_DURATION_UNIT
Default value for cyrus_imapd_servers.expunge_duration_unit
-
-
Constructor Details
-
CyrusImapdServer
Deprecated, for removal: This API element is subject to removal in a future version.Only required for implementation, do not use directly.- See Also:
-
-
Method Details
-
toStringImpl
Description copied from class:AoservObjectAoservObject.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:
toStringImplin classCachedObjectIntegerKey<CyrusImapdServer>- Throws:
IOExceptionSQLException
-
getColumnImpl
- Specified by:
getColumnImplin classAoservObject<Integer,CyrusImapdServer>
-
getTableId
- Specified by:
getTableIdin classAoservObject<Integer,CyrusImapdServer>
-
init
Description copied from class:AoservObjectInitializes this object from the raw database contents.- Specified by:
initin classAoservObject<Integer,CyrusImapdServer> - Parameters:
result- theResultSetcontaining the row to copy into this object- Throws:
SQLException
-
read
- Specified by:
readin interfaceAoservReadable- Specified by:
readin interfaceAoservStreamable- Specified by:
readin classAoservObject<Integer,CyrusImapdServer> - Throws:
IOException
-
write
- Specified by:
writein interfaceAoservStreamable- Specified by:
writein interfaceAoservWritable- Specified by:
writein classAoservObject<Integer,CyrusImapdServer> - Throws:
IOException
-
getLinuxServer
- Throws:
SQLExceptionIOException
-
getSieveNetBind
- Throws:
IOExceptionSQLException
-
getServername
The fully qualified hostname forservername.When
null, defaults toServer.getHostname(). -
getCertificate
Gets the SSL certificate for this server.- Returns:
- the SSL certificate or
nullwhen filtered - Throws:
SQLExceptionIOException
-
getAllowPlaintextAuth
public boolean getAllowPlaintextAuth()Allows plaintext authentication (PLAIN/LOGIN) on non-TLS links. -
getDeleteDuration
public float getDeleteDuration()Gets the duration after which delayed delete folders are removed. Enablesdelete_mode: delayed- Returns:
- the duration or
Float.NaNwhen not set - See Also:
-
getDeleteDurationUnit
Gets the time unit forgetDeleteDuration(). When not set, the duration represents days.- Returns:
- the unit or
nullwhen not set
-
getExpireDuration
public float getExpireDuration()Prune the duplicate database of entries older than expire-duration.- Returns:
- the duration (never
Float.NaN) - See Also:
-
getExpireDurationUnit
Gets the time unit forgetExpireDuration(). When not set, the duration represents days.- Returns:
- the unit or
nullwhen not set
-
getExpungeDuration
public float getExpungeDuration()Gets the duration after which delayed expunge messages are removed. Enablesexpunge_mode: delayed- Returns:
- the duration or
Float.NaNwhen not set - See Also:
-
getExpungeDurationUnit
Gets the time unit forgetExpungeDuration(). When not set, the duration represents days.- Returns:
- the unit or
nullwhen not set
-
getCyrusImapdBinds
- Throws:
IOExceptionSQLException
-
