Class AdminClientMemoryStore<V extends AdminClient>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<edu.uiuc.ncsa.security.core.Identifier,V>
-
- edu.uiuc.ncsa.security.storage.MemoryStore<V>
-
- org.oa4mp.server.api.adminClient.admin.AdminClientMemoryStore<V>
-
- All Implemented Interfaces:
AdminClientStore<V>
,BaseClientStore<V>
,edu.uiuc.ncsa.security.core.Store<V>
,Serializable
,Cloneable
,Map<edu.uiuc.ncsa.security.core.Identifier,V>
public class AdminClientMemoryStore<V extends AdminClient> extends edu.uiuc.ncsa.security.storage.MemoryStore<V> implements AdminClientStore<V>
Created by Jeff Gaynor
on 10/20/16 at 12:48 PM- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class edu.uiuc.ncsa.security.storage.MemoryStore
edu.uiuc.ncsa.security.storage.MemoryStore.MSInitializer
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description AdminClientConverter<V>
acConverter
edu.uiuc.ncsa.security.core.IdentifiableProvider<V>
acProvider
-
Constructor Summary
Constructors Constructor Description AdminClientMemoryStore(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<edu.uiuc.ncsa.security.core.Identifier>
getByApprover(String approver, ClientApprovalStore clientApprovalStore)
List<edu.uiuc.ncsa.security.core.Identifier>
getByStatus(String status, ClientApprovalStore clientApprovalStore)
Retrieve all clients of a given type from the approval store for the given status.edu.uiuc.ncsa.security.storage.data.MapConverter<V>
getMapConverter()
List<V>
getMostRecent(int n, List<String> attributes)
edu.uiuc.ncsa.security.core.XMLConverter<V>
getXMLConverter()
protected void
realSave(V value)
-
Methods inherited from class edu.uiuc.ncsa.security.storage.MemoryStore
create, getAll, getInitializer, register, remove, save, search, search, search, size, update
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, 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
-
-
-
-
Field Detail
-
acProvider
public edu.uiuc.ncsa.security.core.IdentifiableProvider<V extends AdminClient> acProvider
-
acConverter
public AdminClientConverter<V extends AdminClient> acConverter
-
-
Constructor Detail
-
AdminClientMemoryStore
public AdminClientMemoryStore(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
-
Method Detail
-
getXMLConverter
public edu.uiuc.ncsa.security.core.XMLConverter<V> getXMLConverter()
- Specified by:
getXMLConverter
in interfaceedu.uiuc.ncsa.security.core.Store<V extends AdminClient>
-
getMapConverter
public edu.uiuc.ncsa.security.storage.data.MapConverter<V> getMapConverter()
- Specified by:
getMapConverter
in interfaceAdminClientStore<V extends AdminClient>
- Overrides:
getMapConverter
in classedu.uiuc.ncsa.security.storage.MemoryStore<V extends AdminClient>
-
realSave
protected void realSave(V value)
- Overrides:
realSave
in classedu.uiuc.ncsa.security.storage.MemoryStore<V extends AdminClient>
-
getByStatus
public List<edu.uiuc.ncsa.security.core.Identifier> getByStatus(String status, ClientApprovalStore clientApprovalStore)
Description copied from interface:BaseClientStore
Retrieve all clients of a given type from the approval store for the given status.- Specified by:
getByStatus
in interfaceBaseClientStore<V extends AdminClient>
- Returns:
-
getByApprover
public List<edu.uiuc.ncsa.security.core.Identifier> getByApprover(String approver, ClientApprovalStore clientApprovalStore)
- Specified by:
getByApprover
in interfaceBaseClientStore<V extends AdminClient>
-
-