Package com.aoindustries.aoserv.client
Class GlobalTableIntegerKey<V extends GlobalObjectIntegerKey<V>>
- java.lang.Object
-
- com.aoindustries.aoserv.client.AOServTable<K,V>
-
- com.aoindustries.aoserv.client.GlobalTable<Integer,V>
-
- com.aoindustries.aoserv.client.GlobalTableIntegerKey<V>
-
- Direct Known Subclasses:
ColumnTable,EncodingTable,ForeignKeyTable,OperatingSystemVersionTable,SoftwareCategorizationTable,SoftwareVersionTable,TableTable,TypeTable,VersionTable,VersionTable,VersionTable
public abstract class GlobalTableIntegerKey<V extends GlobalObjectIntegerKey<V>> extends GlobalTable<Integer,V>
- Author:
- AO Industries, Inc.
- See Also:
GlobalObjectIntegerKey
-
-
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
Constructors Modifier Constructor Description protectedGlobalTableIntegerKey(AOServConnector connector, Class<V> clazz)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description abstract Vget(int pkey)Vget(Object pkey)Deprecated.Always try to lookup by specific keys; the compiler will help you more when types change.-
Methods inherited from class com.aoindustries.aoserv.client.GlobalTable
clearCache, getGlobalRowCount, getIndexedRows, getRows, getRowsCopy, getUniqueRowImpl, isLoaded
-
Methods 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, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
GlobalTableIntegerKey
protected GlobalTableIntegerKey(AOServConnector connector, Class<V> clazz)
-
-
Method Detail
-
get
@Deprecated public V get(Object pkey) throws IOException, SQLException
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 an Integer.- Specified by:
getin classAOServTable<Integer,V extends GlobalObjectIntegerKey<V>>- Parameters:
pkey- whennull, will always returnnull- Throws:
IOExceptionSQLException
-
get
public abstract V get(int pkey) throws IOException, SQLException
- Throws:
IOExceptionSQLException- See Also:
get(java.lang.Object)
-
-