var GalleryService=function() {
GalleryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
GalleryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return GalleryService._staticInstance.get_path();},
__construct:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), '__construct',false,{},succeededCallback,failedCallback,userContext); },
getGalleryTitle:function(galleryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getGalleryTitle',false,{galleryId:galleryId},succeededCallback,failedCallback,userContext); },
getGalleryInfo:function(galleryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getGalleryInfo',false,{galleryId:galleryId},succeededCallback,failedCallback,userContext); },
getGalleryListByMember:function(memberId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getGalleryListByMember',false,{memberId:memberId},succeededCallback,failedCallback,userContext); },
getGalleryImages:function(memberId,galleryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getGalleryImages',false,{memberId:memberId,galleryId:galleryId},succeededCallback,failedCallback,userContext); },
createGallery:function(memberId,newTitle,newDescription,bPublic,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'createGallery',false,{memberId:memberId,newTitle:newTitle,newDescription:newDescription,bPublic:bPublic},succeededCallback,failedCallback,userContext); },
updateGallery:function(memberId,galleryId,newTitle,newDescription,thumbnailId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'updateGallery',false,{memberId:memberId,galleryId:galleryId,newTitle:newTitle,newDescription:newDescription,thumbnailId:thumbnailId},succeededCallback,failedCallback,userContext); },
deleteGallery:function(memberId,galleryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteGallery',false,{memberId:memberId,galleryId:galleryId},succeededCallback,failedCallback,userContext); },
updateImageDetails:function(memberId,galleryId,imageId,imageTitle,imageDescription,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'updateImageDetails',false,{memberId:memberId,galleryId:galleryId,imageId:imageId,imageTitle:imageTitle,imageDescription:imageDescription},succeededCallback,failedCallback,userContext); },
deleteImage:function(memberId,galleryId,imageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'deleteImage',false,{memberId:memberId,galleryId:galleryId,imageId:imageId},succeededCallback,failedCallback,userContext); },
getCollectionsList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCollectionsList',false,{},succeededCallback,failedCallback,userContext); },
getCollectionTypesList:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCollectionTypesList',false,{},succeededCallback,failedCallback,userContext); },
getCollectionGalleryNavBar:function(collectionId,targetDivId,galleryPage,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'getCollectionGalleryNavBar',false,{collectionId:collectionId,targetDivId:targetDivId,galleryPage:galleryPage},succeededCallback,failedCallback,userContext); }}
GalleryService.registerClass('GalleryService',Sys.Net.WebServiceProxy);
GalleryService._staticInstance = new GalleryService();
GalleryService.set_path = function(value) { GalleryService._staticInstance.set_path(value); }
GalleryService.get_path = function() { return GalleryService._staticInstance.get_path(); }
GalleryService.set_timeout = function(value) { GalleryService._staticInstance.set_timeout(value); }
GalleryService.get_timeout = function() { return GalleryService._staticInstance.get_timeout(); }
GalleryService.set_defaultUserContext = function(value) { GalleryService._staticInstance.set_defaultUserContext(value); }
GalleryService.get_defaultUserContext = function() { return GalleryService._staticInstance.get_defaultUserContext(); }
GalleryService.set_defaultSucceededCallback = function(value) { GalleryService._staticInstance.set_defaultSucceededCallback(value); }
GalleryService.get_defaultSucceededCallback = function() { return GalleryService._staticInstance.get_defaultSucceededCallback(); }
GalleryService.set_defaultFailedCallback = function(value) { GalleryService._staticInstance.set_defaultFailedCallback(value); }
GalleryService.get_defaultFailedCallback = function() { return GalleryService._staticInstance.get_defaultFailedCallback(); }
GalleryService.set_path("/wsGalleryService.php");
GalleryService.__construct= function(onSuccess,onFailed,userContext) {GalleryService._staticInstance.__construct(onSuccess,onFailed,userContext); }
GalleryService.getGalleryTitle= function(galleryId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.getGalleryTitle(galleryId,onSuccess,onFailed,userContext); }
GalleryService.getGalleryInfo= function(galleryId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.getGalleryInfo(galleryId,onSuccess,onFailed,userContext); }
GalleryService.getGalleryListByMember= function(memberId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.getGalleryListByMember(memberId,onSuccess,onFailed,userContext); }
GalleryService.getGalleryImages= function(memberId,galleryId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.getGalleryImages(memberId,galleryId,onSuccess,onFailed,userContext); }
GalleryService.createGallery= function(memberId,newTitle,newDescription,bPublic,onSuccess,onFailed,userContext) {GalleryService._staticInstance.createGallery(memberId,newTitle,newDescription,bPublic,onSuccess,onFailed,userContext); }
GalleryService.updateGallery= function(memberId,galleryId,newTitle,newDescription,thumbnailId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.updateGallery(memberId,galleryId,newTitle,newDescription,thumbnailId,onSuccess,onFailed,userContext); }
GalleryService.deleteGallery= function(memberId,galleryId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.deleteGallery(memberId,galleryId,onSuccess,onFailed,userContext); }
GalleryService.updateImageDetails= function(memberId,galleryId,imageId,imageTitle,imageDescription,onSuccess,onFailed,userContext) {GalleryService._staticInstance.updateImageDetails(memberId,galleryId,imageId,imageTitle,imageDescription,onSuccess,onFailed,userContext); }
GalleryService.deleteImage= function(memberId,galleryId,imageId,onSuccess,onFailed,userContext) {GalleryService._staticInstance.deleteImage(memberId,galleryId,imageId,onSuccess,onFailed,userContext); }
GalleryService.getCollectionsList= function(onSuccess,onFailed,userContext) {GalleryService._staticInstance.getCollectionsList(onSuccess,onFailed,userContext); }
GalleryService.getCollectionTypesList= function(onSuccess,onFailed,userContext) {GalleryService._staticInstance.getCollectionTypesList(onSuccess,onFailed,userContext); }
GalleryService.getCollectionGalleryNavBar= function(collectionId,targetDivId,galleryPage,onSuccess,onFailed,userContext) {GalleryService._staticInstance.getCollectionGalleryNavBar(collectionId,targetDivId,galleryPage,onSuccess,onFailed,userContext); }
