Difference between revisions of "GeneralComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 19: Line 19:
 
* boolean isDigitalSignature()  
 
* boolean isDigitalSignature()  
 
* GWTDocument getDocumentToSign()
 
* GWTDocument getDocumentToSign()
 +
* String getToken()
  
 
{{Note| getToolBarOption() must be only used for reading purposes }}
 
{{Note| getToolBarOption() must be only used for reading purposes }}

Revision as of 18:19, 7 January 2011

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)
  • String getAppContext()
  • showNextWizard()
  • boolean isDigitalSignature()
  • GWTDocument getDocumentToSign()
  • String getToken()

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

Write methods

  • setStatus(String msg)

Example

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