Difference between revisions of "GeneralComunicator"
From OpenKM Documentation
(14 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
* downloadDocumentPdf() | * downloadDocumentPdf() | ||
* downloadFile(String path, String params) | * downloadFile(String path, String params) | ||
+ | * downloadFileByUUID(String uuid, String params) | ||
* extensionCallOwnDownload(String url) | * extensionCallOwnDownload(String url) | ||
* resetStatus() | * resetStatus() | ||
Line 14: | Line 15: | ||
* String getUser() | * String getUser() | ||
* String i18nExtension(String property) | * String i18nExtension(String property) | ||
− | * | + | * openPath(String path, String docPath) |
* String getAppContext() | * String getAppContext() | ||
* showNextWizard() | * showNextWizard() | ||
* boolean isDigitalSignature() | * boolean isDigitalSignature() | ||
* GWTDocument getDocumentToSign() | * GWTDocument getDocumentToSign() | ||
+ | * String getToken() | ||
+ | * GWTWorkspace getWorkspace() | ||
+ | * String i18n(String property) | ||
+ | * enableKeyShorcuts() | ||
+ | * disableKeyShorcuts() | ||
+ | * openPathByUuid(String uuid) | ||
+ | * String getFolderIcon(GWTFolder fld) | ||
+ | * Main get() | ||
{{Note| getToolBarOption() must be only used for reading purposes }} | {{Note| getToolBarOption() must be only used for reading purposes }} | ||
Line 24: | Line 33: | ||
== Write methods == | == Write methods == | ||
* setStatus(String msg) | * setStatus(String msg) | ||
+ | |||
+ | |||
+ | == Deprecated == | ||
+ | * openAllFolderPath(String path, String docPath) | ||
+ | |||
== Example == | == Example == |
Latest revision as of 17:25, 13 December 2013
Read Methods
- refreshUI()
- ToolBarOption getToolBarOption()
- String getLang()
- downloadDocument(boolean checkout)
- downloadDocumentPdf()
- downloadFile(String path, String params)
- downloadFileByUUID(String uuid, String params)
- extensionCallOwnDownload(String url)
- resetStatus()
- showError(String callback, Throwable caught)
- logout()
- refreshUserDocumentsSize()
- List<String> getUserRoleList()
- String getUser()
- String i18nExtension(String property)
- openPath(String path, String docPath)
- String getAppContext()
- showNextWizard()
- boolean isDigitalSignature()
- GWTDocument getDocumentToSign()
- String getToken()
- GWTWorkspace getWorkspace()
- String i18n(String property)
- enableKeyShorcuts()
- disableKeyShorcuts()
- openPathByUuid(String uuid)
- String getFolderIcon(GWTFolder fld)
- Main get()
getToolBarOption() must be only used for reading purposes |
Write methods
- setStatus(String msg)
Deprecated
- openAllFolderPath(String path, String docPath)
Example
// Call to refreshing user interface
GeneralComunicator.refreshUI();