Package com.aoindustries.aoserv.client
Class CachedTableIntegerKey<V extends CachedObjectIntegerKey<V>>
java.lang.Object
com.aoindustries.aoserv.client.AoservTable<Integer,V>
com.aoindustries.aoserv.client.CachedTable<Integer,V>
com.aoindustries.aoserv.client.CachedTableIntegerKey<V>
- Direct Known Subclasses:
AccountHostTable,ActionTable,AddressTable,AdministratorPermissionTable,AssignmentTable,AttachmentBlockTable,BackupPartitionTable,BindFirewallZoneTable,BindTable,BlackholeAddressTable,BrandCategoryTable,CategoryTable,CertificateNameTable,CertificateOtherUseTable,CertificateTable,ContextDataSourceTable,ContextParameterTable,ContextTable,CreditCardTable,CvsRepositoryTable,CyrusImapdBindTable,CyrusImapdServerTable,DaemonAclTable,DatabaseTable,DatabaseTable,DatabaseUserTable,DeviceTable,DisableLogTable,DkimKeyTable,DomainTable,EncryptionKeyTable,FileReplicationScheduleTable,FileReplicationSettingTable,FileReplicationTable,FirewallZoneTable,ForwardingTable,GroupServerTable,GroupUserTable,HeaderTable,HostTable,HttpdBindTable,HttpdServerTable,InboxAddressTable,IpAddressMonitoringTable,IpAddressTable,JkMountTable,LimiterClassTable,LimiterSetTable,LimiterTable,ListAddressTable,ListTable,LocationTable,MajordomoListTable,MajordomoServerTable,MonthlyChargeTable,MysqlReplicationTable,NoticeLogBalanceTable,NoticeLogTable,OptionTable,PackageDefinitionLimitTable,PackageDefinitionTable,PackageTable,PaymentTable,PhysicalServerTable,PipeAddressTable,PipeTable,PrivateServerTable,PrivateTomcatSiteTable,ProfileTable,RackTable,RecordTable,RequestTable,RewriteRuleTable,SendmailBindTable,SendmailServerTable,ServerTable,ServerTable,ServerTable,SetTable,SharedTomcatSiteTable,SharedTomcatTable,SiteTable,SiteTable,SiteTable,SmtpRelayTable,SmtpSmartHostDomainTable,SmtpSmartHostTable,StaticSiteTable,SystemAliasTable,TcpRedirectTable,TicketTable,TransactionTable,UserAclTable,UserHostTable,UserServerTable,UserServerTable,UserServerTable,VirtualDiskTable,VirtualHostNameTable,VirtualHostTable,VirtualServerTable,WhoisHistoryAccountTable,WhoisHistoryTable,WorkerTable
public abstract class CachedTableIntegerKey<V extends CachedObjectIntegerKey<V>>
extends CachedTable<Integer,V>
- Author:
- AO Industries, Inc.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.aoindustries.aoserv.client.AoservTable
AoservTable.OrderBy -
Field Summary
Fields inherited from class com.aoindustries.aoserv.client.AoservTable
ASCENDING, connector, DESCENDING -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCachedTableIntegerKey(AoservConnector connector, Class<V> clazz) -
Method Summary
Methods inherited from class com.aoindustries.aoserv.client.CachedTable
clearCache, getIndexedRows, getRows, getRowsCopy, getUniqueRowImpl, isLoadedMethods inherited from class com.aoindustries.aoserv.client.AoservTable
addProgressListener, addTableListener, addTableListener, addTableLoadListener, getCachedRowCount, getConnector, getDefaultOrderBy, getDefaultOrderBySqlExpressions, getIndexedRows, getMap, getNewObject, getObject, getObjects, getObjects, getObjects, getObjectsNoProgress, getObjectsNoProgress, getSize, getSortAlgorithm, getTableId, getTableName, getTableSchema, getUniqueRow, getUniqueRow, getUniqueRow, getUniqueRow, handleCommand, hasAnyTableListener, hasTableListener, isEmpty, iterator, printTable, removeProgressListener, removeTableListener, removeTableLoadListener, size, sortIfNeeded, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CachedTableIntegerKey
-
-
Method Details
-
get
@Deprecated public V get(Object pkey) throws IOException, SQLException, IllegalArgumentException, NumberFormatException Deprecated.Always try to lookup by specific keys; the compiler will help you more when types change.Gets the object with the provided key. The key must be either an Integer or a String. If a String, will be parsed to an integer.- Specified by:
getin classAoservTable<Integer,V extends CachedObjectIntegerKey<V>> - Parameters:
pkey- whennull, will always returnnull- Throws:
IllegalArgumentException- if pkey is neither an Integer nor a String.NumberFormatException- if String cannot be parsed to an IntegerIOExceptionSQLException
-
get
- Throws:
IOExceptionSQLException- See Also:
-
