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
-
Method Summary
Modifier and TypeMethodDescriptionint
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
int
com.logicaldoc.gui.common.client.beans.GUIParameter[]
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
getCronDescription, 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 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:
getInfo
in interfacecom.logicaldoc.gui.common.client.services.InfoService
- Overrides:
getInfo
in 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 com.logicaldoc.gui.common.client.beans.GUIParameter[] getSessionInfo() throws com.logicaldoc.gui.common.client.InvalidSessionServerException- Specified by:
getSessionInfo
in interfacecom.logicaldoc.gui.common.client.services.InfoService
- Overrides:
getSessionInfo
in classcom.logicaldoc.web.service.InfoServiceImpl
- Throws:
com.logicaldoc.gui.common.client.InvalidSessionServerException
-