Type.registerNamespace('Hoozone.Web.WebService'); Hoozone.Web.WebService.PhotoAlbum = { path: "/WebService/PhotoAlbum.asmx", GetPhotosInAlbum:function(albumID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetPhotosInAlbum",{albumID:albumID}, onMethodComplete, onMethodTimeout); }, GetPhotosAndTagsInAlbum:function(albumID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetPhotosAndTagsInAlbum",{albumID:albumID}, onMethodComplete, onMethodTimeout); }, GetAllPhotos:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetAllPhotos",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetAlbums:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetAlbums",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetAlbumsNew:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetAlbumsNew",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetAlbumsAndThumbnails:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetAlbumsAndThumbnails",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, GetAlbumThumbnails:function(prefix,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "GetAlbumThumbnails",{prefix:prefix}, onMethodComplete, onMethodTimeout); }, ChangePhoto:function(photoID,title,description,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "ChangePhoto",{photoID:photoID,title:title,description:description}, onMethodComplete, onMethodTimeout); }, DeletePhoto:function(prefix,albumID,photoID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "DeletePhoto",{prefix:prefix,albumID:albumID,photoID:photoID}, onMethodComplete, onMethodTimeout); }, MovePhoto:function(prefix,photoID,fromAlbumID,toAlbumID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "MovePhoto",{prefix:prefix,photoID:photoID,fromAlbumID:fromAlbumID,toAlbumID:toAlbumID}, onMethodComplete, onMethodTimeout); }, CreateAlbum:function(prefix,albumName,albumDescription,visibility,addPhotoPrivilege,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "CreateAlbum",{prefix:prefix,albumName:albumName,albumDescription:albumDescription,visibility:visibility,addPhotoPrivilege:addPhotoPrivilege}, onMethodComplete, onMethodTimeout); }, DeleteAlbum:function(prefix,albumID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "DeleteAlbum",{prefix:prefix,albumID:albumID}, onMethodComplete, onMethodTimeout); }, ChangeAlbum:function(prefix,albumID,albumName,albumDescription,visibility,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "ChangeAlbum",{prefix:prefix,albumID:albumID,albumName:albumName,albumDescription:albumDescription,visibility:visibility}, onMethodComplete, onMethodTimeout); }, AddCountVisit:function(photoID,onMethodComplete, onMethodTimeout) {return Web.Net.ServiceMethodRequest.callMethod(this.path, "AddCountVisit",{photoID:photoID}, onMethodComplete, onMethodTimeout); } }