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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ACLManagement
getACLManagement()
Returns the repository dependant ACL managementjava.util.Set<java.lang.String>
getBuiltInNodeTypeNames()
Returns the names of the default built in nodetypes of the underlying repository.CNDReader
getCNDReader()
Returns the default CND reader.CNDWriter
getCNDWriter(java.io.Writer out, Session s, boolean includeNS)
Returns the default CND writerNodeTypeInstaller
getDefaultNodeTypeInstaller(Session session)
Returns the default node type installer.PrivilegeInstaller
getDefaultPrivilegeInstaller(Session session)
Returns the default privilege installer.JcrVersion
getJCRVersion()
Returns the JCR version of the underlying repositoryUserManagement
getUserManagement()
Returns the repository dependant User management ornull
if the repository does not require a separate user 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 writers
- the sessionincludeNS
-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 ornull
if the repository does not require a separate user handling.- Returns:
- repository dependant User management or
null
-
-