13 17:20
To: dev@sling.apache.org
Subject: Re: [sling/collection] Properties
Hi Amit
I managed to get things working with the APIs you specified, however I find the
ResourceCollection API a little inconsistent. For example there is a mixed
concept between the actual resource and the sling:member
Hi Amit
I managed to get things working with the APIs you specified, however I find the
ResourceCollection API a little inconsistent. For example there is a mixed
concept between the actual resource and the sling:member reference. Which is
why I ended up over looking getProperties. My initia
IIUC, what Ben is asking for is a
void setProperties(Map properties);
which will set the properties on all resources in the collection.
Seems like a good idea to me.
Justin
On Wed, Jul 24, 2013 at 9:43 PM, Amit.. Gupta. wrote:
> ResourceCollection has
>
> /**
> * Creates a new entry in
ResourceCollection has
/**
* Creates a new entry in the collection at the last position and add a
reference to resource
* in the entry.
* Changes are transient & have to be saved by calling resolver.commit()
*
* @param resource resource to be added
* @param propertie