org.apache.stratos.tenant.mgt.ui.clients
Class TenantServiceClient

java.lang.Object
  extended by org.apache.stratos.tenant.mgt.ui.clients.TenantServiceClient

public class TenantServiceClient
extends Object

Tenant Service Client of tenant.mgt.ui


Constructor Summary
TenantServiceClient(javax.servlet.ServletConfig config, javax.servlet.http.HttpSession session)
           
TenantServiceClient(String cookie, String backendServerURL, org.apache.axis2.context.ConfigurationContext configContext)
           
 
Method Summary
 void activateTenant(String domainName)
           
 void addTenant(org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean tenantInfoBean)
           
 void deactivateTenant(String domainName)
           
 org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean getTenant(String domainName)
           
 org.apache.stratos.tenant.mgt.stub.beans.xsd.PaginatedTenantInfoBean retrievePaginatedPartialSearchTenants(String domain, int pageNumber)
           
 org.apache.stratos.tenant.mgt.stub.beans.xsd.PaginatedTenantInfoBean retrievePaginatedTenants(int pageNumber)
           
 org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean[] retrieveTenants()
           
 void updateTenant(org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean tenantInfoBean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantServiceClient

public TenantServiceClient(String cookie,
                           String backendServerURL,
                           org.apache.axis2.context.ConfigurationContext configContext)
                    throws org.wso2.carbon.registry.core.exceptions.RegistryException
Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException

TenantServiceClient

public TenantServiceClient(javax.servlet.ServletConfig config,
                           javax.servlet.http.HttpSession session)
                    throws org.wso2.carbon.registry.core.exceptions.RegistryException
Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
Method Detail

addTenant

public void addTenant(org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean tenantInfoBean)
               throws Exception
Throws:
Exception

retrieveTenants

public org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean[] retrieveTenants()
                                                                              throws Exception
Throws:
Exception

retrievePaginatedTenants

public org.apache.stratos.tenant.mgt.stub.beans.xsd.PaginatedTenantInfoBean retrievePaginatedTenants(int pageNumber)
                                                                                              throws Exception
Throws:
Exception

retrievePaginatedPartialSearchTenants

public org.apache.stratos.tenant.mgt.stub.beans.xsd.PaginatedTenantInfoBean retrievePaginatedPartialSearchTenants(String domain,
                                                                                                                  int pageNumber)
                                                                                                           throws Exception
Throws:
Exception

getTenant

public org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean getTenant(String domainName)
                                                                      throws Exception
Throws:
Exception

updateTenant

public void updateTenant(org.apache.stratos.tenant.mgt.stub.beans.xsd.TenantInfoBean tenantInfoBean)
                  throws Exception
Throws:
Exception

activateTenant

public void activateTenant(String domainName)
                    throws Exception
Throws:
Exception

deactivateTenant

public void deactivateTenant(String domainName)
                      throws Exception
Throws:
Exception


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.