Difference between revisions of "GeneralComunicator"

From OpenKM Documentation
Jump to: navigation, search
 
(35 intermediate revisions by 2 users not shown)
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()
 +
* downloadFile(String path, String params)
 +
* downloadFileByUUID(String uuid, 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)
 +
* String getFolderIcon(GWTFolder fld)
 +
* Main get()
  
 +
{{Note| getToolBarOption() must be only used for reading purposes }}
 +
 +
== Write methods ==
 +
* setStatus(String msg)
 +
 +
 +
== Deprecated ==
 +
* openAllFolderPath(String path, String docPath)
  
{{Note| getToolBarOption() must be only used to reading purposes }}
 
  
 
== Example ==
 
== Example ==
Line 14: Line 45:
 
</source>
 
</source>
  
[[Category: OpenKM plugin extensions]]
+
[[Category: Extension Guide]]

Latest revision as of 17:25, 13 December 2013

Read Methods

  • refreshUI()
  • ToolBarOption getToolBarOption()
  • String getLang()
  • downloadDocument(boolean checkout)
  • downloadDocumentPdf()
  • downloadFile(String path, String params)
  • downloadFileByUUID(String uuid, 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)
  • String getFolderIcon(GWTFolder fld)
  • Main get()

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();