if (typeof Keywords != "function") { function Keywords() { this.id = null; this.createTime = null; this.keywords = null; this.userId = null; } } if (typeof Baishi != "function") { function Baishi() { this.valid = null; this.createTime = null; this.groupName = null; this.teacherNum = null; this.givenName = null; this.teacherName = null; this.actionTime = null; this.id = null; this.groupId = null; this.bookNum = null; this.category = null; this.words = null; this.tpoints = null; this.studentId = null; this.studentNum = null; this.seq = null; this.studentName = null; this.points = null; this.teacherId = null; this.rejWords = null; } } if (typeof User != "function") { function User() { this.birthday = null; this.createTime = null; this.schoolName = null; this.schoolCreateTime = null; this.activityNum = 0; this.birthdayFp = null; this.acceptEmail = null; this.teacherNum = 0; this.password = null; this.homeworkNum = 0; this.id = null; this.bookNum = 0; this.forgetPassword = null; this.categoryId2 = null; this.tpoints = 0; this.name = null; this.activationCode = null; this.activated = 0; this.currentTradeableMoney = null; this.studentNum = 0; this.gender = null; this.points = 0; this.birthdayP = null; this.qaNum = 0; this.categoryId = null; this.honourName = null; this.category2 = null; this.currentUnTradeableMoney = null; this.lastLogonTime = null; this.category = null; this.genderFp = null; this.catParentId = null; this.email = null; this.favBookNum = 0; this.courseNum = 0; this.totalMoney = null; } } if (typeof Page != "function") { function Page() { this.id = null; this.content = null; this.title = null; this.imagePath = null; this.delCurrentPage = false; this.addNewPage = false; this.saveFirstPage = false; this.nextPageId = null; this.bookId = null; this.prevPageId = null; this.insertNewPage = false; this.pageIndex = null; } } if (typeof questionReply != "function") { function questionReply() { this.id = null; this.content = null; this.createTime = null; this.strCreateTime = null; this.questionId = null; this.userId = null; this.userName = null; this.user = null; this.lastModifyTime = null; } } if (typeof Book != "function") { function Book() { this.createTime = null; this.schoolName = null; this.interestingNum = null; this.imagePath = null; this.pageTotal = null; this.recommend = null; this.id = null; this.username = null; this.title = null; this.categoryId2 = null; this.tpoints = null; this.favorNum = null; this.description = null; this.userId = null; this.usefulNum = null; this.nextPageId = null; this.points = null; this.authorToped = null; this.keywords = null; this.lastModified = null; this.categoryId = null; this.pages = null; this.previousPageId = null; this.insertNewPage = false; this.commentNum = null; this.catParentId = null; this.views = null; this.addNewPage = false; this.privilege = null; this.catName = null; this.original = null; this.currentPage = null; this.bookStat = null; this.brief = null; } } if (typeof LogonInfo != "function") { function LogonInfo() { this.id = null; this.field = null; this.schoolName = null; this.description = null; this.schoolImage = null; this.name = null; this.categoryId = null; this.activated = false; this.eaveImage = null; } } if (typeof msgStatus != "function") { function msgStatus() { this.newShortMsg = 0; this.newSysMsg = 0; this.haveNewMsg = false; } } if (typeof Course != "function") { function Course() { this.createTime = null; this.valid = null; this.keywords = null; this.categoryId = null; this.endTime = null; this.teacherName = null; this.intro = null; this.id = null; this.startTime = null; this.categoryName = null; this.name = null; this.brief = null; this.teacherId = null; } } if (typeof UserInfoExtra != "function") { function UserInfoExtra() { this.val = null; this.id = null; this.title = null; this.userId = null; this.privacy = null; this.display = null; this.type = null; } } if (typeof BookComment != "function") { function BookComment() { this.id = null; this.content = null; this.parentId = null; this.createTime = null; this.username = null; this.strCreateTime = null; this.childBookComment = null; this.userId = null; this.bookId = null; this.user = null; } } if (typeof Category != "function") { function Category() { this.keywordList = null; this.keywords = null; this.activityNum = null; this.count = null; this.testNum = null; this.block = null; this.children = null; this.teacherNum = null; this.id = null; this.parentId = null; this.bookNum = null; this.level = null; this.name = null; this.seq = null; this.word = null; this.isHistory = null; this.courseNum = null; this.fullname = null; } } if (typeof StudentGroup != "function") { function StudentGroup() { this.id = null; this.ownerId = null; this.name = null; this.members = null; } } if (typeof bbsThreadPost != "function") { function bbsThreadPost() { this.createTime = null; this.strCreateTime = null; this.threadId = null; this.childThreadPosts = null; this.state = null; this.user_studentNum = 0; this.content = null; this.id = null; this.parentId = null; this.title = null; this.user_teacherNum = 0; this.userId = null; this.userName = null; this.user = null; } } // Provide a default path to dwr.engine if (dwr == null) var dwr = {}; if (dwr.engine == null) dwr.engine = {}; if (DWREngine == null) var DWREngine = dwr.engine; if (bookFacade == null) var bookFacade = {}; bookFacade._path = '/dwr'; bookFacade.setWealthService = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'setWealthService', p0, callback); } bookFacade.valideUserDraftOvered = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'valideUserDraftOvered', p0, callback); } bookFacade.getBookPage = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'getBookPage', p0, callback); } bookFacade.saveOrUpdateBook = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'saveOrUpdateBook', p0, callback); } bookFacade.saveOrUpdatePage = function(p0, p1, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'saveOrUpdatePage', p0, p1, callback); } bookFacade.removePage = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'removePage', p0, callback); } bookFacade.saveOrUpdatePages = function(p0, p1, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'saveOrUpdatePages', p0, p1, callback); } bookFacade.savePages = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'savePages', p0, callback); } bookFacade.updatePages = function(p0, p1, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'updatePages', p0, p1, callback); } bookFacade.deleteBookComment = function(p0, p1, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'deleteBookComment', p0, p1, callback); } bookFacade.sortBooksBy = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'sortBooksBy', p0, callback); } bookFacade.showBooksBy = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'showBooksBy', p0, callback); } bookFacade.recommentBook = function(p0, p1, p2, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'recommentBook', p0, p1, p2, callback); } bookFacade.setService = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'setService', p0, callback); } bookFacade.getUserName = function(callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'getUserName', callback); } bookFacade.loadLogonInfo = function(callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'loadLogonInfo', callback); } bookFacade.loadSession = function(callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'loadSession', callback); } bookFacade.setSearchService = function(p0, callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'setSearchService', p0, callback); } bookFacade.loadUserId = function(callback) { dwr.engine._execute(bookFacade._path, 'bookFacade', 'loadUserId', callback); }