public interface CreateGroup
CreateGroup service api.
This interface is not intended to be implemented by bundles. It is implemented by this bundle and may be used by client bundles.
| Modifier and Type | Method and Description |
|---|---|
default org.apache.jackrabbit.api.security.user.Group |
createGroup(javax.jcr.Session jcrSession,
java.util.Map<java.lang.String,?> properties,
java.util.List<Modification> changes)
Create a new group for the repository.
|
org.apache.jackrabbit.api.security.user.Group |
createGroup(javax.jcr.Session jcrSession,
java.lang.String name,
java.util.Map<java.lang.String,?> properties,
java.util.List<Modification> changes)
Create a new group for the repository
|
org.apache.jackrabbit.api.security.user.Group createGroup(javax.jcr.Session jcrSession,
java.lang.String name,
java.util.Map<java.lang.String,?> properties,
java.util.List<Modification> changes)
throws javax.jcr.RepositoryException
jcrSession - the JCR session of the user creating the groupname - The name of the new group. If null or empty, the name is calculated from the supplied properties (per SLING-10902).properties - Extra properties to update on the group. The entry values should be either a String or String[] (optional)changes - The list of changes for this operation (optional)javax.jcr.RepositoryException - if group can't be createddefault org.apache.jackrabbit.api.security.user.Group createGroup(javax.jcr.Session jcrSession,
java.util.Map<java.lang.String,?> properties,
java.util.List<Modification> changes)
throws javax.jcr.RepositoryException
jcrSession - the JCR session of the user creating the groupproperties - Extra properties to update on the group. The entry values should be either a String or String[] (optional)changes - The list of changes for this operation (optional)javax.jcr.RepositoryException - if group can't be createdCopyright © 2022 The Apache Software Foundation. All rights reserved.