Type.registerNamespace('com.tiriga.web.services');
com.tiriga.web.services.tpass=function() {
com.tiriga.web.services.tpass.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
com.tiriga.web.services.tpass.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return com.tiriga.web.services.tpass._staticInstance.get_path();},
HelloWorld:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{},succeededCallback,failedCallback,userContext); },
GetPagedTextValue:function(table,textField,valueField,condition,firstRow,lastRow,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPagedTextValue',false,{table:table,textField:textField,valueField:valueField,condition:condition,firstRow:firstRow,lastRow:lastRow},succeededCallback,failedCallback,userContext); },
GetDataCount:function(table,condition,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDataCount',false,{table:table,condition:condition},succeededCallback,failedCallback,userContext); },
CreateDirectory:function(directoryPath,directoryName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CreateDirectory',false,{directoryPath:directoryPath,directoryName:directoryName},succeededCallback,failedCallback,userContext); },
DeleteDirectory:function(directoryPath,directoryName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteDirectory',false,{directoryPath:directoryPath,directoryName:directoryName},succeededCallback,failedCallback,userContext); },
DeleteFile:function(filePath,fileName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteFile',false,{filePath:filePath,fileName:fileName},succeededCallback,failedCallback,userContext); },
GetDirectoryContent:function(directory,browseType,fileExtensions,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDirectoryContent',false,{directory:directory,browseType:browseType,fileExtensions:fileExtensions},succeededCallback,failedCallback,userContext); }}
com.tiriga.web.services.tpass.registerClass('com.tiriga.web.services.tpass',Sys.Net.WebServiceProxy);
com.tiriga.web.services.tpass._staticInstance = new com.tiriga.web.services.tpass();
com.tiriga.web.services.tpass.set_path = function(value) { com.tiriga.web.services.tpass._staticInstance.set_path(value); }
com.tiriga.web.services.tpass.get_path = function() { return com.tiriga.web.services.tpass._staticInstance.get_path(); }
com.tiriga.web.services.tpass.set_timeout = function(value) { com.tiriga.web.services.tpass._staticInstance.set_timeout(value); }
com.tiriga.web.services.tpass.get_timeout = function() { return com.tiriga.web.services.tpass._staticInstance.get_timeout(); }
com.tiriga.web.services.tpass.set_defaultUserContext = function(value) { com.tiriga.web.services.tpass._staticInstance.set_defaultUserContext(value); }
com.tiriga.web.services.tpass.get_defaultUserContext = function() { return com.tiriga.web.services.tpass._staticInstance.get_defaultUserContext(); }
com.tiriga.web.services.tpass.set_defaultSucceededCallback = function(value) { com.tiriga.web.services.tpass._staticInstance.set_defaultSucceededCallback(value); }
com.tiriga.web.services.tpass.get_defaultSucceededCallback = function() { return com.tiriga.web.services.tpass._staticInstance.get_defaultSucceededCallback(); }
com.tiriga.web.services.tpass.set_defaultFailedCallback = function(value) { com.tiriga.web.services.tpass._staticInstance.set_defaultFailedCallback(value); }
com.tiriga.web.services.tpass.get_defaultFailedCallback = function() { return com.tiriga.web.services.tpass._staticInstance.get_defaultFailedCallback(); }
com.tiriga.web.services.tpass.set_path("/webservices/tpass.asmx");
com.tiriga.web.services.tpass.HelloWorld= function(onSuccess,onFailed,userContext) {com.tiriga.web.services.tpass._staticInstance.HelloWorld(onSuccess,onFailed,userContext); }
com.tiriga.web.services.tpass.GetPagedTextValue= function(table,textField,valueField,condition,firstRow,lastRow,onSuccess,onFailed,userContext) {com.tiriga.web.services.tpass._staticInstance.GetPagedTextValue(table,textField,valueField,condition,firstRow,lastRow,onSuccess,onFailed,userContext); }
com.tiriga.web.services.tpass.GetDataCount= function(table,condition,onSuccess,onFailed,userContext) {com.tiriga.web.services.tpass._staticInstance.GetDataCount(table,condition,onSuccess,onFailed,userContext); }
com.tiriga.web.services.tpass.CreateDirectory= function(directoryPath,directoryName,onSuccess,onFailed,userContext) {com.tiriga.web.services.tpass._staticInstance.CreateDirectory(directoryPath,directoryName,onSuccess,onFailed,userContext); }
com.tiriga.web.services.tpass.DeleteDirectory= function(directoryPath,directoryName,onSuccess,onFailed,userContext) {com.tiriga.web.services.tpass._staticInstance.DeleteDirectory(directoryPath,directoryName,onSuccess,onFailed,userContext); }
com.tiriga.web.services.tpass.DeleteFile= function(filePath,fileName,onSuccess,onFailed,userContext) {com.tiriga.web.services.tpass._staticInstance.DeleteFile(filePath,fileName,onSuccess,onFailed,userContext); }
com.tiriga.web.services.tpass.GetDirectoryContent= function(directory,browseType,fileExtensions,onSuccess,onFailed,userContext) {com.tiriga.web.services.tpass._staticInstance.GetDirectoryContent(directory,browseType,fileExtensions,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('com.tiriga.tpass.dto');
if (typeof(com.tiriga.tpass.dto.tpassTextValueDTO) === 'undefined') {
com.tiriga.tpass.dto.tpassTextValueDTO=gtc("com.tiriga.tpass.dto.tpassTextValueDTO");
com.tiriga.tpass.dto.tpassTextValueDTO.registerClass('com.tiriga.tpass.dto.tpassTextValueDTO');
}
