org.apache.stratos.tenant.activity.services
Class TenantActivityService

java.lang.Object
  extended by org.wso2.carbon.core.AbstractAdmin
      extended by org.apache.stratos.tenant.activity.services.TenantActivityService

public class TenantActivityService
extends org.wso2.carbon.core.AbstractAdmin

This service use to get active tenants related data.If its single node


Field Summary
 
Fields inherited from class org.wso2.carbon.core.AbstractAdmin
axisConfig, configurationContext
 
Constructor Summary
TenantActivityService()
           
 
Method Summary
 int getActiveTenantCount()
           
 boolean isActiveTenantOnService(String domainName)
           
 PaginatedTenantDataBean retrievePaginatedActiveTenants(int pageNumber)
           
 
Methods inherited from class org.wso2.carbon.core.AbstractAdmin
getAxisConfig, getConfigContext, getConfigSystemRegistry, getConfigUserRegistry, getGovernanceRegistry, getGovernanceSystemRegistry, getGovernanceUserRegistry, getHttpSession, getLocalRepo, getRegistry, getTenantDomain, getUsername, getUserRealm, setConfigurationContext, setPermissionUpdateTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantActivityService

public TenantActivityService()
Method Detail

getActiveTenantCount

public int getActiveTenantCount()
                         throws Exception
Throws:
Exception

retrievePaginatedActiveTenants

public PaginatedTenantDataBean retrievePaginatedActiveTenants(int pageNumber)
                                                       throws Exception
Throws:
Exception

isActiveTenantOnService

public boolean isActiveTenantOnService(String domainName)
                                throws Exception
Throws:
Exception


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