The UID generator service is designed to allow generation along some configurable patterns, however if it doesn't do exactly what you want it's trivial to write instead a small event listener that reacts on document creation, copy or import and sets on them the uid field based on the current time as Benjamin suggested (YYYYMMDDHHMMSSSS). This is basically 10 lines I think.
Florent On Thu, Aug 12, 2010 at 3:53 PM, Francois-Denis Gonthier <[email protected]> wrote: > Hello, > >> It's really a great idea and we are really interested about your >> feature. >> I would be interested to participate to this development, and if you >> want to shared your source repository or want that Nuxeo to store >> source code to shared with the community, it would be great. > >> >> We can also, if you want create a project in our JIRA as a free access >> to explicitly describes your user stories, and like that we will >> discuss on each user stories on the ticket. > > This is interesting and I am happy you are interested in this. I'll have to > check that with my director. > >> >> About your question, is the UID generator contribution is not the good >> way ? > > As far as I understand it, the UID generator contribution would work if the > IMAP service was enabled on a Nuxeo servers without any document created but > fail to work when document exists on the server, with UID generated using the > default generator. > > F-D > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm > -- Florent Guillaume, Director of R&D, Nuxeo Open Source, Java EE based, Enterprise Content Management (ECM) http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87 _______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
