Interface ServiceProvider
@ProviderType
public interface ServiceProvider
Defines a general provider for the JCR version specific services such as node
type management and access control handling.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the repository dependant ACL managementReturns the names of the default built in nodetypes of the underlying repository.Returns the default CND reader.getCNDWriter(Writer out, Session s, boolean includeNS) Returns the default CND writergetDefaultNodeTypeInstaller(Session session) Returns the default node type installer.getDefaultPrivilegeInstaller(Session session) Returns the default privilege installer.Returns the JCR version of the underlying repositoryReturns the repository dependant User management ornullif the repository does not require a separate user handling.
-
Method Details
-
getJCRVersion
JcrVersion getJCRVersion()Returns the JCR version of the underlying repository- Returns:
- the jcr version
-
getBuiltInNodeTypeNames
Returns the names of the default built in nodetypes of the underlying repository.- Returns:
- a set of names
-
getDefaultNodeTypeInstaller
Returns the default node type installer.- Parameters:
session- the session to use- Returns:
- the default node type installer.
-
getDefaultPrivilegeInstaller
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
Returns the default CND writer- Parameters:
out- the writers- the sessionincludeNS-trueif 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 ornullif the repository does not require a separate user handling.- Returns:
- repository dependant User management or
null
-