var PhotoGallery=function() {
PhotoGallery.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
PhotoGallery.prototype={
GetExhibition:function(exhibitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetExhibition',false,{exhibitionId:exhibitionId},succeededCallback,failedCallback,userContext); },
GetExhibitionJSON:function(exhibitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetExhibitionJSON',false,{exhibitionId:exhibitionId},succeededCallback,failedCallback,userContext); },
GetPhotos:function(exhibitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetPhotos',false,{exhibitionId:exhibitionId},succeededCallback,failedCallback,userContext); },
GetPhotosJSON:function(exhibitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetPhotosJSON',false,{exhibitionId:exhibitionId},succeededCallback,failedCallback,userContext); },
GetPhoto:function(photoId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetPhoto',false,{photoId:photoId},succeededCallback,failedCallback,userContext); },
GetPhotoJSON:function(photoId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetPhotoJSON',false,{photoId:photoId},succeededCallback,failedCallback,userContext); },
GetPhotographer:function(photographerId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetPhotographer',false,{photographerId:photographerId},succeededCallback,failedCallback,userContext); },
GetPhotographerJSON:function(photographerId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetPhotographerJSON',false,{photographerId:photographerId},succeededCallback,failedCallback,userContext); },
GetRooms:function(succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetRooms',false,{},succeededCallback,failedCallback,userContext); },
GetRoomsJSON:function(succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetRoomsJSON',false,{},succeededCallback,failedCallback,userContext); },
GetRoom:function(roomId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetRoom',false,{roomId:roomId},succeededCallback,failedCallback,userContext); },
GetRoomJSON:function(roomId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetRoomJSON',false,{roomId:roomId},succeededCallback,failedCallback,userContext); },
GetRoomByExhibition:function(exhibitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetRoomByExhibition',false,{exhibitionId:exhibitionId},succeededCallback,failedCallback,userContext); },
GetRoomByExhibitionJSON:function(exhibitionId,succeededCallback, failedCallback, userContext) {
return this._invoke(PhotoGallery.get_path(), 'GetRoomByExhibitionJSON',false,{exhibitionId:exhibitionId},succeededCallback,failedCallback,userContext); }}
PhotoGallery.registerClass('PhotoGallery',Sys.Net.WebServiceProxy);
PhotoGallery._staticInstance = new PhotoGallery();
PhotoGallery.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; PhotoGallery._staticInstance._path = value; }
PhotoGallery.get_path = function() { return PhotoGallery._staticInstance._path; }
PhotoGallery.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); }
PhotoGallery._staticInstance._timeout = value; }
PhotoGallery.get_timeout = function() { 
return PhotoGallery._staticInstance._timeout; }
PhotoGallery.set_defaultUserContext = function(value) { 
PhotoGallery._staticInstance._userContext = value; }
PhotoGallery.get_defaultUserContext = function() { 
return PhotoGallery._staticInstance._userContext; }
PhotoGallery.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; PhotoGallery._staticInstance._succeeded = value; }
PhotoGallery.get_defaultSucceededCallback = function() { 
return PhotoGallery._staticInstance._succeeded; }
PhotoGallery.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; PhotoGallery._staticInstance._failed = value; }
PhotoGallery.get_defaultFailedCallback = function() { 
return PhotoGallery._staticInstance._failed; }
PhotoGallery.set_path("/Services/PhotoGallery.asmx");
PhotoGallery.GetExhibition= function(exhibitionId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetExhibition(exhibitionId,onSuccess,onFailed,userContext); }
PhotoGallery.GetExhibitionJSON= function(exhibitionId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetExhibitionJSON(exhibitionId,onSuccess,onFailed,userContext); }
PhotoGallery.GetPhotos= function(exhibitionId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetPhotos(exhibitionId,onSuccess,onFailed,userContext); }
PhotoGallery.GetPhotosJSON= function(exhibitionId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetPhotosJSON(exhibitionId,onSuccess,onFailed,userContext); }
PhotoGallery.GetPhoto= function(photoId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetPhoto(photoId,onSuccess,onFailed,userContext); }
PhotoGallery.GetPhotoJSON= function(photoId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetPhotoJSON(photoId,onSuccess,onFailed,userContext); }
PhotoGallery.GetPhotographer= function(photographerId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetPhotographer(photographerId,onSuccess,onFailed,userContext); }
PhotoGallery.GetPhotographerJSON= function(photographerId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetPhotographerJSON(photographerId,onSuccess,onFailed,userContext); }
PhotoGallery.GetRooms= function(onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetRooms(onSuccess,onFailed,userContext); }
PhotoGallery.GetRoomsJSON= function(onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetRoomsJSON(onSuccess,onFailed,userContext); }
PhotoGallery.GetRoom= function(roomId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetRoom(roomId,onSuccess,onFailed,userContext); }
PhotoGallery.GetRoomJSON= function(roomId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetRoomJSON(roomId,onSuccess,onFailed,userContext); }
PhotoGallery.GetRoomByExhibition= function(exhibitionId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetRoomByExhibition(exhibitionId,onSuccess,onFailed,userContext); }
PhotoGallery.GetRoomByExhibitionJSON= function(exhibitionId,onSuccess,onFailed,userContext) {PhotoGallery._staticInstance.GetRoomByExhibitionJSON(exhibitionId,onSuccess,onFailed,userContext); }
