Difference between revisions of "GeneralComunicator"

From OpenKM Documentation
Jump to: navigation, search
Line 14: Line 14:
 
* String getUser()
 
* String getUser()
 
* String i18nExtension(String property)
 
* String i18nExtension(String property)
* openAllFolderPath(String path, String docPath)  
+
* openPath(String path, String docPath)  
 
* String getAppContext()
 
* String getAppContext()
 
* showNextWizard()
 
* showNextWizard()
Line 24: Line 24:
 
* enableKeyShorcuts()
 
* enableKeyShorcuts()
 
* disableKeyShorcuts()  
 
* disableKeyShorcuts()  
* openPathByUuid
+
* openPathByUuid(String uuid)
  
 
{{Note| getToolBarOption() must be only used for reading purposes }}
 
{{Note| getToolBarOption() must be only used for reading purposes }}
Line 31: Line 31:
 
* setStatus(String msg)
 
* setStatus(String msg)
  
 +
== Deprecated ==
 +
* openAllFolderPath(String path, String docPath)
 
== Example ==
 
== Example ==
 
<source lang="java">
 
<source lang="java">

Revision as of 10:48, 23 September 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)
  • openPath(String path, String docPath)
  • String getAppContext()
  • showNextWizard()
  • boolean isDigitalSignature()
  • GWTDocument getDocumentToSign()
  • String getToken()
  • GWTWorkspace getWorkspace()
  • String i18n(String property)
  • enableKeyShorcuts()
  • disableKeyShorcuts()
  • openPathByUuid(String uuid)

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

Write methods

  • setStatus(String msg)

Deprecated

  • openAllFolderPath(String path, String docPath)

Example

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