Package com.aoindustries.aoserv.client
Class CachedTableStringKey<V extends CachedObjectStringKey<V>>
- java.lang.Object
-
- com.aoindustries.aoserv.client.AOServTable<K,V>
-
- com.aoindustries.aoserv.client.CachedTable<String,V>
-
- com.aoindustries.aoserv.client.CachedTableStringKey<V>
-
- Direct Known Subclasses:
BankAccountTable,BankTable,BankTransactionTypeTable,ExpenseCategoryTable,ProcessorTable,ServerFarmTable,ZoneTable
public abstract class CachedTableStringKey<V extends CachedObjectStringKey<V>> extends CachedTable<String,V>
- Author:
- AO Industries, Inc.
- See Also:
CachedObjectStringKey
-
-
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 protectedCachedTableStringKey(AOServConnector connector, Class<V> clazz)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Vget(Object pkey)Deprecated.Always try to lookup by specific keys; the compiler will help you more when types change.abstract Vget(String pkey)-
Methods inherited from class com.aoindustries.aoserv.client.CachedTable
clearCache, 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
-
CachedTableStringKey
protected CachedTableStringKey(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 a string.- Specified by:
getin classAOServTable<String,V extends CachedObjectStringKey<V>>- Parameters:
pkey- whennull, will always returnnull- Throws:
IOExceptionSQLException
-
get
public abstract V get(String pkey) throws IOException, SQLException
- Throws:
IOExceptionSQLException- See Also:
get(java.lang.Object)
-
-