You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Chenghu Shan (Jira)" <ji...@apache.org> on 2023/06/15 10:04:00 UTC

[jira] [Created] (OFBIZ-12829) Improvements for ContentWorker Methods and view-entities

Chenghu Shan created OFBIZ-12829:
------------------------------------

             Summary: Improvements for ContentWorker Methods and view-entities
                 Key: OFBIZ-12829
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12829
             Project: OFBiz
          Issue Type: Improvement
          Components: content
    Affects Versions: Upcoming Branch
            Reporter: Chenghu Shan
            Assignee: Chenghu Shan


Adds additional methods to ContentWorker:
 * New method findAlternateLocalContents to find all alternate locale contents instead of just one specific. 
 * Overloaded methods of findAlternateLocalContents and findAlternateLocalContent to enable/disable cache use
 * New method getDocumentContentMaps to get a list of a map of document file content infos, such as path, name, mime type and file size

Changes to view-entites ProductContentAndInfo and ProductCategoryContentAndInfo:
 * Both now use an outer join instead of inner join between DataResource and Content, because there may be a Content object without a DataResource for its locale but with alternate locale content objects associated to it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)