[
http://jira.nuxeo.org/browse/NXP-2982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thierry Delprat reopened NXP-2982:
----------------------------------
Should be moved to nuxeo-core
> Provide adapter to manipulate DocumentModel as a blob
> -----------------------------------------------------
>
> Key: NXP-2982
> URL: http://jira.nuxeo.org/browse/NXP-2982
> Project: Nuxeo Enterprise Platform
> Issue Type: User story
> Reporter: Thierry Delprat
> Assignee: Thierry Delprat
> Fix For: 5.2 M4
>
>
> There are several place in the code where we need to manipulate the
> DocumentModel as a blob :
> - in all download links
> - in the preview addon
> - in all file oriented interfaces (WebDav, Flex filemanager ...)
> - ...
> Each time, there is ugly code that looks for file:content.
> => This needs to be encapsulated
> Furthermore some services (like tranformers or Tiling) take as input
> something that is homogene to a blob.
> In these case, using a blob instread of a Adapter DocumentModel makes us
> loose information : there is not way to compute a cache key based on the blob.
> We need to define :
> - a BlobHolder interface
> (that can be implemented on top of DocumentModel or on top of other
> resources)
> - a pluggable adapter factory to manage how BlobHolder is defined for each
> DocumentModel Type
--
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