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 void
addTagInCloud(String tag, String weight, String link)
String
checkPermission(String permission)
void
connectWebsockets()
Install the receiver to get messages from the server (Server Push)static void
declareCheckPermission(Frontend frontend)
Declares the javascript function used to check a permission in the current folderstatic void
declareGetCurrentFolderId(Frontend frontend)
Declares the javascript function used to retrieve the current folder IDstatic void
declareReloadTrigger(Frontend frontend)
Declares the javascript function used to trigger the reload of the current folderstatic void
declareSearchTag(Frontend frontend)
Declares the javascript function used to trigger the search for a specific tagstatic Frontend
get()
String
getCurrentFolderId()
void
onModuleLoad()
void
searchTag(String tag)
static void
showMain()
void
triggerReload()
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:
onModuleLoad
in 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
-
-