Hi, That's sounds cool. You can try to leverage the UIDGenerator service that gives you mean to get an always increasing integer ID. http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.3.1/viewExtensionPoint/org.nuxeo.ecm.platform.uidgen.service.UIDGeneratorService--generators
Also, for the use case, the user gives his credential Nuxeo when he configures its IMAP client, and it displays all the hierachy of folderish document types he has access to ? Do you filter out fodlers where he cannot create content ? Alain Alain On Wed, Aug 11, 2010 at 10:17 PM, Francois-Denis Gonthier < [email protected]> wrote: > Hello, > > This is my first post to this list and possibly not my last. I work on > Nuxeo for Revolution Linux with Patrick Turcotte. I'm currently working on a > proof-of-concept IMAP server running inside Nuxeo. It is still early in the > development but I've made some user-visible progress. I can connect to the > server using an IMAP client and see a folder list. > > I'm at the point where I need to list the content of a Nuxeo folder as IMAP > messages. For this, I need to obtain an unique integer identifier for > messages in a folder. I cannot use an hash or the document UUID because, for > proper synchronisation, identifiers need to be ascending. (See RFC 3501 > section 2.3.1.1) > > So, I somehow need to decorate Nuxeo document with an additional value > which is maintained by my IMAP server service. Because I don't know how to > add and store metadata to document, I have only vague idea on how I can > integrate that inside Nuxeo. I understand that, once I have a way to store > the identifier with the document, I will be able to correctly maintain the > identifiers using the event service and that I can also use an type adapter > to help me access the IMAP identifiers of a document. > > As far as I understand, creating a new document type is out of the question > because my solution needs to apply to existing documents, of any type, > currently stored in a Nuxeo server. > > I am open to any suggestions that you think might be of any help to me. > > -- > François-Denis Gonthier > Programmeur-analyste > ------------------------------------------------ > [email protected] > (819) 780-8955, poste 1128 > Sans frais 1-800-996-8955, poste 1128 > _______________________________________________ > ECM mailing list > [email protected] > http://lists.nuxeo.com/mailman/listinfo/ecm > To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm >
_______________________________________________ ECM mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/ecm To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
