Difference between revisions of "GeneralComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 1: Line 1:
 
== Read Methods ==
 
== Read Methods ==
  * refreshUI()
+
* refreshUI()
  * ToolBarOption getToolBarOption()
+
* ToolBarOption getToolBarOption()
  * String getLang()
+
* String getLang()
  * downloadDocument(boolean checkout)
+
* downloadDocument(boolean checkout)
  * downloadDocumentPdf()
+
* downloadDocumentPdf()
  * downloadFile(String path, String params)
+
* downloadFile(String path, String params)
  * extensionCallOwnDownload(String url)
+
* extensionCallOwnDownload(String url)
  * resetStatus()  
+
* resetStatus()  
  * showError(String callback, Throwable caught)
+
* showError(String callback, Throwable caught)
  * logout()
+
* logout()
  * refreshUserDocumentsSize()
+
* refreshUserDocumentsSize()
  * List<String> getUserRoleList()
+
* List<String> getUserRoleList()
  * String getUser()
+
* String getUser()
  * String i18nExtension(String property)
+
* String i18nExtension(String property)
  * openAllFolderPath(String path, String docPath)  
+
* openAllFolderPath(String path, String docPath)  
  
 
{{Note| getToolBarOption() must be only used for reading purposes }}
 
{{Note| getToolBarOption() must be only used for reading purposes }}
  
 
== Write methods ==
 
== Write methods ==
  * setStatus(String msg)
+
* setStatus(String msg)
  
 
== Example ==
 
== Example ==

Revision as of 13:36, 2 December 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()
  • 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();