public class PrincipalWrapper extends HashMap<String,Serializable>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PrincipalWrapper(NuxeoPrincipal principal) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key)
property map implementation
|
boolean |
containsValue(Object value)
The behavior of this method was changed -> it is checking if an xpath
has a value attached.
|
Set<Map.Entry<String,Serializable>> |
entrySet() |
Serializable |
get(Object key) |
List<String> |
getAllGroups() |
String |
getCompany() |
String |
getEmail() |
String |
getFirstName() |
List<String> |
getGroups() |
String |
getLastName() |
String |
getName() |
String |
getOriginatingUser() |
NuxeoPrincipal |
getPrincipal() |
Serializable |
getProperty(String xpath) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Serializable |
put(String key,
Serializable value) |
void |
putAll(Map<? extends String,? extends Serializable> m) |
Serializable |
remove(Object key) |
int |
size() |
Collection<Serializable> |
values() |
equals, hashCode, toString
public PrincipalWrapper(NuxeoPrincipal principal)
public String getName()
public String getCompany()
public String getFirstName()
public String getLastName()
public String getOriginatingUser()
public String getEmail()
public NuxeoPrincipal getPrincipal()
public Serializable getProperty(String xpath)
public boolean containsKey(Object key)
containsKey
in interface Map<String,Serializable>
containsKey
in class HashMap<String,Serializable>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Serializable>
containsValue
in class HashMap<String,Serializable>
public Serializable get(Object key)
get
in interface Map<String,Serializable>
get
in class HashMap<String,Serializable>
public boolean isEmpty()
isEmpty
in interface Map<String,Serializable>
isEmpty
in class HashMap<String,Serializable>
public int size()
size
in interface Map<String,Serializable>
size
in class HashMap<String,Serializable>
public Set<String> keySet()
keySet
in interface Map<String,Serializable>
keySet
in class HashMap<String,Serializable>
public Collection<Serializable> values()
values
in interface Map<String,Serializable>
values
in class HashMap<String,Serializable>
public Set<Map.Entry<String,Serializable>> entrySet()
entrySet
in interface Map<String,Serializable>
entrySet
in class HashMap<String,Serializable>
public Serializable put(String key, Serializable value)
put
in interface Map<String,Serializable>
put
in class HashMap<String,Serializable>
public void putAll(Map<? extends String,? extends Serializable> m)
putAll
in interface Map<String,Serializable>
putAll
in class HashMap<String,Serializable>
public Serializable remove(Object key)
remove
in interface Map<String,Serializable>
remove
in class HashMap<String,Serializable>
public void clear()
clear
in interface Map<String,Serializable>
clear
in class HashMap<String,Serializable>
Copyright © 2013 Nuxeo SA. All Rights Reserved.