public class DocumentInfo extends Description
Modifier and Type | Field and Description |
---|---|
protected Structure |
structure
This DocumentInfos structure.
|
acl, comment, ddc, metadatas
Constructor and Description |
---|
DocumentInfo(String ddcName,
Map<String,Object> metadatas,
ContentStream[] content,
String versionComment)
Creates a new UpdateDocumentInfo.
|
Modifier and Type | Method and Description |
---|---|
DocumentInfo |
addVariable(String name,
String value)
Adds a variable to this document representation.
|
ContentStream[] |
getContent()
Returns the contents of this document representation.
|
int |
getSelectedImage() |
Structure |
getStructure()
Returns this document representations structure.
|
Map<String,String> |
getVariables()
Returns the variables of this document representation.
|
void |
setSelectedImage(int elementNumber) |
getAcls, getDdcName, getMetadatas, getVersionComment, setAcls
protected Structure structure
public DocumentInfo(String ddcName, Map<String,Object> metadatas, ContentStream[] content, String versionComment)
ddcName
- The name of the database definitionmetadatas
- The metadata of this document representation.content
- Multiple content data. If the array is empty, all content of the document will be
removed. If null, the content will not be changed. Otherwise only the contained
elements will be replaced.versionComment
- The comment for the versionpublic void setSelectedImage(int elementNumber)
elementNumber
- Element to markpublic int getSelectedImage()
public ContentStream[] getContent()
public Map<String,String> getVariables()
public Structure getStructure()
public DocumentInfo addVariable(String name, String value)
name
- The name of the variable.value
- The value of the variable.Copyright © 2016 SAPERION AG. All rights reserved.