Interface IStringAttributesMixin
- All Known Subinterfaces:
IAuthenticatorConfig
,IAuthenticatorConfigWrapper
- All Known Implementing Classes:
AAuthenticatorConfig
,AConfigViewModel
,AnonymousConfigViewModel
,AnonymousConfigWrapper
,AnyoneConfigWrapper
,BaseConfigViewModel
,DistinctUserConfigWrapper
,EntityConfigWrapper
,FormConfigWrapper
,KerberosConfigWrapper
,NtlmConfigWrapper
,PasswordConfigViewModel
,PasswordConfigWrapper
,ProjectAuthenticatorConfig
,VirtualAuthenticatorConfig
,WorkflowStateAuthenticatorConfig
public interface IStringAttributesMixin
Mixin providing utility methods for storing values in a string map
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getAttributeValue
(String key) Get theString
value of the attribute with the given keyGet theList
value of the attribute with the given keyGet theMap
value of the attribute with the given keydefault void
putAttribute
(String key, String value) Puts the givenString
value for the given key in the attribute map.default void
putAttributes
(String key, List<String> values) Puts the givenList
value for the given key in the attribute map.default void
putAttributes
(String key, Map<String, String> valueMap) Puts the givenMap
value for the given key in the attribute map.default String
removeAttribute
(String key) Removes the attributes for the given key
-
Method Details
-
getAttributes
- Returns:
- the string attributes
-
getAttributeValue
Get theString
value of the attribute with the given key -
getAttributeValueList
Get theList
value of the attribute with the given key -
getAttributeValueMap
Get theMap
value of the attribute with the given key -
putAttribute
Puts the givenString
value for the given key in the attribute map. If the value is empty then the key will be removed from the map -
putAttributes
Puts the givenList
value for the given key in the attribute map. If the value is empty then the key will be removed from the map -
putAttributes
Puts the givenMap
value for the given key in the attribute map. If the value is empty then the key will be removed from the map -
removeAttribute
Removes the attributes for the given key- Parameters:
key
-String
key in the attribute map- Returns:
true
if the attribute was removed
-