Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 76267 invoked from network); 9 Apr 2011 05:58:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Apr 2011 05:58:50 -0000 Received: (qmail 92790 invoked by uid 500); 9 Apr 2011 05:58:49 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 92622 invoked by uid 500); 9 Apr 2011 05:58:48 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 92610 invoked by uid 99); 9 Apr 2011 05:58:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 05:58:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Apr 2011 05:58:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B1E5499782 for ; Sat, 9 Apr 2011 05:58:05 +0000 (UTC) Date: Sat, 9 Apr 2011 05:58:05 +0000 (UTC) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Message-ID: <2144363476.45977.1302328685725.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (DIRSHARED-106) Add some Modification constructor 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 Add some Modification constructor --------------------------------- Key: DIRSHARED-106 URL: https://issues.apache.org/jira/browse/DIRSHARED-106 Project: Directory Shared Issue Type: Improvement Affects Versions: 1.0-M3 Reporter: Emmanuel Lecharny Priority: Minor It would be convenient to have some new constructors for the DefaultModification class : - new DefaultModification( ModificationOperation, String attributeId, String... values ) - new DefaultModification( ModificationOperation, String attributeId, byte[]... values ) - new DefaultModification( ModificationOperation, String attributeId, Value... values ) - new DefaultModification( ModificationOperation, AttributeType, String... values ) - new DefaultModification( ModificationOperation, AttributeType, byte[]... values ) - new DefaultModification( ModificationOperation, AttributeType, Value... values ) - new DefaultModification(ModificationOperation, Object... elements ) The last constructor will take some LDIF formatted parameters, something like : Modification mod = new DefaultModification( ModificationOperation.ADD_ATTRIBUTE, "telephonenumber: +1 408 555 1234", "telephonenumber", newTelephone ); -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira