| Modifier and Type | Field and Description |
|---|---|
protected String |
callbackUrl
The editor.
|
protected String |
comment
The comment.
|
protected String |
displayPath
The display path.
|
protected String |
docId
The document ID in storage.
|
protected String |
documentserverSecret
The document server secret key.
|
protected String |
documentserverUrl
The documentserver url.
|
protected String |
documentType
The document type.
|
protected String |
drive
The drive.
|
protected String |
editorUrl
The editor page at platform URL.
|
protected URI |
explorerUri
The ECMS explorer page URL.
|
protected String |
fileType
The document.
|
protected String |
folder
The folder.
|
protected Boolean |
isActivity
The indicator to show if the document has a file activity
|
protected String |
key
The document.
|
protected String |
lang
The editor.
|
protected String |
lastModified
The lastModified.
|
protected String |
lastModifier
The last modifier.
|
protected String |
mode
The editor.
|
protected String |
name
The user.
|
protected String |
owner
The folder.
|
protected String |
path
The path.
|
protected String |
platformRestUrl
The platform REST URL base.
|
protected Boolean |
renameAllowed
The rename allowed indicator.
|
protected String |
title
The document.
|
protected String |
uploaded
The folder.
|
protected String |
url
The document.
|
protected String |
userId
The user.
|
protected String |
workspace
The workspace of the storage.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Builder(String documentserverUrl,
String documentType,
String workspace,
String path,
String docId)
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
Config |
build()
Builds the.
|
Config.Builder |
callbackUrl(String callbackUrl)
Callback url.
|
Config.Builder |
comment(String comment)
Comment.
|
Config.Builder |
displayPath(String displayPath)
Display path.
|
Config.Builder |
drive(String drive)
Drive.
|
Config.Builder |
editorUrl(String editorUrl)
Editor page URL.
|
Config.Builder |
explorerUri(URI uri)
URI of ECMS explorer page with a document.
|
Config.Builder |
fileType(String fileType)
File type.
|
Config.Builder |
folder(String folder)
Folder.
|
Config.Builder |
generateUrls(String platformRestUrl)
Generate file and callback URLs using given Platform base URL.
|
Config.Builder |
isActivity(Boolean isActivity)
IsActivity.
|
Config.Builder |
key(String key)
Key.
|
Config.Builder |
lang(String lang)
Lang.
|
Config.Builder |
lastModified(String lastModified)
Sets last modified.
|
Config.Builder |
lastModifier(String lastModifier)
Sets last modifier.
|
Config.Builder |
mode(String mode)
Mode.
|
Config.Builder |
owner(String owner)
Owner.
|
Config.Builder |
renameAllowed(Boolean renameAllowed)
Rename allowed.
|
Config.Builder |
secret(String documentServerSecret)
Secret
|
Config.Builder |
title(String title)
Title.
|
Config.Builder |
uploaded(Calendar uploadedTime)
Uploaded.
|
Config.Builder |
url(String url)
Url.
|
Config.Builder |
userId(String userId)
User id.
|
Config.Builder |
userName(String name)
User name.
|
protected final String docId
protected final String workspace
protected final String path
protected final String documentType
protected final String documentserverUrl
protected String platformRestUrl
protected String editorUrl
protected String documentserverSecret
protected String lastModifier
protected String lastModified
protected String displayPath
protected String comment
protected String drive
protected Boolean renameAllowed
protected Boolean isActivity
protected URI explorerUri
protected String fileType
protected String key
protected String title
protected String url
protected String owner
protected String uploaded
protected String folder
protected String callbackUrl
protected String lang
protected String mode
protected String userId
protected String name
public Config.Builder generateUrls(String platformRestUrl)
platformRestUrl - the platform URLpublic Config.Builder editorUrl(String editorUrl)
editorUrl - the editor urlpublic Config.Builder explorerUri(URI uri)
uri - the URI of the pagepublic Config.Builder title(String title)
title - the titlepublic Config.Builder key(String key)
key - the keypublic Config.Builder fileType(String fileType)
fileType - the file typepublic Config.Builder url(String url)
url - the urlpublic Config.Builder owner(String owner)
owner - the ownerpublic Config.Builder uploaded(Calendar uploadedTime)
uploadedTime - the created timepublic Config.Builder displayPath(String displayPath)
displayPath - the created displayPathpublic Config.Builder comment(String comment)
comment - the created commentpublic Config.Builder drive(String drive)
drive - the created drivepublic Config.Builder renameAllowed(Boolean renameAllowed)
renameAllowed - the renameAllowedpublic Config.Builder isActivity(Boolean isActivity)
isActivity - the has isActivitypublic Config.Builder folder(String folder)
folder - the folderpublic Config.Builder callbackUrl(String callbackUrl)
callbackUrl - the callback urlpublic Config.Builder lang(String lang)
lang - the langpublic Config.Builder mode(String mode)
mode - the modepublic Config.Builder userId(String userId)
userId - the user idpublic Config.Builder userName(String name)
name - the namepublic Config.Builder secret(String documentServerSecret)
documentServerSecret - the document server secretpublic Config.Builder lastModifier(String lastModifier)
lastModifier - the last Modifierpublic Config.Builder lastModified(String lastModified)
lastModified - the last modifiedpublic Config build()
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.