Type.registerNamespace('ListbuilderAJAX.WebServices');
ListbuilderAJAX.WebServices.wsCountSummary=function() {
ListbuilderAJAX.WebServices.wsCountSummary.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ListbuilderAJAX.WebServices.wsCountSummary.prototype={
validateSaveCount:function(newCountName,succeededCallback, failedCallback, userContext) {
return this._invoke(ListbuilderAJAX.WebServices.wsCountSummary.get_path(), 'validateSaveCount',false,{newCountName:newCountName},succeededCallback,failedCallback,userContext); },
DoPreviewExtract:function(_countGUID,succeededCallback, failedCallback, userContext) {
return this._invoke(ListbuilderAJAX.WebServices.wsCountSummary.get_path(), 'DoPreviewExtract',false,{_countGUID:_countGUID},succeededCallback,failedCallback,userContext); },
SaveCountWithDetails:function(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,_folderName,succeededCallback, failedCallback, userContext) {
return this._invoke(ListbuilderAJAX.WebServices.wsCountSummary.get_path(), 'SaveCountWithDetails',false,{_countGuid:_countGuid,_description:_description,_name:_name,_parentCount:_parentCount,_childCount:_childCount,_singlePrice:_singlePrice,_multiPrice:_multiPrice,_folderName:_folderName},succeededCallback,failedCallback,userContext); },
SaveCountWithDetailsNew:function(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,_folderName,isNewFolder,succeededCallback, failedCallback, userContext) {
return this._invoke(ListbuilderAJAX.WebServices.wsCountSummary.get_path(), 'SaveCountWithDetailsNew',false,{_countGuid:_countGuid,_description:_description,_name:_name,_parentCount:_parentCount,_childCount:_childCount,_singlePrice:_singlePrice,_multiPrice:_multiPrice,_folderName:_folderName,isNewFolder:isNewFolder},succeededCallback,failedCallback,userContext); },
SaveCountWithDetailsDialog:function(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,folderID,succeededCallback, failedCallback, userContext) {
return this._invoke(ListbuilderAJAX.WebServices.wsCountSummary.get_path(), 'SaveCountWithDetailsDialog',false,{_countGuid:_countGuid,_description:_description,_name:_name,_parentCount:_parentCount,_childCount:_childCount,_singlePrice:_singlePrice,_multiPrice:_multiPrice,folderID:folderID},succeededCallback,failedCallback,userContext); },
AddToCart:function(_countGuid,_marketFileId,_countName,_countDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(ListbuilderAJAX.WebServices.wsCountSummary.get_path(), 'AddToCart',false,{_countGuid:_countGuid,_marketFileId:_marketFileId,_countName:_countName,_countDescription:_countDescription},succeededCallback,failedCallback,userContext); }}
ListbuilderAJAX.WebServices.wsCountSummary.registerClass('ListbuilderAJAX.WebServices.wsCountSummary',Sys.Net.WebServiceProxy);
ListbuilderAJAX.WebServices.wsCountSummary._staticInstance = new ListbuilderAJAX.WebServices.wsCountSummary();
ListbuilderAJAX.WebServices.wsCountSummary.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._path = value; }
ListbuilderAJAX.WebServices.wsCountSummary.get_path = function() { return ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._path; }
ListbuilderAJAX.WebServices.wsCountSummary.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._timeout = value; }
ListbuilderAJAX.WebServices.wsCountSummary.get_timeout = function() { 
return ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._timeout; }
ListbuilderAJAX.WebServices.wsCountSummary.set_defaultUserContext = function(value) { 
ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._userContext = value; }
ListbuilderAJAX.WebServices.wsCountSummary.get_defaultUserContext = function() { 
return ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._userContext; }
ListbuilderAJAX.WebServices.wsCountSummary.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._succeeded = value; }
ListbuilderAJAX.WebServices.wsCountSummary.get_defaultSucceededCallback = function() { 
return ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._succeeded; }
ListbuilderAJAX.WebServices.wsCountSummary.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._failed = value; }
ListbuilderAJAX.WebServices.wsCountSummary.get_defaultFailedCallback = function() { 
return ListbuilderAJAX.WebServices.wsCountSummary._staticInstance._failed; }
ListbuilderAJAX.WebServices.wsCountSummary.set_path("/WebServices/wsCountSummary.asmx");
ListbuilderAJAX.WebServices.wsCountSummary.validateSaveCount= function(newCountName,onSuccess,onFailed,userContext) {ListbuilderAJAX.WebServices.wsCountSummary._staticInstance.validateSaveCount(newCountName,onSuccess,onFailed,userContext); }
ListbuilderAJAX.WebServices.wsCountSummary.DoPreviewExtract= function(_countGUID,onSuccess,onFailed,userContext) {ListbuilderAJAX.WebServices.wsCountSummary._staticInstance.DoPreviewExtract(_countGUID,onSuccess,onFailed,userContext); }
ListbuilderAJAX.WebServices.wsCountSummary.SaveCountWithDetails= function(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,_folderName,onSuccess,onFailed,userContext) {ListbuilderAJAX.WebServices.wsCountSummary._staticInstance.SaveCountWithDetails(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,_folderName,onSuccess,onFailed,userContext); }
ListbuilderAJAX.WebServices.wsCountSummary.SaveCountWithDetailsNew= function(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,_folderName,isNewFolder,onSuccess,onFailed,userContext) {ListbuilderAJAX.WebServices.wsCountSummary._staticInstance.SaveCountWithDetailsNew(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,_folderName,isNewFolder,onSuccess,onFailed,userContext); }
ListbuilderAJAX.WebServices.wsCountSummary.SaveCountWithDetailsDialog= function(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,folderID,onSuccess,onFailed,userContext) {ListbuilderAJAX.WebServices.wsCountSummary._staticInstance.SaveCountWithDetailsDialog(_countGuid,_description,_name,_parentCount,_childCount,_singlePrice,_multiPrice,folderID,onSuccess,onFailed,userContext); }
ListbuilderAJAX.WebServices.wsCountSummary.AddToCart= function(_countGuid,_marketFileId,_countName,_countDescription,onSuccess,onFailed,userContext) {ListbuilderAJAX.WebServices.wsCountSummary._staticInstance.AddToCart(_countGuid,_marketFileId,_countName,_countDescription,onSuccess,onFailed,userContext); }

