public class UpdateDocumentInfo extends DocumentInfo
Modifier and Type | Field and Description |
---|---|
protected Boolean |
doCheckin |
protected Boolean |
doResolveLinks |
protected String |
hDoc |
structure
acl, comment, ddc, metadatas
Constructor and Description |
---|
UpdateDocumentInfo(String ddcName,
String documentHDoc,
Map<String,Object> nameValuePairs,
ContentStream[] content,
String versionComment)
Creates a new UpdateDocumentInfo.
|
UpdateDocumentInfo(String ddcName,
String documentHDoc,
Properties nameValuePairs,
ContentStream[] content,
String versionComment)
Creates a new UpdateDocumentInfo.
|
Modifier and Type | Method and Description |
---|---|
UpdateDocumentInfo |
addVariable(String name,
String value)
Adds a variable to this document representation.
|
Boolean |
getCheckin() |
String |
getDocumentHDoc() |
Boolean |
getResolveLinks() |
UpdateDocumentInfo |
setCheckin(Boolean checkin) |
DocumentInfo |
setResolveLinks(boolean resolveLinks) |
getContent, getSelectedImage, getStructure, getVariables, setSelectedImage
getAcls, getDdcName, getMetadatas, getVersionComment, setAcls
protected String hDoc
protected Boolean doResolveLinks
protected Boolean doCheckin
public UpdateDocumentInfo(String ddcName, String documentHDoc, Properties nameValuePairs, ContentStream[] content, String versionComment)
ddcName
- The name of the database definitiondocumentHDoc
- The ID of the document (HDOC)nameValuePairs
- A properties object containing the metadata. Only the
contained properties will be updated.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 UpdateDocumentInfo(String ddcName, String documentHDoc, Map<String,Object> nameValuePairs, ContentStream[] content, String versionComment)
ddcName
- The name of the database definitiondocumentHDoc
- The ID of the document (HDOC)nameValuePairs
- A Map object containing the metadata. Only the
contained properties will be updated.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 String getDocumentHDoc()
public Boolean getResolveLinks()
public DocumentInfo setResolveLinks(boolean resolveLinks)
resolveLinks
- resolveLinkspublic Boolean getCheckin()
public UpdateDocumentInfo setCheckin(Boolean checkin)
checkin
- checkinpublic UpdateDocumentInfo addVariable(String name, String value)
DocumentInfo
addVariable
in class DocumentInfo
name
- The name of the variable.value
- The value of the variable.Copyright © 2016 SAPERION AG. All rights reserved.