Class ClientConverter<V extends Client>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- edu.uiuc.ncsa.security.storage.data.MonitoredConverter<V>
-
- org.oa4mp.delegation.common.clients.storage.BaseClientConverter<V>
-
- org.oa4mp.delegation.common.clients.storage.ClientConverter<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<V>
public class ClientConverter<V extends Client> extends BaseClientConverter<V>
Created by Jeff Gaynor
on 4/13/12 at 3:48 PM
-
-
Constructor Summary
Constructors Constructor Description ClientConverter(ClientKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
ClientConverter(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
fromJSON(net.sf.json.JSONObject json)
V
fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
protected ClientKeys
getCK()
String
getJSONComponentName()
void
toJSON(V v, net.sf.json.JSONObject json)
void
toMap(V client, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
-
Methods inherited from class edu.uiuc.ncsa.oa4mp.delegation.common.storage.transactions.BaseClientConverter
getBKK, getJsonUtil
-
-
-
-
Constructor Detail
-
ClientConverter
public ClientConverter(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
ClientConverter
public ClientConverter(ClientKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider)
-
-
Method Detail
-
getJSONComponentName
public String getJSONComponentName()
- Specified by:
getJSONComponentName
in classBaseClientConverter<V extends Client>
-
getCK
protected ClientKeys getCK()
-
fromMap
public V fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
- Overrides:
fromMap
in classBaseClientConverter<V extends Client>
-
toMap
public void toMap(V client, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
- Overrides:
toMap
in classBaseClientConverter<V extends Client>
-
fromJSON
public V fromJSON(net.sf.json.JSONObject json)
- Overrides:
fromJSON
in classBaseClientConverter<V extends Client>
-
toJSON
public void toJSON(V v, net.sf.json.JSONObject json)
- Overrides:
toJSON
in classBaseClientConverter<V extends Client>
-
-