Type.registerNamespace('EvNet.Web.Services');
EvNet.Web.Services.Posts=function() {
EvNet.Web.Services.Posts.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
EvNet.Web.Services.Posts.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return EvNet.Web.Services.Posts._staticInstance.get_path();},
GetPostWithCredentials:function(entryID,userName,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetPostWithCredentials',false,{entryID:entryID,userName:userName,password:password},succeededCallback,failedCallback,userContext); },
GetDraftsForTag:function(tag,userName,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDraftsForTag',false,{tag:tag,userName:userName,password:password},succeededCallback,failedCallback,userContext); },
GetDraftsForUser:function(userName,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetDraftsForUser',false,{userName:userName,password:password},succeededCallback,failedCallback,userContext); },
AddTagToPost:function(post,tag,sequence,userName,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddTagToPost',false,{post:post,tag:tag,sequence:sequence,userName:userName,password:password},succeededCallback,failedCallback,userContext); },
RemoveTagFromPost:function(post,tag,userName,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveTagFromPost',false,{post:post,tag:tag,userName:userName,password:password},succeededCallback,failedCallback,userContext); },
AddLink:function(EntryID,Title,Path,Duration,LinkTypeID,LinkFormatID,FileSize,Username,Password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddLink',false,{EntryID:EntryID,Title:Title,Path:Path,Duration:Duration,LinkTypeID:LinkTypeID,LinkFormatID:LinkFormatID,FileSize:FileSize,Username:Username,Password:Password},succeededCallback,failedCallback,userContext); },
AddObjectLink:function(EntryID,Title,Duration,LinkTypeID,LinkFormatID,content,contentType,height,width,Username,Password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddObjectLink',false,{EntryID:EntryID,Title:Title,Duration:Duration,LinkTypeID:LinkTypeID,LinkFormatID:LinkFormatID,content:content,contentType:contentType,height:height,width:width,Username:Username,Password:Password},succeededCallback,failedCallback,userContext); },
AddPost:function(post,associatedPostID,userid,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddPost',false,{post:post,associatedPostID:associatedPostID,userid:userid,password:password},succeededCallback,failedCallback,userContext); },
EditComment:function(post,username,password,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'EditComment',false,{post:post,username:username,password:password},succeededCallback,failedCallback,userContext); }}
EvNet.Web.Services.Posts.registerClass('EvNet.Web.Services.Posts',Sys.Net.WebServiceProxy);
EvNet.Web.Services.Posts._staticInstance = new EvNet.Web.Services.Posts();
EvNet.Web.Services.Posts.set_path = function(value) { EvNet.Web.Services.Posts._staticInstance.set_path(value); }
EvNet.Web.Services.Posts.get_path = function() { return EvNet.Web.Services.Posts._staticInstance.get_path(); }
EvNet.Web.Services.Posts.set_timeout = function(value) { EvNet.Web.Services.Posts._staticInstance.set_timeout(value); }
EvNet.Web.Services.Posts.get_timeout = function() { return EvNet.Web.Services.Posts._staticInstance.get_timeout(); }
EvNet.Web.Services.Posts.set_defaultUserContext = function(value) { EvNet.Web.Services.Posts._staticInstance.set_defaultUserContext(value); }
EvNet.Web.Services.Posts.get_defaultUserContext = function() { return EvNet.Web.Services.Posts._staticInstance.get_defaultUserContext(); }
EvNet.Web.Services.Posts.set_defaultSucceededCallback = function(value) { EvNet.Web.Services.Posts._staticInstance.set_defaultSucceededCallback(value); }
EvNet.Web.Services.Posts.get_defaultSucceededCallback = function() { return EvNet.Web.Services.Posts._staticInstance.get_defaultSucceededCallback(); }
EvNet.Web.Services.Posts.set_defaultFailedCallback = function(value) { EvNet.Web.Services.Posts._staticInstance.set_defaultFailedCallback(value); }
EvNet.Web.Services.Posts.get_defaultFailedCallback = function() { return EvNet.Web.Services.Posts._staticInstance.get_defaultFailedCallback(); }
EvNet.Web.Services.Posts.set_path("/Services/Posts.asmx");
EvNet.Web.Services.Posts.GetPostWithCredentials= function(entryID,userName,password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.GetPostWithCredentials(entryID,userName,password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.GetDraftsForTag= function(tag,userName,password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.GetDraftsForTag(tag,userName,password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.GetDraftsForUser= function(userName,password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.GetDraftsForUser(userName,password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.AddTagToPost= function(post,tag,sequence,userName,password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.AddTagToPost(post,tag,sequence,userName,password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.RemoveTagFromPost= function(post,tag,userName,password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.RemoveTagFromPost(post,tag,userName,password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.AddLink= function(EntryID,Title,Path,Duration,LinkTypeID,LinkFormatID,FileSize,Username,Password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.AddLink(EntryID,Title,Path,Duration,LinkTypeID,LinkFormatID,FileSize,Username,Password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.AddObjectLink= function(EntryID,Title,Duration,LinkTypeID,LinkFormatID,content,contentType,height,width,Username,Password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.AddObjectLink(EntryID,Title,Duration,LinkTypeID,LinkFormatID,content,contentType,height,width,Username,Password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.AddPost= function(post,associatedPostID,userid,password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.AddPost(post,associatedPostID,userid,password,onSuccess,onFailed,userContext); }
EvNet.Web.Services.Posts.EditComment= function(post,username,password,onSuccess,onFailed,userContext) {EvNet.Web.Services.Posts._staticInstance.EditComment(post,username,password,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('EvNet.UI');
if (typeof(EvNet.UI.Post) === 'undefined') {
EvNet.UI.Post=gtc("EvNet.UI.Post");
EvNet.UI.Post.registerClass('EvNet.UI.Post');
}
if (typeof(EvNet.UI.Tag) === 'undefined') {
EvNet.UI.Tag=gtc("EvNet.UI.Tag");
EvNet.UI.Tag.registerClass('EvNet.UI.Tag');
}
if (typeof(EvNet.UI.Link) === 'undefined') {
EvNet.UI.Link=gtc("EvNet.UI.Link");
EvNet.UI.Link.registerClass('EvNet.UI.Link');
}
