Modifier and Type | Class and Description |
---|---|
static class |
AuthorizableValueMap.LazyInputStream |
Constructor and Description |
---|
AuthorizableValueMap(org.apache.jackrabbit.api.security.user.Authorizable authorizable) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
<T> T |
get(String name,
Class<T> type) |
<T> T |
get(String name,
T defaultValue) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String arg0,
Object arg1) |
void |
putAll(Map<? extends String,? extends Object> arg0) |
protected Object |
read(String key) |
protected void |
readFully() |
Object |
remove(Object arg0) |
int |
size() |
static Object |
toJavaObject(javax.jcr.Value value)
Converts a JCR Value to a corresponding Java Object
|
String |
toString()
Reads the authorizable map completely and returns the string
representation of the cached properties.
|
Collection<Object> |
values() |
protected Object |
valuesToJavaObject(javax.jcr.Value[] values) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public AuthorizableValueMap(org.apache.jackrabbit.api.security.user.Authorizable authorizable)
public <T> T get(String name, Class<T> type)
get
in interface org.apache.sling.api.resource.ValueMap
public <T> T get(String name, T defaultValue)
get
in interface org.apache.sling.api.resource.ValueMap
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public static Object toJavaObject(javax.jcr.Value value) throws javax.jcr.RepositoryException
value
- the JCR Value to convertjavax.jcr.RepositoryException
- if the value cannot be convertedprotected Object valuesToJavaObject(javax.jcr.Value[] values) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
protected void readFully()
public String toString()
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.