Type.registerNamespace('InMaven.Web');
InMaven.Web.SpoutAjax=function() {
InMaven.Web.SpoutAjax.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
InMaven.Web.SpoutAjax.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return InMaven.Web.SpoutAjax._staticInstance.get_path();},
CreateBlogPost:function(postTitle,postBody,memberID,filmID,blogCategory,succeededCallback, failedCallback, userContext) {
/// <param name="postTitle" type="String">System.String</param>
/// <param name="postBody" type="String">System.String</param>
/// <param name="memberID" type="Number">System.Int32</param>
/// <param name="filmID" type="Number">System.Int32</param>
/// <param name="blogCategory" type="InMaven.Web.Utility.Constants_BlogCategoryEnum">InMaven.Web.Utility.Constants+BlogCategoryEnum</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(), 'CreateBlogPost',false,{postTitle:postTitle,postBody:postBody,memberID:memberID,filmID:filmID,blogCategory:blogCategory},succeededCallback,failedCallback,userContext); }}
InMaven.Web.SpoutAjax.registerClass('InMaven.Web.SpoutAjax',Sys.Net.WebServiceProxy);
InMaven.Web.SpoutAjax._staticInstance = new InMaven.Web.SpoutAjax();
InMaven.Web.SpoutAjax.set_path = function(value) {
InMaven.Web.SpoutAjax._staticInstance.set_path(value); }
InMaven.Web.SpoutAjax.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return InMaven.Web.SpoutAjax._staticInstance.get_path();}
InMaven.Web.SpoutAjax.set_timeout = function(value) {
InMaven.Web.SpoutAjax._staticInstance.set_timeout(value); }
InMaven.Web.SpoutAjax.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return InMaven.Web.SpoutAjax._staticInstance.get_timeout(); }
InMaven.Web.SpoutAjax.set_defaultUserContext = function(value) { 
InMaven.Web.SpoutAjax._staticInstance.set_defaultUserContext(value); }
InMaven.Web.SpoutAjax.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return InMaven.Web.SpoutAjax._staticInstance.get_defaultUserContext(); }
InMaven.Web.SpoutAjax.set_defaultSucceededCallback = function(value) { 
 InMaven.Web.SpoutAjax._staticInstance.set_defaultSucceededCallback(value); }
InMaven.Web.SpoutAjax.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return InMaven.Web.SpoutAjax._staticInstance.get_defaultSucceededCallback(); }
InMaven.Web.SpoutAjax.set_defaultFailedCallback = function(value) { 
InMaven.Web.SpoutAjax._staticInstance.set_defaultFailedCallback(value); }
InMaven.Web.SpoutAjax.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return InMaven.Web.SpoutAjax._staticInstance.get_defaultFailedCallback(); }
InMaven.Web.SpoutAjax.set_path("/SpoutAjax.asmx");
InMaven.Web.SpoutAjax.CreateBlogPost= function(postTitle,postBody,memberID,filmID,blogCategory,onSuccess,onFailed,userContext) {
/// <param name="postTitle" type="String">System.String</param>
/// <param name="postBody" type="String">System.String</param>
/// <param name="memberID" type="Number">System.Int32</param>
/// <param name="filmID" type="Number">System.Int32</param>
/// <param name="blogCategory" type="InMaven.Web.Utility.Constants_BlogCategoryEnum">InMaven.Web.Utility.Constants+BlogCategoryEnum</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>
InMaven.Web.SpoutAjax._staticInstance.CreateBlogPost(postTitle,postBody,memberID,filmID,blogCategory,onSuccess,onFailed,userContext); }
Type.registerNamespace('InMaven.Web.Utility');
if (typeof(InMaven.Web.Utility.BlogCategoryEnum) === 'undefined') {
InMaven.Web.Utility.BlogCategoryEnum = function() { throw Error.invalidOperation(); }
InMaven.Web.Utility.BlogCategoryEnum.prototype = {None: 0,Comment: 1,Review: 2}
InMaven.Web.Utility.BlogCategoryEnum.registerEnum('InMaven.Web.Utility.BlogCategoryEnum', true);
}
