Hi,
Could you not use a separate lookup table keyed by Nuxeo UID for your
IMAP UIDs?
I presume you would have an 'IMAP Workspace' and so also a lookup of the
last IMAP UID used to refer to when a new document is being created.
Regards,
Sean
On 11/08/10 21:17, Francois-Denis Gonthier 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.
--
Dr. Sean Radford, MBBS, MSc
http://www.tacola.com/
http://www.tacolaecm.com/
t: +44 (0)845 KEY HELP
t: +44 (0)845 539 4357
m: +44 (0)7802 24 24 86
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm