Class 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 Detail

      • Frontend

        public Frontend()
    • Method Detail

      • get

        public static Frontend get()
        Returns:
        singleton Main instance
      • onModuleLoad

        public void onModuleLoad()
        Specified by:
        onModuleLoad in interface com.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()
      • checkPermission

        public String checkPermission​(String permission)
      • 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