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:
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
@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 getId()
public String getInputType()
getInputType
in interface OperationInput
getInputType
in class DocRef
public String getPath()
public String getType()
public String getLock()
public String getLockOwner()
public String getLockCreated()
public boolean isLocked()
public String getState()
public String getVersionLabel()
public Boolean isCheckedOut()
public Date getLastModified()
public String getTitle()
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 © 2013 Nuxeo SA. All Rights Reserved.