Interface ClientApprovalStore<V extends ClientApproval>
-
- All Superinterfaces:
Map<edu.uiuc.ncsa.security.core.Identifier,V>
,edu.uiuc.ncsa.security.core.Store<V>
- All Known Implementing Classes:
AggregateCAStore
,FSClientApprovalStore
public interface ClientApprovalStore<V extends ClientApproval> extends edu.uiuc.ncsa.security.core.Store<V>
Created by Jeff Gaynor
on 1/9/12 at 4:47 PM
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description edu.uiuc.ncsa.security.storage.data.MapConverter
getMapConverter()
int
getPendingCount()
int
getUnapprovedCount()
Get the number of approvals that are as yet unapproved.boolean
isApproved(edu.uiuc.ncsa.security.core.Identifier identifier)
Returns true if the client with the given identifier has been approved, false otherwise.List<edu.uiuc.ncsa.security.core.Identifier>
statusSearch(String status)
-
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
-
-
-
-
Method Detail
-
isApproved
boolean isApproved(edu.uiuc.ncsa.security.core.Identifier identifier)
Returns true if the client with the given identifier has been approved, false otherwise. Not that this returns false even in the case that there is no such client.- Parameters:
identifier
-- Returns:
-
getUnapprovedCount
int getUnapprovedCount()
Get the number of approvals that are as yet unapproved.- Returns:
-
getPendingCount
int getPendingCount()
-
getMapConverter
edu.uiuc.ncsa.security.storage.data.MapConverter getMapConverter()
-
-