[ 
https://issues.apache.org/jira/browse/DIRSHARED-106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Lecharny resolved DIRSHARED-106.
-----------------------------------------

    Resolution: Fixed

I have added most of the missing constructors, except the one which takes LDIF 
values. it's not really useful.

Fixed with : http://svn.apache.org/viewvc?rev=1126491&view=rev


> 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.0-M3
>            Reporter: Emmanuel Lecharny
>            Priority: Minor
>             Fix For: 1.0.0-M4
>
>
> 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

Reply via email to