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 extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) property map implementationboolean
containsValue
(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) boolean
isEmpty()
keySet()
put
(String key, Serializable value) void
putAll
(Map<? extends String, ? extends Serializable> m) int
size()
values()
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
Methods 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:
containsKey
in interfaceMap<String,
Serializable> - Overrides:
containsKey
in classHashMap<String,
Serializable>
-
containsValue
The behavior of this method was changed -> it is checking if an xpath has a value attached.- Specified by:
containsValue
in interfaceMap<String,
Serializable> - Overrides:
containsValue
in classHashMap<String,
Serializable>
-
get
- Specified by:
get
in interfaceMap<String,
Serializable> - Overrides:
get
in classHashMap<String,
Serializable>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMap<String,
Serializable> - Overrides:
isEmpty
in classHashMap<String,
Serializable>
-
size
public int size()- Specified by:
size
in interfaceMap<String,
Serializable> - Overrides:
size
in classHashMap<String,
Serializable>
-
keySet
- Specified by:
keySet
in interfaceMap<String,
Serializable> - Overrides:
keySet
in classHashMap<String,
Serializable>
-
values
- Specified by:
values
in interfaceMap<String,
Serializable> - Overrides:
values
in classHashMap<String,
Serializable>
-
entrySet
- Specified by:
entrySet
in interfaceMap<String,
Serializable> - Overrides:
entrySet
in classHashMap<String,
Serializable>
-
put
- Specified by:
put
in interfaceMap<String,
Serializable> - Overrides:
put
in classHashMap<String,
Serializable>
-
putAll
- Specified by:
putAll
in interfaceMap<String,
Serializable> - Overrides:
putAll
in classHashMap<String,
Serializable>
-
remove
- Specified by:
remove
in interfaceMap<String,
Serializable> - Overrides:
remove
in classHashMap<String,
Serializable>
-
clear
public void clear()- Specified by:
clear
in interfaceMap<String,
Serializable> - Overrides:
clear
in classHashMap<String,
Serializable>
-