Type.registerNamespace('Sharaton.BusinessLayer.WebServices');
Sharaton.BusinessLayer.WebServices.Photos=function() {
Sharaton.BusinessLayer.WebServices.Photos.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Sharaton.BusinessLayer.WebServices.Photos.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Sharaton.BusinessLayer.WebServices.Photos._staticInstance.get_path();},
ListAllAlbums:function(succeededCallback, failedCallback, userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'ListAllAlbums',false,{},succeededCallback,failedCallback,userContext); },
ListAllPhotosInAlbum:function(AlbumID,succeededCallback, failedCallback, userContext) {
/// <param name="AlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'ListAllPhotosInAlbum',false,{AlbumID:AlbumID},succeededCallback,failedCallback,userContext); },
GetAlbumSlideshowImages:function(AlbumID,succeededCallback, failedCallback, userContext) {
/// <param name="AlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetAlbumSlideshowImages',false,{AlbumID:AlbumID},succeededCallback,failedCallback,userContext); }}
Sharaton.BusinessLayer.WebServices.Photos.registerClass('Sharaton.BusinessLayer.WebServices.Photos',Sys.Net.WebServiceProxy);
Sharaton.BusinessLayer.WebServices.Photos._staticInstance = new Sharaton.BusinessLayer.WebServices.Photos();
Sharaton.BusinessLayer.WebServices.Photos.set_path = function(value) {
Sharaton.BusinessLayer.WebServices.Photos._staticInstance.set_path(value); }
Sharaton.BusinessLayer.WebServices.Photos.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Sharaton.BusinessLayer.WebServices.Photos._staticInstance.get_path();}
Sharaton.BusinessLayer.WebServices.Photos.set_timeout = function(value) {
Sharaton.BusinessLayer.WebServices.Photos._staticInstance.set_timeout(value); }
Sharaton.BusinessLayer.WebServices.Photos.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Sharaton.BusinessLayer.WebServices.Photos._staticInstance.get_timeout(); }
Sharaton.BusinessLayer.WebServices.Photos.set_defaultUserContext = function(value) { 
Sharaton.BusinessLayer.WebServices.Photos._staticInstance.set_defaultUserContext(value); }
Sharaton.BusinessLayer.WebServices.Photos.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Sharaton.BusinessLayer.WebServices.Photos._staticInstance.get_defaultUserContext(); }
Sharaton.BusinessLayer.WebServices.Photos.set_defaultSucceededCallback = function(value) { 
 Sharaton.BusinessLayer.WebServices.Photos._staticInstance.set_defaultSucceededCallback(value); }
Sharaton.BusinessLayer.WebServices.Photos.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Sharaton.BusinessLayer.WebServices.Photos._staticInstance.get_defaultSucceededCallback(); }
Sharaton.BusinessLayer.WebServices.Photos.set_defaultFailedCallback = function(value) { 
Sharaton.BusinessLayer.WebServices.Photos._staticInstance.set_defaultFailedCallback(value); }
Sharaton.BusinessLayer.WebServices.Photos.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Sharaton.BusinessLayer.WebServices.Photos._staticInstance.get_defaultFailedCallback(); }
Sharaton.BusinessLayer.WebServices.Photos.set_path("/Site_Services/Photos.asmx");
Sharaton.BusinessLayer.WebServices.Photos.ListAllAlbums= function(onSuccess,onFailed,userContext) {
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Sharaton.BusinessLayer.WebServices.Photos._staticInstance.ListAllAlbums(onSuccess,onFailed,userContext); }
Sharaton.BusinessLayer.WebServices.Photos.ListAllPhotosInAlbum= function(AlbumID,onSuccess,onFailed,userContext) {
/// <param name="AlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Sharaton.BusinessLayer.WebServices.Photos._staticInstance.ListAllPhotosInAlbum(AlbumID,onSuccess,onFailed,userContext); }
Sharaton.BusinessLayer.WebServices.Photos.GetAlbumSlideshowImages= function(AlbumID,onSuccess,onFailed,userContext) {
/// <param name="AlbumID" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
Sharaton.BusinessLayer.WebServices.Photos._staticInstance.GetAlbumSlideshowImages(AlbumID,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('AjaxControlToolkit');
if (typeof(AjaxControlToolkit.Slide) === 'undefined') {
AjaxControlToolkit.Slide=gtc("AjaxControlToolkit.Slide");
AjaxControlToolkit.Slide.registerClass('AjaxControlToolkit.Slide');
}

