|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.nuiton.wikitty.storage.solr.AttachmentInTree
public class AttachmentInTree
Class permettant de construire la liste des objets qui ont ete ajoute ou supprimer d'un noeud
| Field Summary | |
|---|---|
protected Set<String> |
allAttachmentToIndex
|
protected Map<String,Set<String>> |
attachmentAddedInTree
|
protected Map<String,Set<String>> |
attachmentRemovedInTree
|
protected org.apache.commons.collections.Factory |
listFactory
|
| Constructor Summary | |
|---|---|
AttachmentInTree()
|
|
| Method Summary | |
|---|---|
void |
add(org.apache.solr.common.SolrDocument doc)
Ajout les attachment du TreeNode passe en parametre sous forme de doc Solr |
void |
add(org.apache.solr.common.SolrDocument doc,
Set<String> restriction)
Ajout les attachment du TreeNode passe en parametre sous forme de doc Solr Mais seulement si l'attachment est aussi dans la liste restriction |
void |
add(org.apache.solr.common.SolrInputDocument doc)
Ajout les attachment du TreeNode passe en parametre sous forme de doc Solr |
void |
add(String id,
Collection<String> attId)
Ajout les attachment du TreeNode passe en parametre via son Id |
void |
add(String id,
String attId)
Ajout l'attachment du TreeNode passe en parametre via son Id |
void |
add(Wikitty w)
Ajout les attachment du TreeNode passe en parametre sous forme de Wikitty |
void |
clean(Collection<String> ids)
Remove all ids in attachment list. |
Map<String,Set<String>> |
getAdded()
|
Set<String> |
getAll()
|
Map<String,Set<String>> |
getRemoved()
|
void |
remove(org.apache.solr.common.SolrDocument doc)
|
void |
remove(org.apache.solr.common.SolrInputDocument doc)
|
void |
remove(String id,
Collection<String> attId)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Set<String> allAttachmentToIndex
protected org.apache.commons.collections.Factory listFactory
protected Map<String,Set<String>> attachmentRemovedInTree
protected Map<String,Set<String>> attachmentAddedInTree
| Constructor Detail |
|---|
public AttachmentInTree()
| Method Detail |
|---|
public void clean(Collection<String> ids)
ids - public int size()
public Set<String> getAll()
public Map<String,Set<String>> getAdded()
public Map<String,Set<String>> getRemoved()
public void remove(String id,
Collection<String> attId)
id - TreeNode idids - attachment idpublic void remove(org.apache.solr.common.SolrDocument doc)
doc - TreeNode document representationpublic void remove(org.apache.solr.common.SolrInputDocument doc)
doc - TreeNode document representation
public void add(String id,
Collection<String> attId)
id - TreeNode idattId - attachment id
public void add(String id,
String attId)
id - TreeNode idattId - attachment idpublic void add(org.apache.solr.common.SolrDocument doc)
doc - TreeNode document representation
public void add(org.apache.solr.common.SolrDocument doc,
Set<String> restriction)
doc - TreeNode document representationrestriction - la liste accepte de wikitty a ajouterpublic void add(org.apache.solr.common.SolrInputDocument doc)
doc - TreeNode document representationpublic void add(Wikitty w)
doc - TreeNode document representation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||