public class SQLClientApprovalStore extends edu.uiuc.ncsa.security.storage.sql.SQLStore<ClientApproval> implements ClientApprovalStore<ClientApproval>
Created by Jeff Gaynor
on May 26, 2011 at 9:39:26 AM
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TABLENAME |
Constructor and Description |
---|
SQLClientApprovalStore(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool,
edu.uiuc.ncsa.security.storage.sql.internals.Table table,
IdentifiableProviderImpl<ClientApproval> identifiableProvider,
edu.uiuc.ncsa.security.storage.data.MapConverter converter) |
Modifier and Type | Method and Description |
---|---|
int |
getPendingCount() |
int |
getUnapprovedCount()
Get the number of approvals that are as yet unapproved.
|
boolean |
isApproved(Identifier identifier)
Returns true if the client with the given identifier has been approved, false otherwise.
|
checkColumns, checkTable, clear, containsKey, containsValue, create, depopulate, entrySet, get, getAll, getTable, getXMLConverter, isEmpty, keySet, populate, put, putAll, register, remove, rsToMap, save, search, size, size, toString, update, values
destroyConnection, getConnection, getConnectionPool, releaseConnection, setConnectionPool
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
create, getAll, getXMLConverter, register, save, search, update
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
public static final String DEFAULT_TABLENAME
public SQLClientApprovalStore(edu.uiuc.ncsa.security.storage.sql.ConnectionPool connectionPool, edu.uiuc.ncsa.security.storage.sql.internals.Table table, IdentifiableProviderImpl<ClientApproval> identifiableProvider, edu.uiuc.ncsa.security.storage.data.MapConverter converter)
public boolean isApproved(Identifier identifier)
ClientApprovalStore
isApproved
in interface ClientApprovalStore<ClientApproval>
public int getUnapprovedCount()
ClientApprovalStore
getUnapprovedCount
in interface ClientApprovalStore<ClientApproval>
public int getPendingCount()
getPendingCount
in interface ClientApprovalStore<ClientApproval>
Copyright © 2019. All Rights Reserved.