Interface ServiceProvider


  • public interface ServiceProvider
    Defines a general provider for the JCR version specific services such as node type management and access control handling.
    • Method Detail

      • getJCRVersion

        JcrVersion getJCRVersion()
        Returns the JCR version of the underlying repository
        Returns:
        the jcr version
      • getBuiltInNodeTypeNames

        java.util.Set<java.lang.String> getBuiltInNodeTypeNames()
        Returns the names of the default built in nodetypes of the underlying repository.
        Returns:
        a set of names
      • getDefaultNodeTypeInstaller

        NodeTypeInstaller getDefaultNodeTypeInstaller​(Session session)
        Returns the default node type installer.
        Parameters:
        session - the session to use
        Returns:
        the default node type installer.
      • getDefaultPrivilegeInstaller

        PrivilegeInstaller getDefaultPrivilegeInstaller​(Session session)
        Returns the default privilege installer.
        Parameters:
        session - the session to use
        Returns:
        the default privilege installer.
      • getCNDReader

        CNDReader getCNDReader()
        Returns the default CND reader.
        Returns:
        the default CND reader.
      • getCNDWriter

        CNDWriter getCNDWriter​(java.io.Writer out,
                               Session s,
                               boolean includeNS)
        Returns the default CND writer
        Parameters:
        out - the writer
        s - the session
        includeNS - true if namespace should be included
        Returns:
        the default CND writer
      • getACLManagement

        ACLManagement getACLManagement()
        Returns the repository dependant ACL management
        Returns:
        the ACL management
      • getUserManagement

        UserManagement getUserManagement()
        Returns the repository dependant User management or null if the repository does not require a separate user handling.
        Returns:
        repository dependant User management or null