GeneralComunicator

From OpenKM Documentation
Revision as of 13:34, 2 December 2010 by Pavila (talk | contribs)

Jump to: navigation, search

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()
 * String i18nExtension(String property)
 * openAllFolderPath(String path, String docPath) 

Nota clasica.png getToolBarOption() must be only used for reading purposes

Write methods

 * setStatus(String msg)

Example

// Call to refreshing user interface
GeneralComunicator.refreshUI();