org.pentaho.platform.dataaccess.datasource.wizard.service.impl
Class DatasourceServiceDebugImpl

java.lang.Object
  extended by org.pentaho.platform.dataaccess.datasource.wizard.service.impl.DatasourceServiceDebugImpl
All Implemented Interfaces:
IXulAsyncDatasourceService

public class DatasourceServiceDebugImpl
extends Object
implements IXulAsyncDatasourceService


Constructor Summary
DatasourceServiceDebugImpl()
           
 
Method Summary
 void deleteLogicalModel(String domainId, String modelName, org.pentaho.ui.xul.XulServiceCallback<Boolean> callback)
           
 void deSerializeModelState(String dtoStr, org.pentaho.ui.xul.XulServiceCallback<DatasourceDTO> callback)
           
 void doPreview(String connectionName, String query, String previewLimit, org.pentaho.ui.xul.XulServiceCallback<SerializedResultSet> callback)
           
 void generateLogicalModel(String modelName, String connectionName, String dbType, String query, String previewLimit, org.pentaho.ui.xul.XulServiceCallback<BusinessData> callback)
           
 void getLogicalModels(org.pentaho.ui.xul.XulServiceCallback<List<LogicalModelSummary>> callback)
           
 void hasPermission(org.pentaho.ui.xul.XulServiceCallback<Boolean> callback)
           
 void loadBusinessData(String domainId, String modelId, org.pentaho.ui.xul.XulServiceCallback<BusinessData> callback)
           
 void saveLogicalModel(org.pentaho.metadata.model.Domain domain, boolean overwrite, org.pentaho.ui.xul.XulServiceCallback<Boolean> callback)
           
 void serializeModelState(DatasourceDTO dto, org.pentaho.ui.xul.XulServiceCallback<String> callback)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatasourceServiceDebugImpl

public DatasourceServiceDebugImpl()
Method Detail

doPreview

public void doPreview(String connectionName,
                      String query,
                      String previewLimit,
                      org.pentaho.ui.xul.XulServiceCallback<SerializedResultSet> callback)
Specified by:
doPreview in interface IXulAsyncDatasourceService

generateLogicalModel

public void generateLogicalModel(String modelName,
                                 String connectionName,
                                 String dbType,
                                 String query,
                                 String previewLimit,
                                 org.pentaho.ui.xul.XulServiceCallback<BusinessData> callback)
Specified by:
generateLogicalModel in interface IXulAsyncDatasourceService

saveLogicalModel

public void saveLogicalModel(org.pentaho.metadata.model.Domain domain,
                             boolean overwrite,
                             org.pentaho.ui.xul.XulServiceCallback<Boolean> callback)
Specified by:
saveLogicalModel in interface IXulAsyncDatasourceService

hasPermission

public void hasPermission(org.pentaho.ui.xul.XulServiceCallback<Boolean> callback)
Specified by:
hasPermission in interface IXulAsyncDatasourceService

deleteLogicalModel

public void deleteLogicalModel(String domainId,
                               String modelName,
                               org.pentaho.ui.xul.XulServiceCallback<Boolean> callback)
Specified by:
deleteLogicalModel in interface IXulAsyncDatasourceService

getLogicalModels

public void getLogicalModels(org.pentaho.ui.xul.XulServiceCallback<List<LogicalModelSummary>> callback)
Specified by:
getLogicalModels in interface IXulAsyncDatasourceService

loadBusinessData

public void loadBusinessData(String domainId,
                             String modelId,
                             org.pentaho.ui.xul.XulServiceCallback<BusinessData> callback)
Specified by:
loadBusinessData in interface IXulAsyncDatasourceService

serializeModelState

public void serializeModelState(DatasourceDTO dto,
                                org.pentaho.ui.xul.XulServiceCallback<String> callback)
Specified by:
serializeModelState in interface IXulAsyncDatasourceService

deSerializeModelState

public void deSerializeModelState(String dtoStr,
                                  org.pentaho.ui.xul.XulServiceCallback<DatasourceDTO> callback)
Specified by:
deSerializeModelState in interface IXulAsyncDatasourceService