Class EnterpriseInfoService

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

    public class EnterpriseInfoService
    extends com.logicaldoc.web.service.InfoServiceImpl
    The enterprise version of the InfoService
    Since:
    6.0
    Author:
    Marco Meschieri - LogicalDOC
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.logicaldoc.gui.common.client.services.InfoService

        com.logicaldoc.gui.common.client.services.InfoService.Instance
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getDaysLeft​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      long getDocumentsLeft​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      com.logicaldoc.gui.common.client.beans.GUIInfo getInfo​(String locale, String tenant, boolean login)  
      int getLicenseDaysLeft()  
      String getLicensee()  
      com.logicaldoc.gui.common.client.beans.GUIParameter[] getSessionInfo()  
      long getSizeLeft​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      Retrieve the max size usable in the current tenant.
      boolean isExceededMaxGuests​(long tenantId)  
      boolean isExceededMaxUsers​(long tenantId)  
      boolean isReachedMaxSessions​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      boolean isShowLicenseAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      boolean isShowPatchAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      boolean isShowQuotaAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      boolean isShowUpdateAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      boolean isShowVersionAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)  
      • Methods inherited from class com.logicaldoc.web.service.InfoServiceImpl

        getInfo, ping
      • 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

      • EnterpriseInfoService

        public EnterpriseInfoService()
    • Method Detail

      • getInfo

        public com.logicaldoc.gui.common.client.beans.GUIInfo getInfo​(String locale,
                                                                      String tenant,
                                                                      boolean login)
        Specified by:
        getInfo in interface com.logicaldoc.gui.common.client.services.InfoService
        Overrides:
        getInfo in class com.logicaldoc.web.service.InfoServiceImpl
      • getSizeLeft

        public long getSizeLeft​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
        Retrieve the max size usable in the current tenant.
        Parameters:
        tenant - The current tenant
        Returns:
        The available size in bytes
      • getLicenseDaysLeft

        public int getLicenseDaysLeft()
      • getLicensee

        public String getLicensee()
      • isShowLicenseAlertsInLogin

        public boolean isShowLicenseAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • isShowQuotaAlertsInLogin

        public boolean isShowQuotaAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • isShowUpdateAlertsInLogin

        public boolean isShowUpdateAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • isShowPatchAlertsInLogin

        public boolean isShowPatchAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • isShowVersionAlertsInLogin

        public boolean isShowVersionAlertsInLogin​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • getDaysLeft

        public int getDaysLeft​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • isReachedMaxSessions

        public boolean isReachedMaxSessions​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • isExceededMaxUsers

        public boolean isExceededMaxUsers​(long tenantId)
      • isExceededMaxGuests

        public boolean isExceededMaxGuests​(long tenantId)
      • getDocumentsLeft

        public long getDocumentsLeft​(com.logicaldoc.gui.common.client.beans.GUITenant tenant)
      • getSessionInfo

        public com.logicaldoc.gui.common.client.beans.GUIParameter[] getSessionInfo()
                                                                             throws com.logicaldoc.gui.common.client.InvalidSessionException
        Specified by:
        getSessionInfo in interface com.logicaldoc.gui.common.client.services.InfoService
        Overrides:
        getSessionInfo in class com.logicaldoc.web.service.InfoServiceImpl
        Throws:
        com.logicaldoc.gui.common.client.InvalidSessionException