Difference between revisions of "GeneralComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 10: Line 10:
 
  logout()
 
  logout()
 
  refreshUserDocumentsSize()
 
  refreshUserDocumentsSize()
 +
List<String> getUserRoleList()
  
 
{{Note| getToolBarOption() must be only used for reading purposes }}
 
{{Note| getToolBarOption() must be only used for reading purposes }}

Revision as of 10:22, 7 July 2010

Read Methods

refreshUI()
ToolBarOption getToolBarOption()
String getLang()
downloadDocument(boolean checkout)
downloadDocumentPdf()
downloadFile(String path, String params)
resetStatus() 
showError(String callback, Throwable caught)
logout()
refreshUserDocumentsSize()
List<String> getUserRoleList()

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

Write methods

setStatus(String msg)

Example

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