Class Frontend
- java.lang.Object
-
- com.logicaldoc.gui.frontend.client.Frontend
-
- All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint
public class Frontend extends Object implements com.google.gwt.core.client.EntryPoint
The Frontend entry point- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description Frontend()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTagInCloud(String tag, String weight, String link)StringcheckPermission(String permission)voidconnectWebsockets()Install the receiver to get messages from the server (Server Push)static voiddeclareCheckPermission(Frontend frontend)Declares the javascript function used to check a permission in the current folderstatic voiddeclareDownload()Declares the javascript function used to download somethingstatic voiddeclareGetCurrentFolderId(Frontend frontend)Declares the javascript function used to retrieve the current folder IDstatic voiddeclareReloadTrigger(Frontend frontend)Declares the javascript function used to trigger the reload of the current folderstatic voiddeclareSearchTag(Frontend frontend)Declares the javascript function used to trigger the search for a specific tagstatic Frontendget()StringgetCurrentFolderId()voidonModuleLoad()voidsearchTag(String tag)static voidshowMain()voidtriggerReload()Triggers the load of the last uploaded files
-
-
-
Method Detail
-
get
public static Frontend get()
- Returns:
- singleton Main instance
-
onModuleLoad
public void onModuleLoad()
- Specified by:
onModuleLoadin interfacecom.google.gwt.core.client.EntryPoint
-
showMain
public static void showMain()
-
triggerReload
public void triggerReload()
Triggers the load of the last uploaded files
-
getCurrentFolderId
public String getCurrentFolderId()
-
searchTag
public void searchTag(String tag)
-
connectWebsockets
public void connectWebsockets()
Install the receiver to get messages from the server (Server Push)
-
declareCheckPermission
public static void declareCheckPermission(Frontend frontend)
Declares the javascript function used to check a permission in the current folder- Parameters:
frontend- the Frontend module
-
declareGetCurrentFolderId
public static void declareGetCurrentFolderId(Frontend frontend)
Declares the javascript function used to retrieve the current folder ID- Parameters:
frontend- the Frontend module
-
declareReloadTrigger
public static void declareReloadTrigger(Frontend frontend)
Declares the javascript function used to trigger the reload of the current folder- Parameters:
frontend- the Frontend module
-
declareSearchTag
public static void declareSearchTag(Frontend frontend)
Declares the javascript function used to trigger the search for a specific tag- Parameters:
frontend- the Frontend module
-
declareDownload
public static void declareDownload()
Declares the javascript function used to download something
-
-