Class EmailAccountServiceImpl

  • All Implemented Interfaces:
    com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, com.logicaldoc.gui.frontend.client.services.EmailAccountService, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class EmailAccountServiceImpl
    extends com.google.gwt.user.server.rpc.RemoteServiceServlet
    implements com.logicaldoc.gui.frontend.client.services.EmailAccountService
    Concrete implementation of the EmailAccountService
    Since:
    6.0
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.logicaldoc.gui.frontend.client.services.EmailAccountService

        com.logicaldoc.gui.frontend.client.services.EmailAccountService.Instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void changeStatus​(long id, boolean enabled)  
      void delete​(long id)  
      com.logicaldoc.gui.common.client.beans.GUIEmailAccount get​(long id)  
      void resetCache​(long id)  
      com.logicaldoc.gui.common.client.beans.GUIEmailAccount save​(com.logicaldoc.gui.common.client.beans.GUIEmailAccount account)  
      boolean test​(long id)  
      • Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet

        getSerializationPolicy, init, processCall, processCall, processPost
      • Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet

        doPost
      • Methods inherited from class javax.servlet.http.HttpServlet

        service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
    • Constructor Detail

      • EmailAccountServiceImpl

        public EmailAccountServiceImpl()
    • Method Detail

      • delete

        public void delete​(long id)
                    throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        delete in interface com.logicaldoc.gui.frontend.client.services.EmailAccountService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • save

        public com.logicaldoc.gui.common.client.beans.GUIEmailAccount save​(com.logicaldoc.gui.common.client.beans.GUIEmailAccount account)
                                                                    throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        save in interface com.logicaldoc.gui.frontend.client.services.EmailAccountService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • get

        public com.logicaldoc.gui.common.client.beans.GUIEmailAccount get​(long id)
                                                                   throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        get in interface com.logicaldoc.gui.frontend.client.services.EmailAccountService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • test

        public boolean test​(long id)
                     throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        test in interface com.logicaldoc.gui.frontend.client.services.EmailAccountService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • changeStatus

        public void changeStatus​(long id,
                                 boolean enabled)
                          throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        changeStatus in interface com.logicaldoc.gui.frontend.client.services.EmailAccountService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • resetCache

        public void resetCache​(long id)
                        throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        resetCache in interface com.logicaldoc.gui.frontend.client.services.EmailAccountService
        Throws:
        com.logicaldoc.gui.common.client.ServerException