@ProviderType @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 |
|---|---|
String |
getAuthorizableId()
Deprecated.
|
String |
getProperty(String relativePath)
Deprecated.
|
<T> T |
getProperty(String relativePath,
T defaultValue,
Class<T> type)
Deprecated.
|
Collection<String> |
getPropertyNames()
Deprecated.
|
Collection<String> |
getPropertyNames(String relPath)
Deprecated.
|
Collection<UserProperties> |
getUserProperties()
Deprecated.
|
Collection<String> |
getUserPropertiesPaths()
Deprecated.
Use
UserProperties.getAggregatedUserProperties() to obtain the paths. |
Collection<String> getPropertyNames() throws RepositoryException
UserProperties.getPropertyNames()RepositoryException - If an error occurs accessing the user properties.Collection<String> getPropertyNames(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.String getProperty(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(String relativePath, T defaultValue, 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.Collection<UserProperties> getUserProperties()
UserProperties.getAggregatedUserProperties()String getAuthorizableId()
UserProperties.getAuthorizableID()Collection<String> getUserPropertiesPaths() throws RepositoryException
UserProperties.getAggregatedUserProperties() to obtain the paths.UserPropertiesRepositoryException - throws on errorCopyright © 2010 - 2020 Adobe. All Rights Reserved