[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jan Haderka updated MAGNOLIA-3050:
----------------------------------

    Fix Version/s: 4.3.x
                       (was: 4.3.2)

> Add missing methods to BinaryNodeData for getting/setting attributes
> --------------------------------------------------------------------
>
>                 Key: MAGNOLIA-3050
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3050
>             Project: Magnolia
>          Issue Type: Improvement
>            Reporter: Fabrizio Giustina
>            Assignee: Boris Kraft
>             Fix For: 4.3.x
>
>
> I noticed only recently that BinaryNodeData has methods for setting 
> attributes like:
> {code}
> setAttribute(String name, String value)
> setAttribute(String name, Calendar value)
> {code}
> but it misses the method for setting Longs or Doubles (I was wondering why 
> the image size is set as a string and not as a long in jcr, this is probably 
> the reason).
> Also for getting attributes it only has:
> {code}
> public String getAttribute(String name) {
> {code}
> which is already strange since the setter already supports also Calendars.
> What about cleaning it up in order to allow all the available types? we could 
> maybe just add a getNodeData(String name) method similar to the one in 
> Content (making clear that a binary node data can have other node data 
> nested)?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to