Class PermissionConverter<V extends Permission>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- org.oa4mp.server.api.permissions.admin.PermissionConverter<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<V>
public class PermissionConverter<V extends Permission> extends edu.uiuc.ncsa.security.storage.data.MapConverter<V>
Created by Jeff Gaynor
on 10/11/16 at 1:58 PM
-
-
Constructor Summary
Constructors Constructor Description PermissionConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
protected PermissionKeys
pk()
void
toMap(V value, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data)
-
-
-
Constructor Detail
-
PermissionConverter
public PermissionConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> provider)
-
-
Method Detail
-
pk
protected PermissionKeys pk()
-
fromMap
public V fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
- Overrides:
fromMap
in classedu.uiuc.ncsa.security.storage.data.MapConverter<V extends Permission>
-
toMap
public void toMap(V value, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data)
- Overrides:
toMap
in classedu.uiuc.ncsa.security.storage.data.MapConverter<V extends Permission>
-
-