var ArticleUserJoins=function() {
ArticleUserJoins.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
ArticleUserJoins.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return ArticleUserJoins._staticInstance.get_path();},
Echo:function(text,succeededCallback, failedCallback, userContext) {
/// <param name="text" type="String">System.String</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(), 'Echo',false,{text:text},succeededCallback,failedCallback,userContext); },
GetArticleUserJoinCountForArticle:function(articleID,articleUserJoinType,succeededCallback, failedCallback, userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="articleUserJoinType" type="Smoola.BusinessObjects.ArticleUserJoinType">Smoola.BusinessObjects.ArticleUserJoinType</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(), 'GetArticleUserJoinCountForArticle',false,{articleID:articleID,articleUserJoinType:articleUserJoinType},succeededCallback,failedCallback,userContext); },
GetUserArticleUserJoinTypesForArticle:function(articleIDs,succeededCallback, failedCallback, userContext) {
/// <param name="articleIDs" type="Array">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(), 'GetUserArticleUserJoinTypesForArticle',false,{articleIDs:articleIDs},succeededCallback,failedCallback,userContext); },
InsertArticleUserJoin:function(articleID,articleUserJoinType,succeededCallback, failedCallback, userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="articleUserJoinType" type="Smoola.BusinessObjects.ArticleUserJoinType">Smoola.BusinessObjects.ArticleUserJoinType</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(), 'InsertArticleUserJoin',false,{articleID:articleID,articleUserJoinType:articleUserJoinType},succeededCallback,failedCallback,userContext); },
DeleteArticleUserJoin:function(articleID,articleUserJoinType,succeededCallback, failedCallback, userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="articleUserJoinType" type="Smoola.BusinessObjects.ArticleUserJoinType">Smoola.BusinessObjects.ArticleUserJoinType</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(), 'DeleteArticleUserJoin',false,{articleID:articleID,articleUserJoinType:articleUserJoinType},succeededCallback,failedCallback,userContext); }}
ArticleUserJoins.registerClass('ArticleUserJoins',Sys.Net.WebServiceProxy);
ArticleUserJoins._staticInstance = new ArticleUserJoins();
ArticleUserJoins.set_path = function(value) {
ArticleUserJoins._staticInstance.set_path(value); }
ArticleUserJoins.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return ArticleUserJoins._staticInstance.get_path();}
ArticleUserJoins.set_timeout = function(value) {
ArticleUserJoins._staticInstance.set_timeout(value); }
ArticleUserJoins.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return ArticleUserJoins._staticInstance.get_timeout(); }
ArticleUserJoins.set_defaultUserContext = function(value) { 
ArticleUserJoins._staticInstance.set_defaultUserContext(value); }
ArticleUserJoins.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return ArticleUserJoins._staticInstance.get_defaultUserContext(); }
ArticleUserJoins.set_defaultSucceededCallback = function(value) { 
 ArticleUserJoins._staticInstance.set_defaultSucceededCallback(value); }
ArticleUserJoins.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return ArticleUserJoins._staticInstance.get_defaultSucceededCallback(); }
ArticleUserJoins.set_defaultFailedCallback = function(value) { 
ArticleUserJoins._staticInstance.set_defaultFailedCallback(value); }
ArticleUserJoins.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return ArticleUserJoins._staticInstance.get_defaultFailedCallback(); }
ArticleUserJoins.set_path("/WebServices/ArticleUserJoins.asmx");
ArticleUserJoins.Echo= function(text,onSuccess,onFailed,userContext) {
/// <param name="text" type="String">System.String</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>
ArticleUserJoins._staticInstance.Echo(text,onSuccess,onFailed,userContext); }
ArticleUserJoins.GetArticleUserJoinCountForArticle= function(articleID,articleUserJoinType,onSuccess,onFailed,userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="articleUserJoinType" type="Smoola.BusinessObjects.ArticleUserJoinType">Smoola.BusinessObjects.ArticleUserJoinType</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>
ArticleUserJoins._staticInstance.GetArticleUserJoinCountForArticle(articleID,articleUserJoinType,onSuccess,onFailed,userContext); }
ArticleUserJoins.GetUserArticleUserJoinTypesForArticle= function(articleIDs,onSuccess,onFailed,userContext) {
/// <param name="articleIDs" type="Array">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>
ArticleUserJoins._staticInstance.GetUserArticleUserJoinTypesForArticle(articleIDs,onSuccess,onFailed,userContext); }
ArticleUserJoins.InsertArticleUserJoin= function(articleID,articleUserJoinType,onSuccess,onFailed,userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="articleUserJoinType" type="Smoola.BusinessObjects.ArticleUserJoinType">Smoola.BusinessObjects.ArticleUserJoinType</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>
ArticleUserJoins._staticInstance.InsertArticleUserJoin(articleID,articleUserJoinType,onSuccess,onFailed,userContext); }
ArticleUserJoins.DeleteArticleUserJoin= function(articleID,articleUserJoinType,onSuccess,onFailed,userContext) {
/// <param name="articleID" type="Number">System.Int32</param>
/// <param name="articleUserJoinType" type="Smoola.BusinessObjects.ArticleUserJoinType">Smoola.BusinessObjects.ArticleUserJoinType</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>
ArticleUserJoins._staticInstance.DeleteArticleUserJoin(articleID,articleUserJoinType,onSuccess,onFailed,userContext); }
Type.registerNamespace('Smoola.BusinessObjects');
if (typeof(Smoola.BusinessObjects.ArticleUserJoinType) === 'undefined') {
Smoola.BusinessObjects.ArticleUserJoinType = function() { throw Error.invalidOperation(); }
Smoola.BusinessObjects.ArticleUserJoinType.prototype = {Licked: 1,Flagged: 2,AteIt: 3,Favorited: 4,Inaccurate: 5,WillEatIt: 6,Invited: 100,Attending: 101,NotAttending: 102,MaybeAttending: 103,Blocked: 104,Canceled: 105,Visited: 200,ContestWinner: 201}
Smoola.BusinessObjects.ArticleUserJoinType.registerEnum('Smoola.BusinessObjects.ArticleUserJoinType', true);
}
