public class Document extends DocRef implements org.osivia.portal.api.cms.EcmDocument
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 |
lockCreated |
protected String |
lockOwner |
protected String |
path |
protected PropertyMap |
properties |
protected String |
repository |
protected String |
state |
protected String |
type |
protected String |
versionLabel |
| Constructor and Description |
|---|
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)
Reserved to framework.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChangeToken() |
PropertyMap |
getContextParameters() |
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() |
String |
getLockCreated() |
String |
getLockOwner() |
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() |
String |
getVersionLabel() |
boolean |
isLocked() |
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, toStringprotected final String repository
protected final String path
protected final String type
protected final String state
protected final String lockOwner
protected final String lockCreated
protected final String versionLabel
protected final PropertyMap properties
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)
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 String getRepository()
public String getId()
public String getInputType()
getInputType in interface OperationInputgetInputType in class DocRefpublic String getPath()
public String getType()
public String getLock()
public String getLockOwner()
public String getLockCreated()
public boolean isLocked()
public String getState()
public String getVersionLabel()
public Date getLastModified()
public String getTitle()
getTitle in interface org.osivia.portal.api.cms.EcmDocumentpublic PropertyMap getProperties()
public String getChangeToken()
public PropertyList getFacets()
public PropertyMap getContextParameters()
Copyright © 2018. All rights reserved.