null
if no description
@param visibleToAll true
to make the group visible to allregistered users, if false
the group is only visible to the group owners and Gerrit administrators
@param ownerGroupId the group that should own the new group, ifnull
the new group will own itself
@param initialMembers initial members to be added to the new group
@param initialGroups initial groups to include in the new group
@return the id of the new group
@throws OrmException is thrown in case of any data store read or writeerror
@throws NameAlreadyUsedException is thrown in case a group with the givenname already exists
@throws PermissionDeniedException user cannot create a group.
null
. Principal
the intermediate path is null
.
@param groupID The id of the new group; must not be null
.
@return The new Group
.
@throws AuthorizableExistsException in case the given groupID is alreadyin use or another {@link Authorizable} with the same{@link Authorizable#getID() ID} or principal name already exists.
@throws RepositoryException If another error occurs.
Note: you must add at least one entry to the group for the group to be kept after a logout/login. This is due to the way that XMPP stores group information. @param name the name of the group. @return a new group. @throws IllegalStateException if connection is not logged in or logged in anonymously
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|