Factory the DocumentSnapshot web service structure
--------------------------------------------------
Key: NXP-3698
URL: http://jira.nuxeo.org/browse/NXP-3698
Project: Nuxeo Enterprise Platform
Issue Type: Improvement
Affects Versions: 5.2 GA
Reporter: Radu Darlea
Fix For: 5.2.x
The DocumentSnapshot lacks factories: from DocumentModel and to DocumentModel.
Currently, the DocumentModel is read and a DocumentSnapshot is created through
protected methods in NuxeoRemotingBean. My proposal would be to move the
implementation in the DocumetnSnapshot itself, as a true method factory. A need
of detecting existence of blobs could be also thought (as for synchronization).
The factory updating a DocumentModel from the DocumentSnapshot (at least for
non blobs properties, but it would be easy to add blobs support too) can be
also added.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets