Type.registerNamespace('AjaxService');
AjaxService.Posts=function() {
AjaxService.Posts.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AjaxService.Posts.prototype={
GetPrivateContent:function(param,succeededCallback, failedCallback, userContext) {
return this._invoke(AjaxService.Posts.get_path(), 'GetPrivateContent',false,{param:param},succeededCallback,failedCallback,userContext); },
SetDeleteMovie:function(mediaId,mediaKey,succeededCallback, failedCallback, userContext) {
return this._invoke(AjaxService.Posts.get_path(), 'SetDeleteMovie',false,{mediaId:mediaId,mediaKey:mediaKey},succeededCallback,failedCallback,userContext); }}
AjaxService.Posts.registerClass('AjaxService.Posts',Sys.Net.WebServiceProxy);
AjaxService.Posts._staticInstance = new AjaxService.Posts();
AjaxService.Posts.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; AjaxService.Posts._staticInstance._path = value; }
AjaxService.Posts.get_path = function() { return AjaxService.Posts._staticInstance._path; }
AjaxService.Posts.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
AjaxService.Posts._staticInstance._timeout = value; }
AjaxService.Posts.get_timeout = function() { 
return AjaxService.Posts._staticInstance._timeout; }
AjaxService.Posts.set_defaultUserContext = function(value) { 
AjaxService.Posts._staticInstance._userContext = value; }
AjaxService.Posts.get_defaultUserContext = function() { 
return AjaxService.Posts._staticInstance._userContext; }
AjaxService.Posts.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; AjaxService.Posts._staticInstance._succeeded = value; }
AjaxService.Posts.get_defaultSucceededCallback = function() { 
return AjaxService.Posts._staticInstance._succeeded; }
AjaxService.Posts.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; AjaxService.Posts._staticInstance._failed = value; }
AjaxService.Posts.get_defaultFailedCallback = function() { 
return AjaxService.Posts._staticInstance._failed; }
AjaxService.Posts.set_path("/WebService/AjaxService.asmx");
AjaxService.Posts.GetPrivateContent= function(param,onSuccess,onFailed,userContext) {AjaxService.Posts._staticInstance.GetPrivateContent(param,onSuccess,onFailed,userContext); }
AjaxService.Posts.SetDeleteMovie= function(mediaId,mediaKey,onSuccess,onFailed,userContext) {AjaxService.Posts._staticInstance.SetDeleteMovie(mediaId,mediaKey,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(AjaxService.PostParams) === 'undefined') {
AjaxService.PostParams=gtc("AjaxService.PostParams");
AjaxService.PostParams.registerClass('AjaxService.PostParams');
}
