2009/4/6 Tiry <[email protected]>:
> Hi,
>
Hi,
>
> I would say that a synchronous listener could do the trick.
> Listener can do the check and throw an execption (or ask for rollback) if
> there is already an instance of this doc type in the container.
> A facet could be used in order to make your listener more generic.
>

Well, that's more or less the boring java code I had in mind :)

> About a good idea : why not if you have use cases :)

OK, I implement this for my case and then I'll try to use a facet

Thanks

-- 
Bruno Dupuis
[email protected]
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to