Type.registerNamespace('IGS.Biz');
IGS.Biz.IMPWebService=function() {
IGS.Biz.IMPWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
IGS.Biz.IMPWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return IGS.Biz.IMPWebService._staticInstance.get_path();},
HelloWorld:function(pMsg,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'HelloWorld',false,{pMsg:pMsg},succeededCallback,failedCallback,userContext); },
CartInsert:function(IdMaster,insertDataType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CartInsert',false,{IdMaster:IdMaster,insertDataType:insertDataType},succeededCallback,failedCallback,userContext); },
CartInsertWithPrice:function(IdCart,IdMaster,License,Price,PriceCode,insertDataType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CartInsertWithPrice',false,{IdCart:IdCart,IdMaster:IdMaster,License:License,Price:Price,PriceCode:PriceCode,insertDataType:insertDataType},succeededCallback,failedCallback,userContext); },
CartInsertWithPriceCurrency:function(IdCart,IdMaster,License,Price,PriceCode,currencyType,insertDataType,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CartInsertWithPriceCurrency',false,{IdCart:IdCart,IdMaster:IdMaster,License:License,Price:Price,PriceCode:PriceCode,currencyType:currencyType,insertDataType:insertDataType},succeededCallback,failedCallback,userContext); },
CartInsertWithOption:function(idCart,priceOption,optionMenu,priceExpress,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CartInsertWithOption',false,{idCart:idCart,priceOption:priceOption,optionMenu:optionMenu,priceExpress:priceExpress},succeededCallback,failedCallback,userContext); },
AirplaneUpdate:function(IdCart,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AirplaneUpdate',false,{IdCart:IdCart},succeededCallback,failedCallback,userContext); },
CartInsertAll:function(IdMasters,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CartInsertAll',false,{IdMasters:IdMasters},succeededCallback,failedCallback,userContext); },
LightBoxInsert:function(IdMaster,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LightBoxInsert',false,{IdMaster:IdMaster},succeededCallback,failedCallback,userContext); },
LightBoxInsertAll:function(IdMasters,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LightBoxInsertAll',false,{IdMasters:IdMasters},succeededCallback,failedCallback,userContext); },
GetPrice:function(priceValue,pigSaleYn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPrice',false,{priceValue:priceValue,pigSaleYn:pigSaleYn},succeededCallback,failedCallback,userContext); },
GetPriceNews:function(priceValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPriceNews',false,{priceValue:priceValue},succeededCallback,failedCallback,userContext); },
TB_IMAGE_IMP_VOTE_INSERT:function(IdMaster,SellerUserId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TB_IMAGE_IMP_VOTE_INSERT',false,{IdMaster:IdMaster,SellerUserId:SellerUserId},succeededCallback,failedCallback,userContext); },
CartUpdateAirplane:function(IdCart,Price,PriceAirplane,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CartUpdateAirplane',false,{IdCart:IdCart,Price:Price,PriceAirplane:PriceAirplane},succeededCallback,failedCallback,userContext); },
GetCaption:function(impSeqn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCaption',false,{impSeqn:impSeqn},succeededCallback,failedCallback,userContext); },
GetCaptionThemeInfoCategory:function(impseqn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCaptionThemeInfoCategory',false,{impseqn:impseqn},succeededCallback,failedCallback,userContext); },
ViewDeatil:function(impseqn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ViewDeatil',false,{impseqn:impseqn},succeededCallback,failedCallback,userContext); },
ViewDetailGeo:function(impseqn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ViewDetailGeo',false,{impseqn:impseqn},succeededCallback,failedCallback,userContext); },
ViewDeatilHome:function(impseqn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ViewDeatilHome',false,{impseqn:impseqn},succeededCallback,failedCallback,userContext); },
ViewDeatilSports:function(impseqn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ViewDeatilSports',false,{impseqn:impseqn},succeededCallback,failedCallback,userContext); },
GetLinkList:function(cmscode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLinkList',false,{cmscode:cmscode},succeededCallback,failedCallback,userContext); },
GetLinkDetailList:function(linkDomain,cmscode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetLinkDetailList',false,{linkDomain:linkDomain,cmscode:cmscode},succeededCallback,failedCallback,userContext); },
DeleteComment2:function(idCmt,idMaster,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteComment2',false,{idCmt:idCmt,idMaster:idMaster},succeededCallback,failedCallback,userContext); },
InsertComment:function(idMaster,caption,boolbest,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'InsertComment',false,{idMaster:idMaster,caption:caption,boolbest:boolbest},succeededCallback,failedCallback,userContext); },
SetPriceAll:function(idCart,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SetPriceAll',false,{idCart:idCart},succeededCallback,failedCallback,userContext); },
GetPhotoStatistic:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPhotoStatistic',false,{},succeededCallback,failedCallback,userContext); },
ViewContestDetail:function(idmaster,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'ViewContestDetail',false,{idmaster:idmaster},succeededCallback,failedCallback,userContext); },
AuthorList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AuthorList',false,{},succeededCallback,failedCallback,userContext); },
AuthorListContest:function(pIdmaster,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AuthorListContest',false,{pIdmaster:pIdmaster},succeededCallback,failedCallback,userContext); },
RemakeThumbnail:function(pCmscode,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemakeThumbnail',false,{pCmscode:pCmscode},succeededCallback,failedCallback,userContext); },
GetContestRelationCmt:function(idMaster,idCmt,currentPath,contestIdmaster,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContestRelationCmt',false,{idMaster:idMaster,idCmt:idCmt,currentPath:currentPath,contestIdmaster:contestIdmaster},succeededCallback,failedCallback,userContext); },
GetIDfromName:function(UserName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetIDfromName',false,{UserName:UserName},succeededCallback,failedCallback,userContext); },
GetCmscodeFromImpseqn:function(Impseqn,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetCmscodeFromImpseqn',false,{Impseqn:Impseqn},succeededCallback,failedCallback,userContext); }}
IGS.Biz.IMPWebService.registerClass('IGS.Biz.IMPWebService',Sys.Net.WebServiceProxy);
IGS.Biz.IMPWebService._staticInstance = new IGS.Biz.IMPWebService();
IGS.Biz.IMPWebService.set_path = function(value) { IGS.Biz.IMPWebService._staticInstance.set_path(value); }
IGS.Biz.IMPWebService.get_path = function() { return IGS.Biz.IMPWebService._staticInstance.get_path(); }
IGS.Biz.IMPWebService.set_timeout = function(value) { IGS.Biz.IMPWebService._staticInstance.set_timeout(value); }
IGS.Biz.IMPWebService.get_timeout = function() { return IGS.Biz.IMPWebService._staticInstance.get_timeout(); }
IGS.Biz.IMPWebService.set_defaultUserContext = function(value) { IGS.Biz.IMPWebService._staticInstance.set_defaultUserContext(value); }
IGS.Biz.IMPWebService.get_defaultUserContext = function() { return IGS.Biz.IMPWebService._staticInstance.get_defaultUserContext(); }
IGS.Biz.IMPWebService.set_defaultSucceededCallback = function(value) { IGS.Biz.IMPWebService._staticInstance.set_defaultSucceededCallback(value); }
IGS.Biz.IMPWebService.get_defaultSucceededCallback = function() { return IGS.Biz.IMPWebService._staticInstance.get_defaultSucceededCallback(); }
IGS.Biz.IMPWebService.set_defaultFailedCallback = function(value) { IGS.Biz.IMPWebService._staticInstance.set_defaultFailedCallback(value); }
IGS.Biz.IMPWebService.get_defaultFailedCallback = function() { return IGS.Biz.IMPWebService._staticInstance.get_defaultFailedCallback(); }
IGS.Biz.IMPWebService.set_path("/IMP/IMPWebService.asmx");
IGS.Biz.IMPWebService.HelloWorld= function(pMsg,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.HelloWorld(pMsg,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.CartInsert= function(IdMaster,insertDataType,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.CartInsert(IdMaster,insertDataType,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.CartInsertWithPrice= function(IdCart,IdMaster,License,Price,PriceCode,insertDataType,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.CartInsertWithPrice(IdCart,IdMaster,License,Price,PriceCode,insertDataType,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.CartInsertWithPriceCurrency= function(IdCart,IdMaster,License,Price,PriceCode,currencyType,insertDataType,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.CartInsertWithPriceCurrency(IdCart,IdMaster,License,Price,PriceCode,currencyType,insertDataType,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.CartInsertWithOption= function(idCart,priceOption,optionMenu,priceExpress,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.CartInsertWithOption(idCart,priceOption,optionMenu,priceExpress,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.AirplaneUpdate= function(IdCart,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.AirplaneUpdate(IdCart,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.CartInsertAll= function(IdMasters,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.CartInsertAll(IdMasters,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.LightBoxInsert= function(IdMaster,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.LightBoxInsert(IdMaster,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.LightBoxInsertAll= function(IdMasters,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.LightBoxInsertAll(IdMasters,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetPrice= function(priceValue,pigSaleYn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetPrice(priceValue,pigSaleYn,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetPriceNews= function(priceValue,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetPriceNews(priceValue,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.TB_IMAGE_IMP_VOTE_INSERT= function(IdMaster,SellerUserId,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.TB_IMAGE_IMP_VOTE_INSERT(IdMaster,SellerUserId,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.CartUpdateAirplane= function(IdCart,Price,PriceAirplane,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.CartUpdateAirplane(IdCart,Price,PriceAirplane,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetCaption= function(impSeqn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetCaption(impSeqn,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetCaptionThemeInfoCategory= function(impseqn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetCaptionThemeInfoCategory(impseqn,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.ViewDeatil= function(impseqn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.ViewDeatil(impseqn,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.ViewDetailGeo= function(impseqn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.ViewDetailGeo(impseqn,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.ViewDeatilHome= function(impseqn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.ViewDeatilHome(impseqn,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.ViewDeatilSports= function(impseqn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.ViewDeatilSports(impseqn,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetLinkList= function(cmscode,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetLinkList(cmscode,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetLinkDetailList= function(linkDomain,cmscode,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetLinkDetailList(linkDomain,cmscode,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.DeleteComment2= function(idCmt,idMaster,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.DeleteComment2(idCmt,idMaster,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.InsertComment= function(idMaster,caption,boolbest,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.InsertComment(idMaster,caption,boolbest,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.SetPriceAll= function(idCart,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.SetPriceAll(idCart,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetPhotoStatistic= function(onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetPhotoStatistic(onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.ViewContestDetail= function(idmaster,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.ViewContestDetail(idmaster,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.AuthorList= function(onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.AuthorList(onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.AuthorListContest= function(pIdmaster,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.AuthorListContest(pIdmaster,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.RemakeThumbnail= function(pCmscode,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.RemakeThumbnail(pCmscode,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetContestRelationCmt= function(idMaster,idCmt,currentPath,contestIdmaster,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetContestRelationCmt(idMaster,idCmt,currentPath,contestIdmaster,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetIDfromName= function(UserName,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetIDfromName(UserName,onSuccess,onFailed,userContext); }
IGS.Biz.IMPWebService.GetCmscodeFromImpseqn= function(Impseqn,onSuccess,onFailed,userContext) {IGS.Biz.IMPWebService._staticInstance.GetCmscodeFromImpseqn(Impseqn,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(IGS.Biz.ImgObject) === 'undefined') {
IGS.Biz.ImgObject=gtc("IGS.Biz.ImgObject");
IGS.Biz.ImgObject.registerClass('IGS.Biz.ImgObject');
}
if (typeof(IGS.Biz.InsertDataType) === 'undefined') {
IGS.Biz.InsertDataType = function() { throw Error.invalidOperation(); }
IGS.Biz.InsertDataType.prototype = {Insert: 0,Update: 1,List: 2,ListSearch: 3,Cms: 4}
IGS.Biz.InsertDataType.registerEnum('IGS.Biz.InsertDataType', true);
}
if (typeof(EnumCurrency) === 'undefined') {
EnumCurrency = function() { throw Error.invalidOperation(); }
EnumCurrency.prototype = {WON: 0,USD: 1}
EnumCurrency.registerEnum('EnumCurrency', true);
}
