Type.registerNamespace('Nrk.Untouched.WebService');
Nrk.Untouched.WebService.ArticleService=function() {
Nrk.Untouched.WebService.ArticleService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Nrk.Untouched.WebService.ArticleService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Nrk.Untouched.WebService.ArticleService._staticInstance.get_path();},
GetArticleList:function(parentArticleId,prevArticleId,numberToGet,aboutId,articletypeid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleList',false,{parentArticleId:parentArticleId,prevArticleId:prevArticleId,numberToGet:numberToGet,aboutId:aboutId,articletypeid:articletypeid},succeededCallback,failedCallback,userContext); },
AllowAnonymous:function(articletypeid,aboutId,newValue,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AllowAnonymous',false,{articletypeid:articletypeid,aboutId:aboutId,newValue:newValue},succeededCallback,failedCallback,userContext); },
AddArticle:function(title,username,email,homepage,body,parentarticleid,aboutid,articletypeid,ticks,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddArticle',false,{title:title,username:username,email:email,homepage:homepage,body:body,parentarticleid:parentarticleid,aboutid:aboutid,articletypeid:articletypeid,ticks:ticks},succeededCallback,failedCallback,userContext); },
GetArticleAsHtml:function(articleid,allowAnonymous,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetArticleAsHtml',false,{articleid:articleid,allowAnonymous:allowAnonymous},succeededCallback,failedCallback,userContext); },
DeleteArticle:function(subjectid,articleid,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteArticle',false,{subjectid:subjectid,articleid:articleid},succeededCallback,failedCallback,userContext); }}
Nrk.Untouched.WebService.ArticleService.registerClass('Nrk.Untouched.WebService.ArticleService',Sys.Net.WebServiceProxy);
Nrk.Untouched.WebService.ArticleService._staticInstance = new Nrk.Untouched.WebService.ArticleService();
Nrk.Untouched.WebService.ArticleService.set_path = function(value) { Nrk.Untouched.WebService.ArticleService._staticInstance.set_path(value); }
Nrk.Untouched.WebService.ArticleService.get_path = function() { return Nrk.Untouched.WebService.ArticleService._staticInstance.get_path(); }
Nrk.Untouched.WebService.ArticleService.set_timeout = function(value) { Nrk.Untouched.WebService.ArticleService._staticInstance.set_timeout(value); }
Nrk.Untouched.WebService.ArticleService.get_timeout = function() { return Nrk.Untouched.WebService.ArticleService._staticInstance.get_timeout(); }
Nrk.Untouched.WebService.ArticleService.set_defaultUserContext = function(value) { Nrk.Untouched.WebService.ArticleService._staticInstance.set_defaultUserContext(value); }
Nrk.Untouched.WebService.ArticleService.get_defaultUserContext = function() { return Nrk.Untouched.WebService.ArticleService._staticInstance.get_defaultUserContext(); }
Nrk.Untouched.WebService.ArticleService.set_defaultSucceededCallback = function(value) { Nrk.Untouched.WebService.ArticleService._staticInstance.set_defaultSucceededCallback(value); }
Nrk.Untouched.WebService.ArticleService.get_defaultSucceededCallback = function() { return Nrk.Untouched.WebService.ArticleService._staticInstance.get_defaultSucceededCallback(); }
Nrk.Untouched.WebService.ArticleService.set_defaultFailedCallback = function(value) { Nrk.Untouched.WebService.ArticleService._staticInstance.set_defaultFailedCallback(value); }
Nrk.Untouched.WebService.ArticleService.get_defaultFailedCallback = function() { return Nrk.Untouched.WebService.ArticleService._staticInstance.get_defaultFailedCallback(); }
Nrk.Untouched.WebService.ArticleService.set_enableJsonp = function(value) { Nrk.Untouched.WebService.ArticleService._staticInstance.set_enableJsonp(value); }
Nrk.Untouched.WebService.ArticleService.get_enableJsonp = function() { return Nrk.Untouched.WebService.ArticleService._staticInstance.get_enableJsonp(); }
Nrk.Untouched.WebService.ArticleService.set_jsonpCallbackParameter = function(value) { Nrk.Untouched.WebService.ArticleService._staticInstance.set_jsonpCallbackParameter(value); }
Nrk.Untouched.WebService.ArticleService.get_jsonpCallbackParameter = function() { return Nrk.Untouched.WebService.ArticleService._staticInstance.get_jsonpCallbackParameter(); }
Nrk.Untouched.WebService.ArticleService.set_path("/urort/_websvc/ArticleService.asmx");
Nrk.Untouched.WebService.ArticleService.GetArticleList= function(parentArticleId,prevArticleId,numberToGet,aboutId,articletypeid,onSuccess,onFailed,userContext) {Nrk.Untouched.WebService.ArticleService._staticInstance.GetArticleList(parentArticleId,prevArticleId,numberToGet,aboutId,articletypeid,onSuccess,onFailed,userContext); }
Nrk.Untouched.WebService.ArticleService.AllowAnonymous= function(articletypeid,aboutId,newValue,onSuccess,onFailed,userContext) {Nrk.Untouched.WebService.ArticleService._staticInstance.AllowAnonymous(articletypeid,aboutId,newValue,onSuccess,onFailed,userContext); }
Nrk.Untouched.WebService.ArticleService.AddArticle= function(title,username,email,homepage,body,parentarticleid,aboutid,articletypeid,ticks,onSuccess,onFailed,userContext) {Nrk.Untouched.WebService.ArticleService._staticInstance.AddArticle(title,username,email,homepage,body,parentarticleid,aboutid,articletypeid,ticks,onSuccess,onFailed,userContext); }
Nrk.Untouched.WebService.ArticleService.GetArticleAsHtml= function(articleid,allowAnonymous,onSuccess,onFailed,userContext) {Nrk.Untouched.WebService.ArticleService._staticInstance.GetArticleAsHtml(articleid,allowAnonymous,onSuccess,onFailed,userContext); }
Nrk.Untouched.WebService.ArticleService.DeleteArticle= function(subjectid,articleid,onSuccess,onFailed,userContext) {Nrk.Untouched.WebService.ArticleService._staticInstance.DeleteArticle(subjectid,articleid,onSuccess,onFailed,userContext); }

