|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.automation.client.model.DocRef org.nuxeo.ecm.automation.client.model.Document
public class Document
A immutable document. You cannot modify documents. Documents are as they are returned by the server. To modify documents use operations.
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 Summary | |
---|---|
Document(String id,
String type,
PropertyList facets,
String changeToken,
String path,
String state,
String lock,
String repository,
PropertyMap properties)
Reserved to framework. |
Method Summary | |
---|---|
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)
|
Methods inherited from class org.nuxeo.ecm.automation.client.model.DocRef |
---|
getInputRef, isBinary, newRef, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Document(String id, String type, PropertyList facets, String changeToken, String path, String state, String lock, String repository, PropertyMap properties)
Method Detail |
---|
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 getString(String key)
public Date getDate(String key)
public Long getLong(String key)
public Double getDouble(String key)
public String getString(String key, String defValue)
public Date getDate(String key, Date defValue)
public Long getLong(String key, Long defValue)
public Double getDouble(String key, Double defValue)
public void set(String key, String defValue)
public void set(String key, Date defValue)
public void set(String key, Long defValue)
public void set(String key, Double defValue)
public String getChangeToken()
public PropertyList getFacets()
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |