Type.registerNamespace('WebPersonSpace.WebServices');
WebPersonSpace.WebServices.Toc=function() {
WebPersonSpace.WebServices.Toc.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebPersonSpace.WebServices.Toc.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebPersonSpace.WebServices.Toc._staticInstance.get_path();},
DeletePrepareLessonsDiscuss:function(discussId,tocid,page,pagesize,succeededCallback, failedCallback, userContext) {
/// <param name="discussId" type="Number">System.Int32</param>
/// <param name="tocid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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(), 'DeletePrepareLessonsDiscuss',false,{discussId:discussId,tocid:tocid,page:page,pagesize:pagesize},succeededCallback,failedCallback,userContext); },
DeleteSubjectDocDiscuss:function(discussId,docid,page,pagesize,succeededCallback, failedCallback, userContext) {
/// <param name="discussId" type="Number">System.Int32</param>
/// <param name="docid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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(), 'DeleteSubjectDocDiscuss',false,{discussId:discussId,docid:docid,page:page,pagesize:pagesize},succeededCallback,failedCallback,userContext); },
DeleteSubjectDoc:function(docid,succeededCallback, failedCallback, userContext) {
/// <param name="docid" type="Number">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(), 'DeleteSubjectDoc',false,{docid:docid},succeededCallback,failedCallback,userContext); },
GetPrepareLessonsNote:function(tocid,succeededCallback, failedCallback, userContext) {
/// <param name="tocid" type="Number">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(), 'GetPrepareLessonsNote',false,{tocid:tocid},succeededCallback,failedCallback,userContext); },
GetSubjectDoc:function(docid,succeededCallback, failedCallback, userContext) {
/// <param name="docid" type="Number">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(), 'GetSubjectDoc',false,{docid:docid},succeededCallback,failedCallback,userContext); },
GetPrepareLessonsDiscussList:function(tocid,page,pagesize,succeededCallback, failedCallback, userContext) {
/// <param name="tocid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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(), 'GetPrepareLessonsDiscussList',false,{tocid:tocid,page:page,pagesize:pagesize},succeededCallback,failedCallback,userContext); },
GetSubjectDocDiscussList:function(docid,page,pagesize,succeededCallback, failedCallback, userContext) {
/// <param name="docid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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(), 'GetSubjectDocDiscussList',false,{docid:docid,page:page,pagesize:pagesize},succeededCallback,failedCallback,userContext); },
GetSubjectDocList:function(tocid,dockid,subjectid,page,pagesize,succeededCallback, failedCallback, userContext) {
/// <param name="tocid" type="Number">System.Int32</param>
/// <param name="dockid" type="Number">System.Int32</param>
/// <param name="subjectid" type="String">System.String</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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(), 'GetSubjectDocList',false,{tocid:tocid,dockid:dockid,subjectid:subjectid,page:page,pagesize:pagesize},succeededCallback,failedCallback,userContext); },
GetDockToc:function(dockId,tocLb,tocId,t,succeededCallback, failedCallback, userContext) {
/// <param name="dockId" type="Number">System.Int32</param>
/// <param name="tocLb" type="Number">System.Int32</param>
/// <param name="tocId" type="Number">System.Int32</param>
/// <param name="t" type="Number">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(), 'GetDockToc',false,{dockId:dockId,tocLb:tocLb,tocId:tocId,t:t},succeededCallback,failedCallback,userContext); }}
WebPersonSpace.WebServices.Toc.registerClass('WebPersonSpace.WebServices.Toc',Sys.Net.WebServiceProxy);
WebPersonSpace.WebServices.Toc._staticInstance = new WebPersonSpace.WebServices.Toc();
WebPersonSpace.WebServices.Toc.set_path = function(value) {
WebPersonSpace.WebServices.Toc._staticInstance.set_path(value); }
WebPersonSpace.WebServices.Toc.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebPersonSpace.WebServices.Toc._staticInstance.get_path();}
WebPersonSpace.WebServices.Toc.set_timeout = function(value) {
WebPersonSpace.WebServices.Toc._staticInstance.set_timeout(value); }
WebPersonSpace.WebServices.Toc.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebPersonSpace.WebServices.Toc._staticInstance.get_timeout(); }
WebPersonSpace.WebServices.Toc.set_defaultUserContext = function(value) { 
WebPersonSpace.WebServices.Toc._staticInstance.set_defaultUserContext(value); }
WebPersonSpace.WebServices.Toc.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebPersonSpace.WebServices.Toc._staticInstance.get_defaultUserContext(); }
WebPersonSpace.WebServices.Toc.set_defaultSucceededCallback = function(value) { 
 WebPersonSpace.WebServices.Toc._staticInstance.set_defaultSucceededCallback(value); }
WebPersonSpace.WebServices.Toc.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebPersonSpace.WebServices.Toc._staticInstance.get_defaultSucceededCallback(); }
WebPersonSpace.WebServices.Toc.set_defaultFailedCallback = function(value) { 
WebPersonSpace.WebServices.Toc._staticInstance.set_defaultFailedCallback(value); }
WebPersonSpace.WebServices.Toc.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebPersonSpace.WebServices.Toc._staticInstance.get_defaultFailedCallback(); }
WebPersonSpace.WebServices.Toc.set_path("/WebServices/Toc.asmx");
WebPersonSpace.WebServices.Toc.DeletePrepareLessonsDiscuss= function(discussId,tocid,page,pagesize,onSuccess,onFailed,userContext) {
/// <param name="discussId" type="Number">System.Int32</param>
/// <param name="tocid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.DeletePrepareLessonsDiscuss(discussId,tocid,page,pagesize,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.DeleteSubjectDocDiscuss= function(discussId,docid,page,pagesize,onSuccess,onFailed,userContext) {
/// <param name="discussId" type="Number">System.Int32</param>
/// <param name="docid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.DeleteSubjectDocDiscuss(discussId,docid,page,pagesize,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.DeleteSubjectDoc= function(docid,onSuccess,onFailed,userContext) {
/// <param name="docid" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.DeleteSubjectDoc(docid,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.GetPrepareLessonsNote= function(tocid,onSuccess,onFailed,userContext) {
/// <param name="tocid" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.GetPrepareLessonsNote(tocid,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.GetSubjectDoc= function(docid,onSuccess,onFailed,userContext) {
/// <param name="docid" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.GetSubjectDoc(docid,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.GetPrepareLessonsDiscussList= function(tocid,page,pagesize,onSuccess,onFailed,userContext) {
/// <param name="tocid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.GetPrepareLessonsDiscussList(tocid,page,pagesize,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.GetSubjectDocDiscussList= function(docid,page,pagesize,onSuccess,onFailed,userContext) {
/// <param name="docid" type="Number">System.Int32</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.GetSubjectDocDiscussList(docid,page,pagesize,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.GetSubjectDocList= function(tocid,dockid,subjectid,page,pagesize,onSuccess,onFailed,userContext) {
/// <param name="tocid" type="Number">System.Int32</param>
/// <param name="dockid" type="Number">System.Int32</param>
/// <param name="subjectid" type="String">System.String</param>
/// <param name="page" type="Number">System.Int32</param>
/// <param name="pagesize" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.GetSubjectDocList(tocid,dockid,subjectid,page,pagesize,onSuccess,onFailed,userContext); }
WebPersonSpace.WebServices.Toc.GetDockToc= function(dockId,tocLb,tocId,t,onSuccess,onFailed,userContext) {
/// <param name="dockId" type="Number">System.Int32</param>
/// <param name="tocLb" type="Number">System.Int32</param>
/// <param name="tocId" type="Number">System.Int32</param>
/// <param name="t" type="Number">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>
WebPersonSpace.WebServices.Toc._staticInstance.GetDockToc(dockId,tocLb,tocId,t,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebPersonSpace.WebServices.SubjectDocDiscussList) === 'undefined') {
WebPersonSpace.WebServices.SubjectDocDiscussList=gtc("WebPersonSpace.WebServices.SubjectDocDiscussList");
WebPersonSpace.WebServices.SubjectDocDiscussList.registerClass('WebPersonSpace.WebServices.SubjectDocDiscussList');
}
if (typeof(WebPersonSpace.WebServices.SubjectDoc) === 'undefined') {
WebPersonSpace.WebServices.SubjectDoc=gtc("WebPersonSpace.WebServices.SubjectDoc");
WebPersonSpace.WebServices.SubjectDoc.registerClass('WebPersonSpace.WebServices.SubjectDoc');
}
if (typeof(WebPersonSpace.WebServices.SubjectDocList) === 'undefined') {
WebPersonSpace.WebServices.SubjectDocList=gtc("WebPersonSpace.WebServices.SubjectDocList");
WebPersonSpace.WebServices.SubjectDocList.registerClass('WebPersonSpace.WebServices.SubjectDocList');
}
if (typeof(WebPersonSpace.WebServices.DockToc) === 'undefined') {
WebPersonSpace.WebServices.DockToc=gtc("WebPersonSpace.WebServices.DockToc");
WebPersonSpace.WebServices.DockToc.registerClass('WebPersonSpace.WebServices.DockToc');
}

