![JAR search and dependency download from the Maven repository](/logo.png)
com.day.cq.security.profile.ProfileManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aem-sdk-api Show documentation
Show all versions of aem-sdk-api Show documentation
The Adobe Experience Manager SDK
/*
* Copyright 1997-2009 Day Management AG
* Barfuesserplatz 6, 4001 Basel, Switzerland
* All Rights Reserved.
*
* This software is the confidential and proprietary information of
* Day Management AG, ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Day.
*/
package com.day.cq.security.profile;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import com.day.cq.security.Authorizable;
/**
* Provide access to Profiles of {@link Authorizable Authorizables}.
* A Profile may be associated with a given application.
*
* @deprecated cq 5.5
*/
public interface ProfileManager {
/**
* getProfile.
*
* @param authorizableId ID of the
* {@link com.day.cq.security.Authorizable Authorizable} to access
* the Profile for
* @param session to use to access the
* {@link com.day.cq.security.profile.Profile Profile} with
* @return Profile or null
if none defined or accessible
* @throws javax.jcr.RepositoryException in case of error accessing the Repository
*/
Profile getProfile(String authorizableId, Session session)
throws RepositoryException;
/**
* getProfile.
*
* @param authorizableId ID of the
* {@link com.day.cq.security.Authorizable Authorizable} to access
* the Profile for
* @param session to use to access the
* {@link com.day.cq.security.profile.Profile Profile} with
* @param appName identifier of the application the profile is dedicated to
* @return Profile or null
if none defined or accessible
* @throws javax.jcr.RepositoryException in case of error accessing the Repository
*/
Profile getProfile(String authorizableId, Session session, String appName)
throws RepositoryException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy