TYPE:"{http://www.alfresco.org/model/content/1.0}folder"
ouTYPE:"cm:folder"
<type name="nab:article-folder">
<title>Ma selection d'article</title>
<parent>cm:folder</parent>
<properties>…</properties>
<associations>
<association name="nab:articles">
<title>Les articles selectionnes</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>nab:article-catalogue</class>
<mandatory>false<mandatory>
<many>false</many>
</target>
</association>
</associations>
</type>
Le type target de l'association est "nab:article-catalogue". Voici une partie de sa description, je ne fais apparaitre ici que la propriete "categorie" : <type name="nab:article-catalogue">
<title>Articles du catalogue</title>
<parent>cm:folder</parent>
<properties>
<property name="nab:categorie">
<title>Categorie d'article</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</type>
De cette manière, notre nab:article-folder est un genre de panier. Je voulais savoir s'il était possible avec lucene de faire une requête qui me récupère tous les paniers qui ont un article dont la catégorie est "Chaussettes" (par exemple).TYPE:"nab:article-folder" AND (…)
C'est le "…" qui me gène TYPE:"nab:article-folder" AND (PARENT:"id1" PARENT:"id2" … )
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.