public class AttachmentInTree extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
allAttachmentToIndex |
protected Map<String,Set<String>> |
attachmentAddedInTree |
protected Map<String,Set<String>> |
attachmentRemovedInTree |
protected org.apache.commons.collections.Factory |
listFactory |
| Constructor and Description |
|---|
AttachmentInTree() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public void clean(Collection<String> ids)
ids - public int size()
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 representationpublic void add(String id, Collection<String> attId)
id - TreeNode idattId - attachment idpublic void add(String id, String attId)
id - TreeNode idattId - attachment idpublic void add(org.apache.solr.common.SolrDocument doc)
doc - TreeNode document representationpublic 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 representationCopyright © 2009–2014 CodeLutin. All rights reserved.