Class PrincipalWrapper
- All Implemented Interfaces:
Serializable,Cloneable,Map<String,Serializable>
- Author:
- Bogdan Stefanescu
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) property map implementationbooleancontainsValue(Object value) The behavior of this method was changed -> it is checking if an xpath has a value attached.entrySet()getEmail()getName()getProperty(String xpath) booleanisEmpty()keySet()put(String key, Serializable value) voidputAll(Map<? extends String, ? extends Serializable> m) intsize()values()Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, newHashMap, putIfAbsent, remove, replace, replace, replaceAllMethods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
principal
-
-
Constructor Details
-
PrincipalWrapper
-
-
Method Details
-
getName
-
getCompany
-
getFirstName
-
getLastName
-
getOriginatingUser
-
getActingUser
-
getAllGroups
-
getGroups
-
getEmail
-
getPrincipal
-
getProperty
-
containsKey
property map implementation- Specified by:
containsKeyin interfaceMap<String,Serializable> - Overrides:
containsKeyin classHashMap<String,Serializable>
-
containsValue
The behavior of this method was changed -> it is checking if an xpath has a value attached.- Specified by:
containsValuein interfaceMap<String,Serializable> - Overrides:
containsValuein classHashMap<String,Serializable>
-
get
- Specified by:
getin interfaceMap<String,Serializable> - Overrides:
getin classHashMap<String,Serializable>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap<String,Serializable> - Overrides:
isEmptyin classHashMap<String,Serializable>
-
size
public int size()- Specified by:
sizein interfaceMap<String,Serializable> - Overrides:
sizein classHashMap<String,Serializable>
-
keySet
- Specified by:
keySetin interfaceMap<String,Serializable> - Overrides:
keySetin classHashMap<String,Serializable>
-
values
- Specified by:
valuesin interfaceMap<String,Serializable> - Overrides:
valuesin classHashMap<String,Serializable>
-
entrySet
- Specified by:
entrySetin interfaceMap<String,Serializable> - Overrides:
entrySetin classHashMap<String,Serializable>
-
put
- Specified by:
putin interfaceMap<String,Serializable> - Overrides:
putin classHashMap<String,Serializable>
-
putAll
- Specified by:
putAllin interfaceMap<String,Serializable> - Overrides:
putAllin classHashMap<String,Serializable>
-
remove
- Specified by:
removein interfaceMap<String,Serializable> - Overrides:
removein classHashMap<String,Serializable>
-
clear
public void clear()- Specified by:
clearin interfaceMap<String,Serializable> - Overrides:
clearin classHashMap<String,Serializable>
-