Type.registerNamespace('Mantis.ModyCeramics.Services');
Mantis.ModyCeramics.Services.GalleryService=function() {
Mantis.ModyCeramics.Services.GalleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Mantis.ModyCeramics.Services.GalleryService.prototype={
GetGalleryResultSource:function(productCategoryId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'GetGalleryResultSource',false,{productCategoryId:productCategoryId},succeededCallback,failedCallback,userContext); },
GetItemBodyText:function(productId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'GetItemBodyText',false,{productId:productId},succeededCallback,failedCallback,userContext); },
getBrandInfoLayer:function(brandId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'getBrandInfoLayer',false,{brandId:brandId},succeededCallback,failedCallback,userContext); },
StoreCase:function(environmentImageId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'StoreCase',false,{environmentImageId:environmentImageId},succeededCallback,failedCallback,userContext); },
CaseRemove:function(environmentImageId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'CaseRemove',false,{environmentImageId:environmentImageId},succeededCallback,failedCallback,userContext); },
PrivateGalleryImageRemove:function(personalGalleryId,environmentImageId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'PrivateGalleryImageRemove',false,{personalGalleryId:personalGalleryId,environmentImageId:environmentImageId},succeededCallback,failedCallback,userContext); },
GetCaseNum:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'GetCaseNum',false,{},succeededCallback,failedCallback,userContext); },
GetFoldersSelectSource:function(succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'GetFoldersSelectSource',false,{},succeededCallback,failedCallback,userContext); },
GetImageNote:function(personalGalleryId,envImageId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'GetImageNote',false,{personalGalleryId:personalGalleryId,envImageId:envImageId},succeededCallback,failedCallback,userContext); },
AddImageToPrivateFolder:function(environmentImageId,folderId,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'AddImageToPrivateFolder',false,{environmentImageId:environmentImageId,folderId:folderId},succeededCallback,failedCallback,userContext); },
SendCookieGalleryAsPersentation:function(note,emailTo,emailFrom,fullName,succeededCallback, failedCallback, userContext) {
return this._invoke(Mantis.ModyCeramics.Services.GalleryService.get_path(), 'SendCookieGalleryAsPersentation',false,{note:note,emailTo:emailTo,emailFrom:emailFrom,fullName:fullName},succeededCallback,failedCallback,userContext); }}
Mantis.ModyCeramics.Services.GalleryService.registerClass('Mantis.ModyCeramics.Services.GalleryService',Sys.Net.WebServiceProxy);
Mantis.ModyCeramics.Services.GalleryService._staticInstance = new Mantis.ModyCeramics.Services.GalleryService();
Mantis.ModyCeramics.Services.GalleryService.set_path = function(value) { Mantis.ModyCeramics.Services.GalleryService._staticInstance._path = value; }
Mantis.ModyCeramics.Services.GalleryService.get_path = function() { return Mantis.ModyCeramics.Services.GalleryService._staticInstance._path; }
Mantis.ModyCeramics.Services.GalleryService.set_timeout = function(value) { Mantis.ModyCeramics.Services.GalleryService._staticInstance._timeout = value; }
Mantis.ModyCeramics.Services.GalleryService.get_timeout = function() { return Mantis.ModyCeramics.Services.GalleryService._staticInstance._timeout; }
Mantis.ModyCeramics.Services.GalleryService.set_defaultUserContext = function(value) { Mantis.ModyCeramics.Services.GalleryService._staticInstance._userContext = value; }
Mantis.ModyCeramics.Services.GalleryService.get_defaultUserContext = function() { return Mantis.ModyCeramics.Services.GalleryService._staticInstance._userContext; }
Mantis.ModyCeramics.Services.GalleryService.set_defaultSucceededCallback = function(value) { Mantis.ModyCeramics.Services.GalleryService._staticInstance._succeeded = value; }
Mantis.ModyCeramics.Services.GalleryService.get_defaultSucceededCallback = function() { return Mantis.ModyCeramics.Services.GalleryService._staticInstance._succeeded; }
Mantis.ModyCeramics.Services.GalleryService.set_defaultFailedCallback = function(value) { Mantis.ModyCeramics.Services.GalleryService._staticInstance._failed = value; }
Mantis.ModyCeramics.Services.GalleryService.get_defaultFailedCallback = function() { return Mantis.ModyCeramics.Services.GalleryService._staticInstance._failed; }
Mantis.ModyCeramics.Services.GalleryService.set_path("/Services/GalleryService.asmx");
Mantis.ModyCeramics.Services.GalleryService.GetGalleryResultSource= function(productCategoryId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.GetGalleryResultSource(productCategoryId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.GetItemBodyText= function(productId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.GetItemBodyText(productId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.getBrandInfoLayer= function(brandId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.getBrandInfoLayer(brandId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.StoreCase= function(environmentImageId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.StoreCase(environmentImageId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.CaseRemove= function(environmentImageId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.CaseRemove(environmentImageId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.PrivateGalleryImageRemove= function(personalGalleryId,environmentImageId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.PrivateGalleryImageRemove(personalGalleryId,environmentImageId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.GetCaseNum= function(onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.GetCaseNum(onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.GetFoldersSelectSource= function(onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.GetFoldersSelectSource(onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.GetImageNote= function(personalGalleryId,envImageId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.GetImageNote(personalGalleryId,envImageId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.AddImageToPrivateFolder= function(environmentImageId,folderId,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.AddImageToPrivateFolder(environmentImageId,folderId,onSuccess,onFailed,userContext); }
Mantis.ModyCeramics.Services.GalleryService.SendCookieGalleryAsPersentation= function(note,emailTo,emailFrom,fullName,onSuccess,onFailed,userContext) {Mantis.ModyCeramics.Services.GalleryService._staticInstance.SendCookieGalleryAsPersentation(note,emailTo,emailFrom,fullName,onSuccess,onFailed,userContext); }

