Package com.logicaldoc.enterprise
Class EnterpriseInfoService
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.logicaldoc.web.service.AbstractRemoteService
com.logicaldoc.web.service.InfoServiceImpl
com.logicaldoc.enterprise.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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.logicaldoc.gui.common.client.services.InfoService
com.logicaldoc.gui.common.client.services.InfoService.Instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetDaysLeft(com.logicaldoc.gui.common.client.beans.GUITenant tenant) longgetDocumentsLeft(com.logicaldoc.gui.common.client.beans.GUITenant tenant) com.logicaldoc.gui.common.client.beans.GUIInfointList<com.logicaldoc.gui.common.client.beans.GUIParameter> longgetSizeLeft(com.logicaldoc.gui.common.client.beans.GUITenant tenant) Retrieve the max size usable in the current tenant.booleanisExceededMaxGuests(long tenantId) booleanisExceededMaxUsers(long tenantId) booleanisReachedMaxSessions(com.logicaldoc.gui.common.client.beans.GUITenant tenant) booleanisShowLicenseAlertsInLogin(com.logicaldoc.gui.common.client.beans.GUITenant tenant) booleanisShowPatchAlertsInLogin(com.logicaldoc.gui.common.client.beans.GUITenant tenant) booleanisShowQuotaAlertsInLogin(com.logicaldoc.gui.common.client.beans.GUITenant tenant) booleanisShowUpdateAlertsInLogin(com.logicaldoc.gui.common.client.beans.GUITenant tenant) booleanisShowVersionAlertsInLogin(com.logicaldoc.gui.common.client.beans.GUITenant tenant) Methods inherited from class com.logicaldoc.web.service.InfoServiceImpl
getCronDescription, getInfo, pingMethods inherited from class com.logicaldoc.web.service.AbstractRemoteService
setThreadRequestMethods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPostMethods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPostMethods inherited from class javax.servlet.http.HttpServlet
serviceMethods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
EnterpriseInfoService
public EnterpriseInfoService()
-
-
Method Details
-
getInfo
public com.logicaldoc.gui.common.client.beans.GUIInfo getInfo(String locale, String tenant, boolean login) throws com.logicaldoc.gui.common.client.ServerException - Specified by:
getInfoin interfacecom.logicaldoc.gui.common.client.services.InfoService- Overrides:
getInfoin classcom.logicaldoc.web.service.InfoServiceImpl- Throws:
com.logicaldoc.gui.common.client.ServerException
-
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
-
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 List<com.logicaldoc.gui.common.client.beans.GUIParameter> getSessionInfo() throws com.logicaldoc.gui.common.client.InvalidSessionServerException- Specified by:
getSessionInfoin interfacecom.logicaldoc.gui.common.client.services.InfoService- Overrides:
getSessionInfoin classcom.logicaldoc.web.service.InfoServiceImpl- Throws:
com.logicaldoc.gui.common.client.InvalidSessionServerException
-