var RyydWebService=function() {
RyydWebService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
RyydWebService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return RyydWebService._staticInstance.get_path();},
GetAllAlbums:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllAlbums',false,{},succeededCallback,failedCallback,userContext); },
GetAllPhotos:function(InAlbumId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllPhotos',false,{InAlbumId:InAlbumId},succeededCallback,failedCallback,userContext); },
GetPhotoMessages:function(InAlbumId,InPhotoId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPhotoMessages',false,{InAlbumId:InAlbumId,InPhotoId:InPhotoId},succeededCallback,failedCallback,userContext); },
AddPhotoMessage:function(InSessionString,InAlbumId,InPhotoId,InMessageName,InMessageContent,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddPhotoMessage',false,{InSessionString:InSessionString,InAlbumId:InAlbumId,InPhotoId:InPhotoId,InMessageName:InMessageName,InMessageContent:InMessageContent},succeededCallback,failedCallback,userContext); },
GetAllArticles:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllArticles',false,{},succeededCallback,failedCallback,userContext); },
GetArticleMessagesById:function(InArticleId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleMessagesById',false,{InArticleId:InArticleId},succeededCallback,failedCallback,userContext); },
AddArticleMessage:function(InSessionString,InArticleId,InMessageName,InMessageContent,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddArticleMessage',false,{InSessionString:InSessionString,InArticleId:InArticleId,InMessageName:InMessageName,InMessageContent:InMessageContent},succeededCallback,failedCallback,userContext); },
GetArticleYearInfo:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleYearInfo',false,{},succeededCallback,failedCallback,userContext); },
GetArticleByTime:function(InYear,InMonth,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleByTime',false,{InYear:InYear,InMonth:InMonth},succeededCallback,failedCallback,userContext); },
GetArticleTagInfo:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleTagInfo',false,{},succeededCallback,failedCallback,userContext); },
GetArticleByTag:function(InTagName,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleByTag',false,{InTagName:InTagName},succeededCallback,failedCallback,userContext); },
GetAllMessages:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAllMessages',false,{},succeededCallback,failedCallback,userContext); },
AddMessage:function(InSession,InName,InContent,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddMessage',false,{InSession:InSession,InName:InName,InContent:InContent},succeededCallback,failedCallback,userContext); }}
RyydWebService.registerClass('RyydWebService',Sys.Net.WebServiceProxy);
RyydWebService._staticInstance = new RyydWebService();
RyydWebService.set_path = function(value) { RyydWebService._staticInstance.set_path(value); }
RyydWebService.get_path = function() { return RyydWebService._staticInstance.get_path(); }
RyydWebService.set_timeout = function(value) { RyydWebService._staticInstance.set_timeout(value); }
RyydWebService.get_timeout = function() { return RyydWebService._staticInstance.get_timeout(); }
RyydWebService.set_defaultUserContext = function(value) { RyydWebService._staticInstance.set_defaultUserContext(value); }
RyydWebService.get_defaultUserContext = function() { return RyydWebService._staticInstance.get_defaultUserContext(); }
RyydWebService.set_defaultSucceededCallback = function(value) { RyydWebService._staticInstance.set_defaultSucceededCallback(value); }
RyydWebService.get_defaultSucceededCallback = function() { return RyydWebService._staticInstance.get_defaultSucceededCallback(); }
RyydWebService.set_defaultFailedCallback = function(value) { RyydWebService._staticInstance.set_defaultFailedCallback(value); }
RyydWebService.get_defaultFailedCallback = function() { return RyydWebService._staticInstance.get_defaultFailedCallback(); }
RyydWebService.set_path("/RyydWebService.asmx");
RyydWebService.GetAllAlbums= function(onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetAllAlbums(onSuccess,onFailed,userContext); }
RyydWebService.GetAllPhotos= function(InAlbumId,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetAllPhotos(InAlbumId,onSuccess,onFailed,userContext); }
RyydWebService.GetPhotoMessages= function(InAlbumId,InPhotoId,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetPhotoMessages(InAlbumId,InPhotoId,onSuccess,onFailed,userContext); }
RyydWebService.AddPhotoMessage= function(InSessionString,InAlbumId,InPhotoId,InMessageName,InMessageContent,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.AddPhotoMessage(InSessionString,InAlbumId,InPhotoId,InMessageName,InMessageContent,onSuccess,onFailed,userContext); }
RyydWebService.GetAllArticles= function(onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetAllArticles(onSuccess,onFailed,userContext); }
RyydWebService.GetArticleMessagesById= function(InArticleId,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetArticleMessagesById(InArticleId,onSuccess,onFailed,userContext); }
RyydWebService.AddArticleMessage= function(InSessionString,InArticleId,InMessageName,InMessageContent,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.AddArticleMessage(InSessionString,InArticleId,InMessageName,InMessageContent,onSuccess,onFailed,userContext); }
RyydWebService.GetArticleYearInfo= function(onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetArticleYearInfo(onSuccess,onFailed,userContext); }
RyydWebService.GetArticleByTime= function(InYear,InMonth,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetArticleByTime(InYear,InMonth,onSuccess,onFailed,userContext); }
RyydWebService.GetArticleTagInfo= function(onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetArticleTagInfo(onSuccess,onFailed,userContext); }
RyydWebService.GetArticleByTag= function(InTagName,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetArticleByTag(InTagName,onSuccess,onFailed,userContext); }
RyydWebService.GetAllMessages= function(onSuccess,onFailed,userContext) {RyydWebService._staticInstance.GetAllMessages(onSuccess,onFailed,userContext); }
RyydWebService.AddMessage= function(InSession,InName,InContent,onSuccess,onFailed,userContext) {RyydWebService._staticInstance.AddMessage(InSession,InName,InContent,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('RyydLibrary.RyydLibrary');
if (typeof(RyydLibrary.RyydLibrary.AlbumType) === 'undefined') {
RyydLibrary.RyydLibrary.AlbumType=gtc("RyydLibrary.RyydLibrary.AlbumType");
RyydLibrary.RyydLibrary.AlbumType.registerClass('RyydLibrary.RyydLibrary.AlbumType');
}
if (typeof(RyydLibrary.RyydLibrary.PhotoType) === 'undefined') {
RyydLibrary.RyydLibrary.PhotoType=gtc("RyydLibrary.RyydLibrary.PhotoType");
RyydLibrary.RyydLibrary.PhotoType.registerClass('RyydLibrary.RyydLibrary.PhotoType');
}
if (typeof(RyydLibrary.RyydLibrary.AlbumMessageType) === 'undefined') {
RyydLibrary.RyydLibrary.AlbumMessageType=gtc("RyydLibrary.RyydLibrary.AlbumMessageType");
RyydLibrary.RyydLibrary.AlbumMessageType.registerClass('RyydLibrary.RyydLibrary.AlbumMessageType');
}
if (typeof(RyydLibrary.RyydLibrary.ArticleType) === 'undefined') {
RyydLibrary.RyydLibrary.ArticleType=gtc("RyydLibrary.RyydLibrary.ArticleType");
RyydLibrary.RyydLibrary.ArticleType.registerClass('RyydLibrary.RyydLibrary.ArticleType');
}
if (typeof(RyydLibrary.RyydLibrary.ArticleMessageType) === 'undefined') {
RyydLibrary.RyydLibrary.ArticleMessageType=gtc("RyydLibrary.RyydLibrary.ArticleMessageType");
RyydLibrary.RyydLibrary.ArticleMessageType.registerClass('RyydLibrary.RyydLibrary.ArticleMessageType');
}
if (typeof(RyydLibrary.RyydLibrary.MessageType) === 'undefined') {
RyydLibrary.RyydLibrary.MessageType=gtc("RyydLibrary.RyydLibrary.MessageType");
RyydLibrary.RyydLibrary.MessageType.registerClass('RyydLibrary.RyydLibrary.MessageType');
}
