// 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 (CommentService == null) var CommentService = {}; CommentService._path = '/dwr'; CommentService.getPublicComment = function(p0, p1, p2, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'getPublicComment', p0, p1, p2, callback); } CommentService.addComment = function(p0, p1, p2, p3, p4, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'addComment', p0, p1, p2, p3, p4, false, callback); } CommentService.delComment = function(p0, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'delComment', p0, false, callback); } CommentService.shareComment = function(p0, p1, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'shareComment', p0, p1, false, callback); } CommentService.editComment = function(p0, p1, p2, p3, p4, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'editComment', p0, p1, p2, p3, p4, false, callback); } CommentService.getRandomComment = function(p0, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'getRandomComment', p0, callback); } CommentService.main = function(p0, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'main', p0, callback); } CommentService.getComment = function(p0, p1, p2, callback) { dwr.engine._execute(CommentService._path, 'CommentService', 'getComment', p0, p1, p2, false, callback); }