addNamespace("School.Components.BusApp.Teacher");
School.Components.BusApp.Teacher.ExternArea_class = Class.create();
Object.extend(School.Components.BusApp.Teacher.ExternArea_class.prototype, Object.extend(new AjaxPro.AjaxClass(), {
	GetPublishHouseData: function(Grade, Sys_SubjectId, BookCategory) {
		return this.invoke("GetPublishHouseData", {"Grade":Grade, "Sys_SubjectId":Sys_SubjectId, "BookCategory":BookCategory}, this.GetPublishHouseData.getArguments().slice(3));
	},
	GetPublishHouseDataTwo: function(Grade, Sys_SubjectId, BookCategory, PublishHouseId) {
		return this.invoke("GetPublishHouseDataTwo", {"Grade":Grade, "Sys_SubjectId":Sys_SubjectId, "BookCategory":BookCategory, "PublishHouseId":PublishHouseId}, this.GetPublishHouseDataTwo.getArguments().slice(4));
	},
	GetPublishListData: function() {
		return this.invoke("GetPublishListData", {}, this.GetPublishListData.getArguments().slice(0));
	},
	GetTeachingPublishHouseData: function(Grade, Sys_SubjectId, BookCategory) {
		return this.invoke("GetTeachingPublishHouseData", {"Grade":Grade, "Sys_SubjectId":Sys_SubjectId, "BookCategory":BookCategory}, this.GetTeachingPublishHouseData.getArguments().slice(3));
	},
	GetPublishHouseForTeachingMaterial: function(Grade, Sys_SubjectId, BookCategory) {
		return this.invoke("GetPublishHouseForTeachingMaterial", {"Grade":Grade, "Sys_SubjectId":Sys_SubjectId, "BookCategory":BookCategory}, this.GetPublishHouseForTeachingMaterial.getArguments().slice(3));
	},
	GetChapterData: function(TeachOrSynId, ChapterId, Cate, ShowOrHideChapterEdit, InsertPrivilege, ModPrivilege, DelPrivilege, CurrentChapterId, ShowSelChapterSpan, ChapterType) {
		return this.invoke("GetChapterData", {"TeachOrSynId":TeachOrSynId, "ChapterId":ChapterId, "Cate":Cate, "ShowOrHideChapterEdit":ShowOrHideChapterEdit, "InsertPrivilege":InsertPrivilege, "ModPrivilege":ModPrivilege, "DelPrivilege":DelPrivilege, "CurrentChapterId":CurrentChapterId, "ShowSelChapterSpan":ShowSelChapterSpan, "ChapterType":ChapterType}, this.GetChapterData.getArguments().slice(10));
	},
	GetParentParentChapterId: function(ChapterId, ChapterType) {
		return this.invoke("GetParentParentChapterId", {"ChapterId":ChapterId, "ChapterType":ChapterType}, this.GetParentParentChapterId.getArguments().slice(2));
	},
	GetPreviousChapterList: function(ChapterId, Grade, Subject_Name, BookCategory, Cate, ChapterType) {
		return this.invoke("GetPreviousChapterList", {"ChapterId":ChapterId, "Grade":Grade, "Subject_Name":Subject_Name, "BookCategory":BookCategory, "Cate":Cate, "ChapterType":ChapterType}, this.GetPreviousChapterList.getArguments().slice(6));
	},
	GetChapterSelect: function(ChapterId, Grade, Sys_SubjectId, BookCategory, Cate) {
		return this.invoke("GetChapterSelect", {"ChapterId":ChapterId, "Grade":Grade, "Sys_SubjectId":Sys_SubjectId, "BookCategory":BookCategory, "Cate":Cate}, this.GetChapterSelect.getArguments().slice(5));
	},
	GetChapterDataTwo: function(TeachingOrSynchronizationBookId, ChapterId, Cate, Result_Id, ParentControlId, ParentIdList, ChapterType) {
		return this.invoke("GetChapterDataTwo", {"TeachingOrSynchronizationBookId":TeachingOrSynchronizationBookId, "ChapterId":ChapterId, "Cate":Cate, "Result_Id":Result_Id, "ParentControlId":ParentControlId, "ParentIdList":ParentIdList, "ChapterType":ChapterType}, this.GetChapterDataTwo.getArguments().slice(7));
	},
	GetPreviousChapterListTwo: function(ChapterId, Grade, Subject_Name, BookCategory, Cate) {
		return this.invoke("GetPreviousChapterListTwo", {"ChapterId":ChapterId, "Grade":Grade, "Subject_Name":Subject_Name, "BookCategory":BookCategory, "Cate":Cate}, this.GetPreviousChapterListTwo.getArguments().slice(5));
	},
	GetChapterNameStrValue: function(ChapterId) {
		return this.invoke("GetChapterNameStrValue", {"ChapterId":ChapterId}, this.GetChapterNameStrValue.getArguments().slice(1));
	},
	GetChapterParentBottomValue: function(ChapterId, TotalLayerNum, ChapterType) {
		return this.invoke("GetChapterParentBottomValue", {"ChapterId":ChapterId, "TotalLayerNum":TotalLayerNum, "ChapterType":ChapterType}, this.GetChapterParentBottomValue.getArguments().slice(3));
	},
	GetChapterSameLayerNum: function(TeachOrSynBookId, ChapterId, ChapterType) {
		return this.invoke("GetChapterSameLayerNum", {"TeachOrSynBookId":TeachOrSynBookId, "ChapterId":ChapterId, "ChapterType":ChapterType}, this.GetChapterSameLayerNum.getArguments().slice(3));
	},
	ChapterHasChild: function(TeachOrSynBookId, ChapterId, ChapterType) {
		return this.invoke("ChapterHasChild", {"TeachOrSynBookId":TeachOrSynBookId, "ChapterId":ChapterId, "ChapterType":ChapterType}, this.ChapterHasChild.getArguments().slice(3));
	},
	GetAllParentSpanIdStr: function(ChapterId) {
		return this.invoke("GetAllParentSpanIdStr", {"ChapterId":ChapterId}, this.GetAllParentSpanIdStr.getArguments().slice(1));
	},
	GetSynchronizationPublish: function(Grade, Sys_SubjectId, BookCategory, t) {
		return this.invoke("GetSynchronizationPublish", {"Grade":Grade, "Sys_SubjectId":Sys_SubjectId, "BookCategory":BookCategory, "t":t}, this.GetSynchronizationPublish.getArguments().slice(4));
	},
	GetSynchronizationTitle: function(TeachingMaterialId, ChapterId) {
		return this.invoke("GetSynchronizationTitle", {"TeachingMaterialId":TeachingMaterialId, "ChapterId":ChapterId}, this.GetSynchronizationTitle.getArguments().slice(2));
	},
	GetChapterDataFour: function(Grade, SubjectName, BookCategory, PublishHouse, SynchronizationBook, SynchronizationBookId, ChapterId) {
		return this.invoke("GetChapterDataFour", {"Grade":Grade, "SubjectName":SubjectName, "BookCategory":BookCategory, "PublishHouse":PublishHouse, "SynchronizationBook":SynchronizationBook, "SynchronizationBookId":SynchronizationBookId, "ChapterId":ChapterId}, this.GetChapterDataFour.getArguments().slice(7));
	},
	AddOrEditPublishHouse: function(PublishHouseId, PublishHouse, Action, UserId) {
		return this.invoke("AddOrEditPublishHouse", {"PublishHouseId":PublishHouseId, "PublishHouse":PublishHouse, "Action":Action, "UserId":UserId}, this.AddOrEditPublishHouse.getArguments().slice(4));
	},
	PublishHouseAuthor: function(PublishHouseId, UserId) {
		return this.invoke("PublishHouseAuthor", {"PublishHouseId":PublishHouseId, "UserId":UserId}, this.PublishHouseAuthor.getArguments().slice(2));
	},
	PublishHouseHaveTeachMaterial: function(PublishHouseId) {
		return this.invoke("PublishHouseHaveTeachMaterial", {"PublishHouseId":PublishHouseId}, this.PublishHouseHaveTeachMaterial.getArguments().slice(1));
	},
	PublishHouseDel: function(PublishHouseId) {
		return this.invoke("PublishHouseDel", {"PublishHouseId":PublishHouseId}, this.PublishHouseDel.getArguments().slice(1));
	},
	GetTeachPublishHouseId: function(TeachingMaterialId) {
		return this.invoke("GetTeachPublishHouseId", {"TeachingMaterialId":TeachingMaterialId}, this.GetTeachPublishHouseId.getArguments().slice(1));
	},
	Get_PublishHouseName: function(PublishHouseId) {
		return this.invoke("Get_PublishHouseName", {"PublishHouseId":PublishHouseId}, this.Get_PublishHouseName.getArguments().slice(1));
	},
	Sys_SubjectHaveTopicCateOrTopic: function(Sys_SubjectId) {
		return this.invoke("Sys_SubjectHaveTopicCateOrTopic", {"Sys_SubjectId":Sys_SubjectId}, this.Sys_SubjectHaveTopicCateOrTopic.getArguments().slice(1));
	},
	TopicCateOrTopicHaveTitle: function(TopicCateOrTopicId, Action) {
		return this.invoke("TopicCateOrTopicHaveTitle", {"TopicCateOrTopicId":TopicCateOrTopicId, "Action":Action}, this.TopicCateOrTopicHaveTitle.getArguments().slice(2));
	},
	FindSys_SubjectDt: function(Grade) {
		return this.invoke("FindSys_SubjectDt", {"Grade":Grade}, this.FindSys_SubjectDt.getArguments().slice(1));
	},
	FindTestGradeValue: function(TestId) {
		return this.invoke("FindTestGradeValue", {"TestId":TestId}, this.FindTestGradeValue.getArguments().slice(1));
	},
	HavaTitleForChapter: function(ChapterType, ChapterId) {
		return this.invoke("HavaTitleForChapter", {"ChapterType":ChapterType, "ChapterId":ChapterId}, this.HavaTitleForChapter.getArguments().slice(2));
	},
	SetExternSubject: function(SubjectStr, UserId) {
		return this.invoke("SetExternSubject", {"SubjectStr":SubjectStr, "UserId":UserId}, this.SetExternSubject.getArguments().slice(2));
	},
	ProcessExternLession: function(SubjectStr, ShowSetBt, Column) {
		return this.invoke("ProcessExternLession", {"SubjectStr":SubjectStr, "ShowSetBt":ShowSetBt, "Column":Column}, this.ProcessExternLession.getArguments().slice(3));
	},
	PostInvitationList: function(StuId, TeacherId, Sys_SubjectId, Category) {
		return this.invoke("PostInvitationList", {"StuId":StuId, "TeacherId":TeacherId, "Sys_SubjectId":Sys_SubjectId, "Category":Category}, this.PostInvitationList.getArguments().slice(4));
	},
	CancelInvitationList: function(TeacherId, StuId, Id) {
		return this.invoke("CancelInvitationList", {"TeacherId":TeacherId, "StuId":StuId, "Id":Id}, this.CancelInvitationList.getArguments().slice(3));
	},
	PostStuFindInvitationList: function(StuId, TeacherId, Sys_SubjectId, Category) {
		return this.invoke("PostStuFindInvitationList", {"StuId":StuId, "TeacherId":TeacherId, "Sys_SubjectId":Sys_SubjectId, "Category":Category}, this.PostStuFindInvitationList.getArguments().slice(4));
	},
	ChangeStuFindInvitationList: function(StuId, NewTeacherId, Sys_SubjectId, Category) {
		return this.invoke("ChangeStuFindInvitationList", {"StuId":StuId, "NewTeacherId":NewTeacherId, "Sys_SubjectId":Sys_SubjectId, "Category":Category}, this.ChangeStuFindInvitationList.getArguments().slice(4));
	},
	School_Certification: function(TeacherId, StuId, Id, Status, Description) {
		return this.invoke("School_Certification", {"TeacherId":TeacherId, "StuId":StuId, "Id":Id, "Status":Status, "Description":Description}, this.School_Certification.getArguments().slice(5));
	},
	GetSubjectForGradeStr: function(Grade) {
		return this.invoke("GetSubjectForGradeStr", {"Grade":Grade}, this.GetSubjectForGradeStr.getArguments().slice(1));
	},
	initialize: function() {
		this.url = '/ajaxpro/School.Components.BusApp.Teacher.ExternArea,School.Components.ashx';
	}
}));
School.Components.BusApp.Teacher.ExternArea = new School.Components.BusApp.Teacher.ExternArea_class();


