directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DIRSHARED-106) Add some Modification constructor
Date Sat, 09 Apr 2011 06:08:05 GMT

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

Emmanuel Lecharny updated DIRSHARED-106:
----------------------------------------

    Fix Version/s: 1.0.0-M4

> 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

Mime
View raw message