Interface WebformService

  • All Superinterfaces:
    com.google.gwt.user.client.rpc.RemoteService
    All Known Implementing Classes:
    WebformServiceImpl

    @RemoteServiceRelativePath("webform")
    public interface WebformService
    extends com.google.gwt.user.client.rpc.RemoteService
    Webform service
    Since:
    8.7
    Author:
    Marco Meschieri - LogicalDOC
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  WebformService.Instance  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.logicaldoc.gui.common.client.beans.GUIForm getForm​(String formId, String locale)
      Retrieved the form specification
      com.logicaldoc.gui.common.client.beans.GUIForm getFormByDocId​(long formId, String locale)
      Retrieved the form specification
      com.logicaldoc.gui.common.client.beans.GUIInfo getInfo​(String formId, String locale)
      Retrieves the general informations
      com.logicaldoc.gui.common.client.beans.GUIInfo getInfoByDocId​(long formId, String locale)
      Retrieves the general informations
      com.logicaldoc.gui.common.client.beans.GUIDocument submit​(com.logicaldoc.gui.common.client.beans.GUIForm form)
      Retrieves the filled form and generates the corresponding document in the DMS
    • Method Detail

      • getInfo

        com.logicaldoc.gui.common.client.beans.GUIInfo getInfo​(String formId,
                                                               String locale)
                                                        throws com.logicaldoc.gui.common.client.ServerException
        Retrieves the general informations
        Parameters:
        formId - alternate identifier of the form
        locale - language of the client
        Returns:
        the general informations
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • getInfoByDocId

        com.logicaldoc.gui.common.client.beans.GUIInfo getInfoByDocId​(long formId,
                                                                      String locale)
                                                               throws com.logicaldoc.gui.common.client.ServerException
        Retrieves the general informations
        Parameters:
        formId - identifier of the form
        locale - language of the client
        Returns:
        the general informations
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • getForm

        com.logicaldoc.gui.common.client.beans.GUIForm getForm​(String formId,
                                                               String locale)
                                                        throws com.logicaldoc.gui.common.client.ServerException
        Retrieved the form specification
        Parameters:
        formId - alternate identifier of the form
        locale - language of the client
        Returns:
        the form instance
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • getFormByDocId

        com.logicaldoc.gui.common.client.beans.GUIForm getFormByDocId​(long formId,
                                                                      String locale)
                                                               throws com.logicaldoc.gui.common.client.ServerException
        Retrieved the form specification
        Parameters:
        formId - identifier of the form
        locale - language of the client
        Returns:
        the form instance
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server
      • submit

        com.logicaldoc.gui.common.client.beans.GUIDocument submit​(com.logicaldoc.gui.common.client.beans.GUIForm form)
                                                           throws com.logicaldoc.gui.common.client.ServerException
        Retrieves the filled form and generates the corresponding document in the DMS
        Parameters:
        form - The form filled by the user
        Returns:
        the generated document
        Throws:
        com.logicaldoc.gui.common.client.ServerException - Error in the server