Interface ProfileManager


  • public interface ProfileManager
    Deprecated.
    cq 5.5
    Provide access to Profiles of Authorizables. A Profile may be associated with a given application.
    • Method Detail

      • getProfile

        Profile getProfile​(java.lang.String authorizableId,
                           Session session)
                    throws RepositoryException
        Deprecated.
        Parameters:
        authorizableId - ID of the Authorizable to access the Profile for
        session - to use to access the Profile with
        Returns:
        Profile or null if none defined or accessible
        Throws:
        RepositoryException - in case of error accessing the Repository
      • getProfile

        Profile getProfile​(java.lang.String authorizableId,
                           Session session,
                           java.lang.String appName)
                    throws RepositoryException
        Deprecated.
        Parameters:
        authorizableId - ID of the Authorizable to access the Profile for
        session - to use to access the Profile with
        appName - identifier of the application the profile is dedicated to
        Returns:
        Profile or null if none defined or accessible
        Throws:
        RepositoryException - in case of error accessing the Repository