Class TenantServiceImpl

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

    public class TenantServiceImpl
    extends com.google.gwt.user.server.rpc.RemoteServiceServlet
    implements com.logicaldoc.gui.frontend.client.services.TenantService
    Standard Implementation of the TenantService
    Since:
    6.9
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Nested Class Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void changeAdminPassword​(String password, String tenantName)  
      com.logicaldoc.gui.common.client.beans.GUITenant changeSessionTenant​(long tenantId)  
      void delete​(long tenantId)  
      String encodeBrandingImage()  
      com.logicaldoc.gui.common.client.beans.GUIBranding importBrandingPackage()  
      com.logicaldoc.gui.common.client.beans.GUITenant load​(long tenantId)  
      com.logicaldoc.gui.common.client.beans.GUIBranding loadBranding​(long tenantId)  
      com.logicaldoc.gui.common.client.beans.GUITenant save​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      void saveBranding​(long tenantId, com.logicaldoc.gui.common.client.beans.GUIBranding branding)  
      • 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
    • Field Detail

      • MENU_TENANTS

        public static long MENU_TENANTS
      • MENU_BRANDING

        public static long MENU_BRANDING
      • MENU_QUOTA

        public static long MENU_QUOTA
    • Constructor Detail

      • TenantServiceImpl

        public TenantServiceImpl()
    • Method Detail

      • delete

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

        public com.logicaldoc.gui.common.client.beans.GUITenant save​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
                                                              throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        save in interface com.logicaldoc.gui.frontend.client.services.TenantService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • load

        public com.logicaldoc.gui.common.client.beans.GUITenant load​(long tenantId)
                                                              throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        load in interface com.logicaldoc.gui.frontend.client.services.TenantService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • loadBranding

        public com.logicaldoc.gui.common.client.beans.GUIBranding loadBranding​(long tenantId)
      • saveBranding

        public void saveBranding​(long tenantId,
                                 com.logicaldoc.gui.common.client.beans.GUIBranding branding)
                          throws com.logicaldoc.gui.common.client.ServerException
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • changeAdminPassword

        public void changeAdminPassword​(String password,
                                        String tenantName)
                                 throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        changeAdminPassword in interface com.logicaldoc.gui.frontend.client.services.TenantService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • changeSessionTenant

        public com.logicaldoc.gui.common.client.beans.GUITenant changeSessionTenant​(long tenantId)
                                                                             throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        changeSessionTenant in interface com.logicaldoc.gui.frontend.client.services.TenantService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • encodeBrandingImage

        public String encodeBrandingImage()
                                   throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        encodeBrandingImage in interface com.logicaldoc.gui.frontend.client.services.TenantService
        Throws:
        com.logicaldoc.gui.common.client.ServerException
      • importBrandingPackage

        public com.logicaldoc.gui.common.client.beans.GUIBranding importBrandingPackage()
                                                                                 throws com.logicaldoc.gui.common.client.ServerException
        Specified by:
        importBrandingPackage in interface com.logicaldoc.gui.frontend.client.services.TenantService
        Throws:
        com.logicaldoc.gui.common.client.ServerException