Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 4014 invoked from network); 13 Oct 2010 11:59:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Oct 2010 11:59:04 -0000 Received: (qmail 31358 invoked by uid 500); 13 Oct 2010 11:59:04 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 30921 invoked by uid 500); 13 Oct 2010 11:59:02 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 30883 invoked by uid 99); 13 Oct 2010 11:59:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 11:59:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Oct 2010 11:58:58 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o9DBwbwI013522 for ; Wed, 13 Oct 2010 11:58:37 GMT Message-ID: <33152572.111621286971117068.JavaMail.jira@thor> Date: Wed, 13 Oct 2010 07:58:37 -0400 (EDT) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Resolved: (JCR-2563) Add UserManager.createGroup(String groupID) method In-Reply-To: <2094387205.204201268315667169.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela resolved JCR-2563. ------------------------- Resolution: Fixed Fix Version/s: 2.2.0 applied patch with minor modifications. > Add UserManager.createGroup(String groupID) method > -------------------------------------------------- > > Key: JCR-2563 > URL: https://issues.apache.org/jira/browse/JCR-2563 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-api, jackrabbit-core > Affects Versions: 2.0.0, 2.1.0 > Reporter: Felix Meschberger > Assignee: angela > Fix For: 2.2.0 > > Attachments: JCR-2563.patch > > > As discussed on the dev list [1] I think it would be useful (and consistent inside the API) to have a UserManager.createGroup(String groupID) method. > The specification of the method would be: > /** > * Creates a Group for the given groupID must not be null. > *
> * Same as {@link #createGroup(Principal,String)} where the specified groupID > * is the name of a simple Principal implementation and 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 already > * in use or another {@link Authorizable} with the same > * {@link Authorizable#getID() ID} exists. > * @throws RepositoryException If another error occurs. > */ > Group createGroup(String groupID) throws AuthorizableExistsException, RepositoryException; > [1] http://markmail.org/message/rjofzg4t3kiht7xv -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.