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.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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EnterpriseInfoService()
-
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)
-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
getSerializationPolicy, init, processCall, processCall, processPost
-
-
-
-
Method Detail
-
getInfo
public com.logicaldoc.gui.common.client.beans.GUIInfo getInfo(String locale, String tenant, boolean login)
- Specified by:
getInfo
in interfacecom.logicaldoc.gui.common.client.services.InfoService
- Overrides:
getInfo
in classcom.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)
-
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 interfacecom.logicaldoc.gui.common.client.services.InfoService
- Overrides:
getSessionInfo
in classcom.logicaldoc.web.service.InfoServiceImpl
- Throws:
com.logicaldoc.gui.common.client.InvalidSessionException
-
-