public class DocumentCart
extends java.lang.Object
Constructor and Description |
---|
DocumentCart() |
Modifier and Type | Method and Description |
---|---|
void |
addDocument(java.lang.String docid,
java.util.Map fields) |
void |
addField(java.lang.String label,
java.lang.String path) |
void |
addFields(java.util.Map f) |
void |
clear() |
void |
clearFields() |
java.lang.String[] |
getDocids() |
java.util.Map |
getFields() |
java.util.Map |
getFields(java.lang.String docid) |
java.lang.String[] |
getLabels() |
java.lang.String[] |
getPaths() |
void |
removeDocument(java.lang.String docid) |
void |
removeField(java.lang.String label) |
public void addDocument(java.lang.String docid, java.util.Map fields)
public void removeDocument(java.lang.String docid)
public java.util.Map getFields(java.lang.String docid)
public java.lang.String[] getDocids()
public void clear()
public void addField(java.lang.String label, java.lang.String path)
public void removeField(java.lang.String label)
public void clearFields()
public java.util.Map getFields()
public void addFields(java.util.Map f)
public java.lang.String[] getLabels()
public java.lang.String[] getPaths()
Copyright © 2020 Regents of the University of California. All Rights Reserved.