Package com.logicaldoc.enterprise.tenant
Class TenantServiceImpl
- 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.enterprise.tenant.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
-
-
Field Summary
Fields Modifier and Type Field Description static long
MENU_BRANDING
static long
MENU_QUOTA
static long
MENU_TENANTS
-
Constructor Summary
Constructors Constructor Description TenantServiceImpl()
-
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
-
-
-
-
Method Detail
-
delete
public void delete(long tenantId) throws com.logicaldoc.gui.common.client.ServerException
- Specified by:
delete
in interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.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 interfacecom.logicaldoc.gui.frontend.client.services.TenantService
- Throws:
com.logicaldoc.gui.common.client.ServerException
-
-