public abstract class UserPropertiesService
extends java.lang.Object
UserPropertiesService...| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_NODETYPE |
static java.lang.String[] |
DEFAULT_PROFILES
Constant array of the available default user profiles in descending ranking order.
|
static java.lang.String |
PREFERENCES_PATH |
static java.lang.String |
PRIVATE_PROFILE
Constant for the private profile root of a given user.
|
static java.lang.String |
PROFILE_PATH
Deprecated.
use
PRIVATE_PROFILE instead. |
static java.lang.String |
PROFILE_RESOURCE_TYPE
Constant for the profile resource type.
|
static java.lang.String |
PROFILES_ROOT
Constant for the profiles root of a given user.
|
static java.lang.String |
PUBLIC_PROFILE
Constant for the default public profile root of a given user.
|
| Constructor and Description |
|---|
UserPropertiesService() |
| Modifier and Type | Method and Description |
|---|---|
abstract UserPropertiesManager |
createUserPropertiesManager(ResourceResolver resolver)
Create a new instance of
UserPropertiesManager for the specified resolver. |
abstract UserPropertiesManager |
createUserPropertiesManager(Session session,
ResourceResolver resolver)
Create a new instance of
UserPropertiesManager for the specified session and
resolver. |
abstract java.lang.String |
getAuthorizableId(java.lang.String userPropertiesPath)
Retrieves the authorizableID corresponding to the given absolute path pointing to an user properties node.
|
abstract java.lang.String |
getAuthorizablePath(java.lang.String authorizableId)
Retrieves the path to the authorizable node that is identified by the specified
authorizableId. |
abstract java.lang.String |
getNodeType(java.lang.String userPropertiesName)
Retrieve the node type for the user properties with the given name.
|
abstract java.lang.String |
getResourceType(java.lang.String userPropertiesName)
Retrieve the resource type for the user properties with the specified name.
|
public static final java.lang.String PREFERENCES_PATH
public static final java.lang.String PROFILES_ROOT
public static final java.lang.String PRIVATE_PROFILE
public static final java.lang.String PUBLIC_PROFILE
public static final java.lang.String[] DEFAULT_PROFILES
public static final java.lang.String PROFILE_RESOURCE_TYPE
public static final java.lang.String PROFILE_PATH
PRIVATE_PROFILE instead.public static final java.lang.String DEFAULT_NODETYPE
public abstract UserPropertiesManager createUserPropertiesManager(ResourceResolver resolver) throws RepositoryException
UserPropertiesManager for the specified resolver.resolver - The associated resource resolver.UserPropertiesManager.RepositoryException - If an error occurs.public abstract UserPropertiesManager createUserPropertiesManager(Session session, ResourceResolver resolver) throws RepositoryException
UserPropertiesManager for the specified session and
resolver.session - The editing session.resolver - The associated resource resolver.UserPropertiesManager.RepositoryException - If an error occurs.public abstract java.lang.String getResourceType(java.lang.String userPropertiesName)
userPropertiesName - Relative path to the user properties for which the resource type should be returned.null.public abstract java.lang.String getNodeType(java.lang.String userPropertiesName)
userPropertiesName - Relative path to the user properties for which the node type type should be returned.DEFAULT_NODETYPE.public abstract java.lang.String getAuthorizablePath(java.lang.String authorizableId)
throws RepositoryException
authorizableId.authorizableId - The ID of the authorizable.null.RepositoryException - If an error occurs.public abstract java.lang.String getAuthorizableId(java.lang.String userPropertiesPath)
throws RepositoryException
userPropertiesPath - Absolute path to user properties node.null.RepositoryException - If an error occurs.Copyright © 2010 - 2023 Adobe. All Rights Reserved