org.wso2.carbon.registry.core.jdbc.dataaccess
Class TenantAwareSQLTransformer

java.lang.Object
  extended by org.wso2.carbon.registry.core.jdbc.dataaccess.TenantAwareSQLTransformer

public class TenantAwareSQLTransformer
extends Object

class to transform the sql to be tenant-aware. Once the query is passed to the constructor this will be keeping the transformed query.


Constructor Summary
TenantAwareSQLTransformer(String sqlQuery)
          Construct the TenantAwareSQLTransformer for a given query
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TenantAwareSQLTransformer

public TenantAwareSQLTransformer(String sqlQuery)
                          throws RegistryException
Construct the TenantAwareSQLTransformer for a given query

Parameters:
sqlQuery - the query to transform to tenant aware sql
Throws:
RegistryException - throws if the transformation failed.


Copyright © 2014 WSO2 Inc. All Rights Reserved.