Class SQLServiceTransactionStore<V extends ServiceTransaction>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.sql.SQLDatabase
-
- edu.uiuc.ncsa.security.storage.sql.SQLStore<V>
-
- org.oa4mp.delegation.common.transactions.storage.SQLBaseTransactionStore<V>
-
- org.oa4mp.delegation.server.storage.SQLServiceTransactionStore<V>
-
- All Implemented Interfaces:
TransactionStore<V>
,edu.uiuc.ncsa.security.core.Store<V>
,Map<edu.uiuc.ncsa.security.core.Identifier,V>
public abstract class SQLServiceTransactionStore<V extends ServiceTransaction> extends SQLBaseTransactionStore<V>
Created by Jeff Gaynor
on May 12, 2010 at 9:52:58 AM
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_TABLENAME
-
Fields inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.storage.transactions.SQLBaseTransactionStore
tokenForge
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SQLServiceTransactionStore(TokenForge tokenForge, edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, edu.uiuc.ncsa.security.storage.sql.internals.Table table, javax.inject.Provider<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashMap<String,ServiceTransaction>
getCreatedTransactions()
void
register(V t)
String
toString()
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.storage.transactions.SQLBaseTransactionStore
get, get, get, getCreationTSField, getTransaction, getTransactionTable
-
Methods inherited from class edu.uiuc.ncsa.security.storage.sql.SQLStore
checkColumns, checkTable, clear, containsKey, containsValue, crappySQLParser, crappySQLParser, create, depopulate, doRegisterStatement, entrySet, get, getAll, getDerbyMostRecent, getMapConverter, getMostRecent, getMostRecentStatement, getTable, getXMLConverter, isEmpty, keySet, populate, put, putAll, remove, remove, save, search, search, search, setUpdateValues, size, size, size, update, update, values
-
Methods inherited from class edu.uiuc.ncsa.security.storage.sql.SQLDatabase
destroyConnection, getConnection, getConnectionPool, releaseConnection, rsToMap, setConnectionPool
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface edu.uiuc.ncsa.security.core.Store
create, getAll, getMostRecent, getXMLConverter, remove, save, search, search, search, size, update
-
Methods inherited from interface edu.uiuc.ncsa.oa4mp.delegation.common.storage.TransactionStore
getByProxyID, getMapConverter
-
-
-
-
Field Detail
-
DEFAULT_TABLENAME
public static final String DEFAULT_TABLENAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SQLServiceTransactionStore
protected SQLServiceTransactionStore(TokenForge tokenForge, edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, edu.uiuc.ncsa.security.storage.sql.internals.Table table, javax.inject.Provider<V> idp, edu.uiuc.ncsa.security.storage.data.MapConverter converter)
-
-
Method Detail
-
getCreatedTransactions
public HashMap<String,ServiceTransaction> getCreatedTransactions()
-
register
public void register(V t)
- Specified by:
register
in interfaceedu.uiuc.ncsa.security.core.Store<V extends ServiceTransaction>
- Overrides:
register
in classedu.uiuc.ncsa.security.storage.sql.SQLStore<V extends ServiceTransaction>
-
toString
public String toString()
- Overrides:
toString
in classedu.uiuc.ncsa.security.storage.sql.SQLStore<V extends ServiceTransaction>
-
-