Type.registerNamespace('QuickPhotoWebSite');
QuickPhotoWebSite.PhotoWebService=function() {
QuickPhotoWebSite.PhotoWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
QuickPhotoWebSite.PhotoWebService.prototype={
LoadAlbumDeep:function(albumID,code,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'LoadAlbumDeep',false,{albumID:albumID,code:code},succeededCallback,failedCallback,userContext); },
UpdatePhotoCaption:function(photoID,caption,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'UpdatePhotoCaption',false,{photoID:photoID,caption:caption},succeededCallback,failedCallback,userContext); },
UpdateAlbumInfo:function(albumID,title,description,pb,year,month,day,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'UpdateAlbumInfo',false,{albumID:albumID,title:title,description:description,pb:pb,year:year,month:month,day:day},succeededCallback,failedCallback,userContext); },
DeleteAlbum:function(albumID,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'DeleteAlbum',false,{albumID:albumID},succeededCallback,failedCallback,userContext); },
UpdateCover:function(albumID,cover,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'UpdateCover',false,{albumID:albumID,cover:cover},succeededCallback,failedCallback,userContext); },
UpdatePosition:function(albumID,photoID,position,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'UpdatePosition',false,{albumID:albumID,photoID:photoID,position:position},succeededCallback,failedCallback,userContext); },
DeletePhoto:function(albumID,securityCode,photoID,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'DeletePhoto',false,{albumID:albumID,securityCode:securityCode,photoID:photoID},succeededCallback,failedCallback,userContext); },
ExtraPhoto:function(fromAlbumID,toAlbumID,photoID,extraID,ratio,x,y,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'ExtraPhoto',false,{fromAlbumID:fromAlbumID,toAlbumID:toAlbumID,photoID:photoID,extraID:extraID,ratio:ratio,x:x,y:y},succeededCallback,failedCallback,userContext); },
CalendarPhoto:function(fromAlbumID,toAlbumID,photoID,extraID,succeededCallback, failedCallback, userContext) {
return this._invoke(QuickPhotoWebSite.PhotoWebService.get_path(), 'CalendarPhoto',false,{fromAlbumID:fromAlbumID,toAlbumID:toAlbumID,photoID:photoID,extraID:extraID},succeededCallback,failedCallback,userContext); }}
QuickPhotoWebSite.PhotoWebService.registerClass('QuickPhotoWebSite.PhotoWebService',Sys.Net.WebServiceProxy);
QuickPhotoWebSite.PhotoWebService._staticInstance = new QuickPhotoWebSite.PhotoWebService();
QuickPhotoWebSite.PhotoWebService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; QuickPhotoWebSite.PhotoWebService._staticInstance._path = value; }
QuickPhotoWebSite.PhotoWebService.get_path = function() { return QuickPhotoWebSite.PhotoWebService._staticInstance._path; }
QuickPhotoWebSite.PhotoWebService.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); }
QuickPhotoWebSite.PhotoWebService._staticInstance._timeout = value; }
QuickPhotoWebSite.PhotoWebService.get_timeout = function() { 
return QuickPhotoWebSite.PhotoWebService._staticInstance._timeout; }
QuickPhotoWebSite.PhotoWebService.set_defaultUserContext = function(value) { 
QuickPhotoWebSite.PhotoWebService._staticInstance._userContext = value; }
QuickPhotoWebSite.PhotoWebService.get_defaultUserContext = function() { 
return QuickPhotoWebSite.PhotoWebService._staticInstance._userContext; }
QuickPhotoWebSite.PhotoWebService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; QuickPhotoWebSite.PhotoWebService._staticInstance._succeeded = value; }
QuickPhotoWebSite.PhotoWebService.get_defaultSucceededCallback = function() { 
return QuickPhotoWebSite.PhotoWebService._staticInstance._succeeded; }
QuickPhotoWebSite.PhotoWebService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; QuickPhotoWebSite.PhotoWebService._staticInstance._failed = value; }
QuickPhotoWebSite.PhotoWebService.get_defaultFailedCallback = function() { 
return QuickPhotoWebSite.PhotoWebService._staticInstance._failed; }
QuickPhotoWebSite.PhotoWebService.set_path("/Services/PhotoWebService.asmx");
QuickPhotoWebSite.PhotoWebService.LoadAlbumDeep= function(albumID,code,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.LoadAlbumDeep(albumID,code,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.UpdatePhotoCaption= function(photoID,caption,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.UpdatePhotoCaption(photoID,caption,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.UpdateAlbumInfo= function(albumID,title,description,pb,year,month,day,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.UpdateAlbumInfo(albumID,title,description,pb,year,month,day,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.DeleteAlbum= function(albumID,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.DeleteAlbum(albumID,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.UpdateCover= function(albumID,cover,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.UpdateCover(albumID,cover,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.UpdatePosition= function(albumID,photoID,position,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.UpdatePosition(albumID,photoID,position,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.DeletePhoto= function(albumID,securityCode,photoID,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.DeletePhoto(albumID,securityCode,photoID,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.ExtraPhoto= function(fromAlbumID,toAlbumID,photoID,extraID,ratio,x,y,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.ExtraPhoto(fromAlbumID,toAlbumID,photoID,extraID,ratio,x,y,onSuccess,onFailed,userContext); }
QuickPhotoWebSite.PhotoWebService.CalendarPhoto= function(fromAlbumID,toAlbumID,photoID,extraID,onSuccess,onFailed,userContext) {QuickPhotoWebSite.PhotoWebService._staticInstance.CalendarPhoto(fromAlbumID,toAlbumID,photoID,extraID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('QuickPhotoEntity');
if (typeof(QuickPhotoEntity.Album) === 'undefined') {
QuickPhotoEntity.Album=gtc("QuickPhotoEntity.Album");
QuickPhotoEntity.Album.registerClass('QuickPhotoEntity.Album');
}
