public class Document extends DocRef
getProperties()
method to fetch the document properties and getDirties()
to fetch dirty properties
updated.
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:
Modifier and Type | Field and Description |
---|---|
protected String |
changeToken |
protected PropertyMap |
contextParameters |
protected PropertyList |
facets |
protected String |
isCheckedOut |
protected String |
lockCreated |
protected String |
lockOwner |
protected String |
path |
protected PropertyMap |
properties |
protected PropertyMapSetter |
propertiesSetter |
protected String |
repository |
protected String |
state |
protected String |
type |
protected String |
versionLabel |
Constructor and Description |
---|
Document(String id,
String type)
Minimal constructor for automation client Document.
|
Document(String id,
String type,
PropertyList facets,
String changeToken,
String path,
String state,
String lockOwner,
String lockCreated,
String repository,
PropertyMap properties,
PropertyMap contextParameters)
Deprecated.
|
Document(String id,
String type,
PropertyList facets,
String changeToken,
String path,
String state,
String lockOwner,
String lockCreated,
String repository,
String versionLabel,
PropertyMap properties,
PropertyMap contextParameters)
Deprecated.
|
Document(String id,
String type,
PropertyList facets,
String changeToken,
String path,
String state,
String lockOwner,
String lockCreated,
String repository,
String versionLabel,
String isCheckedOut,
PropertyMap properties,
PropertyMap contextParameters)
Reserved to framework.
|
getInputRef, isBinary, newRef, toString
protected final String repository
protected final String lockCreated
protected final String versionLabel
protected final String isCheckedOut
protected final PropertyMap properties
protected final transient PropertyMapSetter propertiesSetter
protected final PropertyMap contextParameters
protected final String changeToken
protected final PropertyList facets
@Deprecated public Document(String id, String type, PropertyList facets, String changeToken, String path, String state, String lockOwner, String lockCreated, String repository, PropertyMap properties, PropertyMap contextParameters)
@Deprecated public Document(String id, String type, PropertyList facets, String changeToken, String path, String state, String lockOwner, String lockCreated, String repository, String versionLabel, PropertyMap properties, PropertyMap contextParameters)
public Document(String id, String type, PropertyList facets, String changeToken, String path, String state, String lockOwner, String lockCreated, String repository, String versionLabel, String isCheckedOut, PropertyMap properties, PropertyMap contextParameters)
public String getRepository()
public String getInputType()
getInputType
in interface OperationInput
getInputType
in class DocRef
public String getLockOwner()
public String getLockCreated()
public boolean isLocked()
public String getVersionLabel()
public Boolean isCheckedOut()
public Date getLastModified()
public PropertyMap getProperties()
public void set(String key, PropertyMap defValue)
public void set(String key, PropertyList defValue)
public String getChangeToken()
public PropertyList getFacets()
public PropertyMap getContextParameters()
public PropertyMap getDirties()
Copyright © 2015 Nuxeo SA. All rights reserved.