public class Document extends DocRef
You need to create your own wrapper if you need to access the document properties in a multi-level way. This is a flat representation of the document.
Possible property value types:
Constructor and Description |
---|
Document(String id,
String type,
PropertyList facets,
String changeToken,
String path,
String state,
String lock,
String repository,
PropertyMap properties)
Reserved to framework.
|
Modifier and Type | Method and Description |
---|---|
String |
getChangeToken() |
Date |
getDate(String key) |
Date |
getDate(String key,
Date defValue) |
Double |
getDouble(String key) |
Double |
getDouble(String key,
Double defValue) |
PropertyList |
getFacets() |
String |
getId() |
String |
getInputType() |
Date |
getLastModified() |
String |
getLock() |
Long |
getLong(String key) |
Long |
getLong(String key,
Long defValue) |
String |
getPath() |
PropertyMap |
getProperties() |
String |
getRepository() |
String |
getState() |
String |
getString(String key) |
String |
getString(String key,
String defValue) |
String |
getTitle() |
String |
getType() |
void |
set(String key,
Date defValue) |
void |
set(String key,
Double defValue) |
void |
set(String key,
Long defValue) |
void |
set(String key,
String defValue) |
getInputRef, isBinary, newRef, toString
public Document(String id, String type, PropertyList facets, String changeToken, String path, String state, String lock, String repository, PropertyMap properties)
public String getRepository()
public String getId()
public String getInputType()
getInputType
in interface OperationInput
getInputType
in class DocRef
public String getPath()
public String getType()
public String getLock()
public String getState()
public Date getLastModified()
public String getTitle()
public PropertyMap getProperties()
public String getChangeToken()
public PropertyList getFacets()
Copyright © 2011 Nuxeo SA. All Rights Reserved.