Vincent Massol wrote:
> On Jun 29, 2009, at 10:39 PM, Marius Dumitru Florea wrote:
> 
>> Hi Vincent,
>>
>> Vincent Massol wrote:
>>> Hi,
>>>
>>> I'd like to change the signatures  DAB.getProperty() methods. Right
>>> now they are:
>>>
>>>     String getProperty(String documentName, String className, int
>>> objectNumber, String propertyName) throws Exception;
>>>     String getProperty(String documentName, String className, String
>>> propertyName) throws Exception;
>>>     String getProperty(String documentName, String propertyName)
>>> throws Exception;
>>>
>>> I'd like to change them to:
>>>
>>>     Object getProperty(String documentName, String className, int
>>> objectNumber, String propertyName);
>>>     Object getProperty(String documentName, String className, String
>>> propertyName);
>>>     Object getProperty(String documentName, String propertyName);
>>>
>>> I have no idea why they currently return Strings and not Objects and
>>> why they are declared to throw an exception when they catch all
>>> exceptions and instead return null when an error occurs...
>> What types of objects can these methods return, besides String?
> 
> Lists, numbers (float, int, long, etc), String, etc

+1

Thanks,
Marius

> 
> -Vincent
> 
>> Thanks,
>> Marius
>>
>>> I need this change to be able to implement
>>> http://jira.xwiki.org/jira/browse/XWIKI-4044
>>> (Add support for looking for configuration parameters in
>>> XWikiPreferences, WebPreferences and the User Profile)
>>>
>>> Here's my +1
>>>
>>> Thanks
>>> -Vincent
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to