public interface ValueProvider extends Serializable
Modifier and Type | Method and Description |
---|---|
Boolean |
getBoolean(String propertyName)
Returns the boolean value of a node property
|
Boolean[] |
getBooleans(String propertyName)
Returns boolean array of the boolean values of a node property
|
String |
getCanonicalPath()
The canonical path can be a different location then
getPath() because the latter might give some virtual / mirrored
path of the value provider |
Calendar |
getDate(String propertyName)
Returns the Calendar value of a node property.
|
Calendar[] |
getDates(String propertyName)
Returns Calendar array of the Calendar values of a node property.
|
Double |
getDouble(String propertyName)
Returns the double value of a node property.
|
Double[] |
getDoubles(String propertyName)
Returns double array of the long values of a node property.
|
String |
getIdentifier() |
Long |
getLong(String propertyName)
Returns the long value of a node property.
|
Long[] |
getLongs(String propertyName)
Returns long array of the long values of a node property.
|
String |
getName() |
String |
getPath() |
Map<String,Object> |
getProperties()
Returns all combined properties that are of type String, boolean, int, long, double or Calendar in a Map.
|
PropertyMap |
getPropertyMap()
Returns all combined properties that are of type String, boolean, int, long, double or Calendar in a PropertyMap.
|
String |
getString(String propertyName)
Returns the string value of a node property
|
String[] |
getStrings(String propertyName)
Returns String array of string values of a node property
|
boolean |
hasProperty(String propertyName)
Method returning true when the jcr node has the property
|
String getPath()
String getCanonicalPath()
getPath()
because the latter might give some virtual / mirrored
path of the value providerString getIdentifier()
String getName()
boolean hasProperty(String propertyName)
propertyName
- String getString(String propertyName)
propertyName
- String[] getStrings(String propertyName)
propertyName
- Boolean getBoolean(String propertyName)
propertyName
- Boolean[] getBooleans(String propertyName)
propertyName
- Long getLong(String propertyName)
propertyName
- Long[] getLongs(String propertyName)
propertyName
- Double getDouble(String propertyName)
propertyName
- Double[] getDoubles(String propertyName)
propertyName
- Calendar getDate(String propertyName)
propertyName
- Calendar[] getDates(String propertyName)
propertyName
- PropertyMap getPropertyMap()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.