@Deprecated
public interface UserPropertiesComposite
The UserPropertiesComposite
represents a composite (aggregation) of UserProperties
. A composite
can be retrieved via UserPropertiesManager.getUserPropertiesComposite(String, String[])
or UserPropertiesManager.getUserPropertiesComposite(String, String[])
.
The composite transparently accesses properties within the user properties contained in the composite.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthorizableId()
Deprecated.
|
java.lang.String |
getProperty(java.lang.String relativePath)
Deprecated.
|
<T> T |
getProperty(java.lang.String relativePath,
T defaultValue,
java.lang.Class<T> type)
Deprecated.
|
java.util.Collection<java.lang.String> |
getPropertyNames()
Deprecated.
|
java.util.Collection<java.lang.String> |
getPropertyNames(java.lang.String relPath)
Deprecated.
|
java.util.Collection<UserProperties> |
getUserProperties()
Deprecated.
|
java.util.Collection<java.lang.String> |
getUserPropertiesPaths()
Deprecated.
Use
UserProperties.getAggregatedUserProperties() to obtain the paths. |
java.util.Collection<java.lang.String> getPropertyNames() throws RepositoryException
UserProperties.getPropertyNames()
RepositoryException
- If an error occurs accessing the user properties.java.util.Collection<java.lang.String> getPropertyNames(java.lang.String relPath) throws RepositoryException
UserProperties.getPropertyNames(String)
relativePath
within all user properties contained
within this composite.relPath
- The relative path of a user properties node/resource for which to retrieve property names.RepositoryException
- If an error occurs accessing the user properties.java.lang.String getProperty(java.lang.String relativePath) throws RepositoryException
UserProperties.getProperty(String)
UserPropertiesManager.getUserPropertiesComposite(String, String[])
, or via their natural ordering within the
user node tree if retrieved via UserPropertiesManager.getUserPropertiesComposite(String,
UserPropertiesFilter)
.relativePath
- The relative path of the property to retrieve.null
if no such property was found.RepositoryException
- If an error occurs accessing the user properties.<T> T getProperty(java.lang.String relativePath, T defaultValue, java.lang.Class<T> type) throws RepositoryException
UserProperties.getProperty(String, Object, Class)
getProperty(String)
. Additionally a default value and type can be specified.T
- specifies the expected format of the propertyrelativePath
- The relative path of the property to retrieve.defaultValue
- The default value to return if the property is not found.type
- The expected type of the property value.relativePath
with the given type
, or the
defaultValue
if the property is not found.RepositoryException
- If an error occurs accessing the user properties.java.util.Collection<UserProperties> getUserProperties()
UserProperties.getAggregatedUserProperties()
java.lang.String getAuthorizableId()
UserProperties.getAuthorizableID()
java.util.Collection<java.lang.String> getUserPropertiesPaths() throws RepositoryException
UserProperties.getAggregatedUserProperties()
to obtain the paths.UserProperties
RepositoryException
- throws on error"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"