Difference between revisions of "GeneralComunicator"
From OpenKM Documentation
Line 6: | Line 6: | ||
downloadDocumentPdf() | downloadDocumentPdf() | ||
downloadFile(String path, String params) | downloadFile(String path, String params) | ||
+ | extensionCallOwnDownload(String url) | ||
resetStatus() | resetStatus() | ||
showError(String callback, Throwable caught) | showError(String callback, Throwable caught) |
Revision as of 17:31, 2 November 2010
Read Methods
refreshUI() ToolBarOption getToolBarOption() String getLang() downloadDocument(boolean checkout) downloadDocumentPdf() downloadFile(String path, String params) extensionCallOwnDownload(String url) resetStatus() showError(String callback, Throwable caught) logout() refreshUserDocumentsSize() List<String> getUserRoleList() String getUser()
getToolBarOption() must be only used for reading purposes |
Write methods
setStatus(String msg)
Example
// Call to refreshing user interface
GeneralComunicator.refreshUI();