var photoWS=function() {
photoWS.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
photoWS.prototype={
AddPhotoComment:function(photoId,comment,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'AddPhotoComment',false,{photoId:photoId,comment:comment},succeededCallback,failedCallback,userContext); },
DeletePhotoComment:function(commentId,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'DeletePhotoComment',false,{commentId:commentId},succeededCallback,failedCallback,userContext); },
AddTag:function(photoId,tag,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'AddTag',false,{photoId:photoId,tag:tag},succeededCallback,failedCallback,userContext); },
DeleteTag:function(photoId,tagId,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'DeleteTag',false,{photoId:photoId,tagId:tagId},succeededCallback,failedCallback,userContext); },
UpdatePrivacy:function(photoId,isPublic,isFriend,isFamily,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'UpdatePrivacy',false,{photoId:photoId,isPublic:isPublic,isFriend:isFriend,isFamily:isFamily},succeededCallback,failedCallback,userContext); },
UpdatePhotoTitle:function(photoId,title,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'UpdatePhotoTitle',false,{photoId:photoId,title:title},succeededCallback,failedCallback,userContext); },
UpdatePhotoDesc:function(photoId,desc,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'UpdatePhotoDesc',false,{photoId:photoId,desc:desc},succeededCallback,failedCallback,userContext); },
RotatePhoto:function(photoId,flipType,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'RotatePhoto',false,{photoId:photoId,flipType:flipType},succeededCallback,failedCallback,userContext); },
DeletePhoto:function(photoId,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'DeletePhoto',false,{photoId:photoId},succeededCallback,failedCallback,userContext); },
GetPhotoStrip:function(user,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'GetPhotoStrip',false,{user:user,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
GetPhotoStream:function(user,pageIndex,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'GetPhotoStream',false,{user:user,pageIndex:pageIndex},succeededCallback,failedCallback,userContext); },
RemoveRelation:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'RemoveRelation',false,{id:id},succeededCallback,failedCallback,userContext); },
UpdateRelation:function(id,isFriend,isFamily,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'UpdateRelation',false,{id:id,isFriend:isFriend,isFamily:isFamily},succeededCallback,failedCallback,userContext); },
GetAvatarMenu:function(id,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'GetAvatarMenu',false,{id:id},succeededCallback,failedCallback,userContext); },
AddFavoritePhoto:function(photoId,inFavorits,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'AddFavoritePhoto',false,{photoId:photoId,inFavorits:inFavorits},succeededCallback,failedCallback,userContext); },
CartQuickAddPrint:function(photoId,inCart,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'CartQuickAddPrint',false,{photoId:photoId,inCart:inCart},succeededCallback,failedCallback,userContext); },
CartQuickAddPrints:function(photos,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'CartQuickAddPrints',false,{photos:photos},succeededCallback,failedCallback,userContext); },
CartAddProductWithPhotos:function(productId,photos,succeededCallback, failedCallback, userContext) {
return this._invoke(photoWS.get_path(), 'CartAddProductWithPhotos',false,{productId:productId,photos:photos},succeededCallback,failedCallback,userContext); }}
photoWS.registerClass('photoWS',Sys.Net.WebServiceProxy);
photoWS._staticInstance = new photoWS();
photoWS.set_path = function(value) { photoWS._staticInstance._path = value; }
photoWS.get_path = function() { return photoWS._staticInstance._path; }
photoWS.set_timeout = function(value) { photoWS._staticInstance._timeout = value; }
photoWS.get_timeout = function() { return photoWS._staticInstance._timeout; }
photoWS.set_defaultUserContext = function(value) { photoWS._staticInstance._userContext = value; }
photoWS.get_defaultUserContext = function() { return photoWS._staticInstance._userContext; }
photoWS.set_defaultSucceededCallback = function(value) { photoWS._staticInstance._succeeded = value; }
photoWS.get_defaultSucceededCallback = function() { return photoWS._staticInstance._succeeded; }
photoWS.set_defaultFailedCallback = function(value) { photoWS._staticInstance._failed = value; }
photoWS.get_defaultFailedCallback = function() { return photoWS._staticInstance._failed; }
photoWS.set_path("/services/photoWS.asmx");
photoWS.AddPhotoComment= function(photoId,comment,onSuccess,onFailed,userContext) {photoWS._staticInstance.AddPhotoComment(photoId,comment,onSuccess,onFailed,userContext); }
photoWS.DeletePhotoComment= function(commentId,onSuccess,onFailed,userContext) {photoWS._staticInstance.DeletePhotoComment(commentId,onSuccess,onFailed,userContext); }
photoWS.AddTag= function(photoId,tag,onSuccess,onFailed,userContext) {photoWS._staticInstance.AddTag(photoId,tag,onSuccess,onFailed,userContext); }
photoWS.DeleteTag= function(photoId,tagId,onSuccess,onFailed,userContext) {photoWS._staticInstance.DeleteTag(photoId,tagId,onSuccess,onFailed,userContext); }
photoWS.UpdatePrivacy= function(photoId,isPublic,isFriend,isFamily,onSuccess,onFailed,userContext) {photoWS._staticInstance.UpdatePrivacy(photoId,isPublic,isFriend,isFamily,onSuccess,onFailed,userContext); }
photoWS.UpdatePhotoTitle= function(photoId,title,onSuccess,onFailed,userContext) {photoWS._staticInstance.UpdatePhotoTitle(photoId,title,onSuccess,onFailed,userContext); }
photoWS.UpdatePhotoDesc= function(photoId,desc,onSuccess,onFailed,userContext) {photoWS._staticInstance.UpdatePhotoDesc(photoId,desc,onSuccess,onFailed,userContext); }
photoWS.RotatePhoto= function(photoId,flipType,onSuccess,onFailed,userContext) {photoWS._staticInstance.RotatePhoto(photoId,flipType,onSuccess,onFailed,userContext); }
photoWS.DeletePhoto= function(photoId,onSuccess,onFailed,userContext) {photoWS._staticInstance.DeletePhoto(photoId,onSuccess,onFailed,userContext); }
photoWS.GetPhotoStrip= function(user,pageIndex,onSuccess,onFailed,userContext) {photoWS._staticInstance.GetPhotoStrip(user,pageIndex,onSuccess,onFailed,userContext); }
photoWS.GetPhotoStream= function(user,pageIndex,onSuccess,onFailed,userContext) {photoWS._staticInstance.GetPhotoStream(user,pageIndex,onSuccess,onFailed,userContext); }
photoWS.RemoveRelation= function(id,onSuccess,onFailed,userContext) {photoWS._staticInstance.RemoveRelation(id,onSuccess,onFailed,userContext); }
photoWS.UpdateRelation= function(id,isFriend,isFamily,onSuccess,onFailed,userContext) {photoWS._staticInstance.UpdateRelation(id,isFriend,isFamily,onSuccess,onFailed,userContext); }
photoWS.GetAvatarMenu= function(id,onSuccess,onFailed,userContext) {photoWS._staticInstance.GetAvatarMenu(id,onSuccess,onFailed,userContext); }
photoWS.AddFavoritePhoto= function(photoId,inFavorits,onSuccess,onFailed,userContext) {photoWS._staticInstance.AddFavoritePhoto(photoId,inFavorits,onSuccess,onFailed,userContext); }
photoWS.CartQuickAddPrint= function(photoId,inCart,onSuccess,onFailed,userContext) {photoWS._staticInstance.CartQuickAddPrint(photoId,inCart,onSuccess,onFailed,userContext); }
photoWS.CartQuickAddPrints= function(photos,onSuccess,onFailed,userContext) {photoWS._staticInstance.CartQuickAddPrints(photos,onSuccess,onFailed,userContext); }
photoWS.CartAddProductWithPhotos= function(productId,photos,onSuccess,onFailed,userContext) {photoWS._staticInstance.CartAddProductWithPhotos(productId,photos,onSuccess,onFailed,userContext); }
