org.wso2.carbon.integration.common.admin.client
Class TenantManagementServiceClient

java.lang.Object
  extended by org.wso2.carbon.integration.common.admin.client.TenantManagementServiceClient

public class TenantManagementServiceClient
extends Object


Constructor Summary
TenantManagementServiceClient(String backEndURL, String sessionCookie)
           
 
Method Summary
 void addTenant(String domainName, String password, String firstName, String usagePlan)
           
 void deactivateTenant(String domainName)
          deactivate tenant
 void deleteTenant(String domainName)
           
 org.wso2.carbon.tenant.mgt.stub.beans.xsd.TenantInfoBean getTenant(String tenantDomain)
           
 void updateTenant(org.wso2.carbon.tenant.mgt.stub.beans.xsd.TenantInfoBean infoBean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantManagementServiceClient

public TenantManagementServiceClient(String backEndURL,
                                     String sessionCookie)
                              throws org.apache.axis2.AxisFault
Throws:
org.apache.axis2.AxisFault
Method Detail

addTenant

public void addTenant(String domainName,
                      String password,
                      String firstName,
                      String usagePlan)
               throws RemoteException,
                      org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException
Parameters:
domainName - domain of the tenant
password - password of the tenant admin user
firstName - first name of the tenant admin user
usagePlan - Usage plan of the tenant
Throws:
RemoteException
org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException

deleteTenant

public void deleteTenant(String domainName)
Parameters:
domainName - domain name of the tenant

deactivateTenant

public void deactivateTenant(String domainName)
                      throws RemoteException,
                             org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException
deactivate tenant

Parameters:
domainName -
Throws:
RemoteException
org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException

getTenant

public org.wso2.carbon.tenant.mgt.stub.beans.xsd.TenantInfoBean getTenant(String tenantDomain)
                                                                   throws org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException,
                                                                          RemoteException
Throws:
org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException
RemoteException

updateTenant

public void updateTenant(org.wso2.carbon.tenant.mgt.stub.beans.xsd.TenantInfoBean infoBean)
                  throws org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException,
                         RemoteException
Throws:
org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException
RemoteException


Copyright © 2015 WSO2. All rights reserved.