@ProviderType
public interface Document
extends Cloneable, Serializable
Modifier and Type | Method and Description |
---|---|
void |
add(Field field) |
void |
addDate(String name,
Date value) |
void |
addDate(String name,
Date[] values) |
void |
addDateSortable(String name,
Date value) |
void |
addDateSortable(String name,
Date[] values) |
void |
addFile(String name,
byte[] bytes,
String fileExt) |
void |
addFile(String name,
File file,
String fileExt) |
void |
addFile(String name,
InputStream is,
String fileExt) |
void |
addFile(String name,
InputStream is,
String fileExt,
int maxStringLength) |
void |
addGeoLocation(double latitude,
double longitude) |
void |
addGeoLocation(String name,
double latitude,
double longitude) |
void |
addKeyword(String name,
boolean value) |
void |
addKeyword(String name,
Boolean value) |
void |
addKeyword(String name,
boolean[] values) |
void |
addKeyword(String name,
Boolean[] values) |
void |
addKeyword(String name,
double value) |
void |
addKeyword(String name,
Double value) |
void |
addKeyword(String name,
double[] values) |
void |
addKeyword(String name,
Double[] values) |
void |
addKeyword(String name,
float value) |
void |
addKeyword(String name,
Float value) |
void |
addKeyword(String name,
float[] values) |
void |
addKeyword(String name,
Float[] values) |
void |
addKeyword(String name,
int value) |
void |
addKeyword(String name,
int[] values) |
void |
addKeyword(String name,
Integer value) |
void |
addKeyword(String name,
Integer[] values) |
void |
addKeyword(String name,
long value) |
void |
addKeyword(String name,
Long value) |
void |
addKeyword(String name,
long[] values) |
void |
addKeyword(String name,
Long[] values) |
void |
addKeyword(String name,
short value) |
void |
addKeyword(String name,
Short value) |
void |
addKeyword(String name,
short[] values) |
void |
addKeyword(String name,
Short[] values) |
void |
addKeyword(String name,
String value) |
void |
addKeyword(String name,
String[] values) |
void |
addKeyword(String name,
String value,
boolean lowerCase) |
void |
addKeywordSortable(String name,
Boolean value) |
void |
addKeywordSortable(String name,
Boolean[] values) |
void |
addKeywordSortable(String name,
String value) |
void |
addKeywordSortable(String name,
String[] values) |
void |
addLocalizedKeyword(String name,
Map<Locale,String> values) |
void |
addLocalizedKeyword(String name,
Map<Locale,String> values,
boolean lowerCase) |
void |
addLocalizedKeyword(String name,
Map<Locale,String> values,
boolean lowerCase,
boolean sortable) |
void |
addLocalizedText(String name,
Map<Locale,String> values) |
void |
addNumber(String name,
BigDecimal value) |
void |
addNumber(String name,
BigDecimal[] values) |
void |
addNumber(String name,
double value) |
void |
addNumber(String name,
Double value) |
void |
addNumber(String name,
double[] values) |
void |
addNumber(String name,
Double[] values) |
void |
addNumber(String name,
float value) |
void |
addNumber(String name,
Float value) |
void |
addNumber(String name,
float[] values) |
void |
addNumber(String name,
Float[] values) |
void |
addNumber(String name,
int value) |
void |
addNumber(String name,
int[] values) |
void |
addNumber(String name,
Integer value) |
void |
addNumber(String name,
Integer[] values) |
void |
addNumber(String name,
long value) |
void |
addNumber(String name,
Long value) |
void |
addNumber(String name,
long[] values) |
void |
addNumber(String name,
Long[] values) |
void |
addNumber(String name,
String value) |
void |
addNumber(String name,
String[] values) |
void |
addNumberSortable(String name,
BigDecimal value) |
void |
addNumberSortable(String name,
BigDecimal[] values) |
void |
addNumberSortable(String name,
Double value) |
void |
addNumberSortable(String name,
Double[] values) |
void |
addNumberSortable(String name,
Float value) |
void |
addNumberSortable(String name,
Float[] values) |
void |
addNumberSortable(String name,
Integer value) |
void |
addNumberSortable(String name,
Integer[] values) |
void |
addNumberSortable(String name,
Long value) |
void |
addNumberSortable(String name,
Long[] values) |
void |
addText(String name,
String value) |
void |
addText(String name,
String[] values) |
void |
addTextSortable(String name,
String value) |
void |
addTextSortable(String name,
String[] values) |
void |
addUID(String portletId,
long field1) |
void |
addUID(String portletId,
Long field1) |
void |
addUID(String portletId,
long field1,
String field2) |
void |
addUID(String portletId,
Long field1,
String field2) |
void |
addUID(String portletId,
String field1) |
void |
addUID(String portletId,
String field1,
String field2) |
void |
addUID(String portletId,
String field1,
String field2,
String field3) |
void |
addUID(String portletId,
String field1,
String field2,
String field3,
String field4) |
Object |
clone() |
String |
get(Locale locale,
String name) |
String |
get(Locale locale,
String name,
String defaultName) |
String |
get(String name) |
String |
get(String name,
String defaultName) |
Date |
getDate(String name) |
Field |
getField(String name) |
Map<String,Field> |
getFields() |
String |
getPortletId() |
String |
getUID() |
String[] |
getValues(String name) |
boolean |
hasField(String name) |
boolean |
isDocumentSortableTextField(String name) |
void |
remove(String name) |
void |
setSortableTextFields(String[] sortableTextFields) |
void add(Field field)
void addDate(String name, Date value)
void addDate(String name, Date[] values)
void addDateSortable(String name, Date value)
void addDateSortable(String name, Date[] values)
void addFile(String name, byte[] bytes, String fileExt) throws IOException
IOException
void addFile(String name, File file, String fileExt) throws IOException
IOException
void addFile(String name, InputStream is, String fileExt) throws IOException
IOException
void addFile(String name, InputStream is, String fileExt, int maxStringLength) throws IOException
IOException
void addGeoLocation(double latitude, double longitude)
void addGeoLocation(String name, double latitude, double longitude)
void addKeyword(String name, boolean value)
void addKeyword(String name, Boolean value)
void addKeyword(String name, boolean[] values)
void addKeyword(String name, Boolean[] values)
void addKeyword(String name, double value)
void addKeyword(String name, Double value)
void addKeyword(String name, double[] values)
void addKeyword(String name, Double[] values)
void addKeyword(String name, float value)
void addKeyword(String name, Float value)
void addKeyword(String name, float[] values)
void addKeyword(String name, Float[] values)
void addKeyword(String name, int value)
void addKeyword(String name, int[] values)
void addKeyword(String name, Integer value)
void addKeyword(String name, Integer[] values)
void addKeyword(String name, long value)
void addKeyword(String name, Long value)
void addKeyword(String name, long[] values)
void addKeyword(String name, Long[] values)
void addKeyword(String name, short value)
void addKeyword(String name, Short value)
void addKeyword(String name, short[] values)
void addKeyword(String name, Short[] values)
void addKeyword(String name, String value)
void addKeyword(String name, String value, boolean lowerCase)
void addKeyword(String name, String[] values)
void addKeywordSortable(String name, Boolean value)
void addKeywordSortable(String name, Boolean[] values)
void addKeywordSortable(String name, String value)
void addKeywordSortable(String name, String[] values)
void addLocalizedKeyword(String name, Map<Locale,String> values)
void addLocalizedKeyword(String name, Map<Locale,String> values, boolean lowerCase)
void addLocalizedKeyword(String name, Map<Locale,String> values, boolean lowerCase, boolean sortable)
void addLocalizedText(String name, Map<Locale,String> values)
void addNumber(String name, BigDecimal value)
void addNumber(String name, BigDecimal[] values)
void addNumber(String name, double value)
void addNumber(String name, Double value)
void addNumber(String name, double[] values)
void addNumber(String name, Double[] values)
void addNumber(String name, float value)
void addNumber(String name, Float value)
void addNumber(String name, float[] values)
void addNumber(String name, Float[] values)
void addNumber(String name, int value)
void addNumber(String name, int[] values)
void addNumber(String name, Integer value)
void addNumber(String name, Integer[] values)
void addNumber(String name, long value)
void addNumber(String name, Long value)
void addNumber(String name, long[] values)
void addNumber(String name, Long[] values)
void addNumber(String name, String value)
void addNumber(String name, String[] values)
void addNumberSortable(String name, BigDecimal value)
void addNumberSortable(String name, BigDecimal[] values)
void addNumberSortable(String name, Double value)
void addNumberSortable(String name, Double[] values)
void addNumberSortable(String name, Float value)
void addNumberSortable(String name, Float[] values)
void addNumberSortable(String name, Integer value)
void addNumberSortable(String name, Integer[] values)
void addNumberSortable(String name, Long value)
void addNumberSortable(String name, Long[] values)
void addText(String name, String value)
void addText(String name, String[] values)
void addTextSortable(String name, String value)
void addTextSortable(String name, String[] values)
void addUID(String portletId, long field1)
void addUID(String portletId, long field1, String field2)
void addUID(String portletId, Long field1)
void addUID(String portletId, Long field1, String field2)
void addUID(String portletId, String field1)
void addUID(String portletId, String field1, String field2)
void addUID(String portletId, String field1, String field2, String field3)
void addUID(String portletId, String field1, String field2, String field3, String field4)
Object clone()
String get(Locale locale, String name)
String get(Locale locale, String name, String defaultName)
String get(String name)
String get(String name, String defaultName)
Date getDate(String name) throws ParseException
ParseException
Field getField(String name)
Map<String,Field> getFields()
String getPortletId()
String getUID()
String[] getValues(String name)
boolean hasField(String name)
boolean isDocumentSortableTextField(String name)
void remove(String name)
void setSortableTextFields(String[] sortableTextFields)