if (typeof ratingDataDto != "function") { function ratingDataDto() { this.numberOfVotes = 0; this.numberOfVotesFormatted = null; this.ratingFormatted = null; this.rating = 0; } } if (typeof accountingPeriod != "function") { function accountingPeriod() { } } if (typeof transactionListTableDto != "function") { function transactionListTableDto() { this.balanceEnd = null; this.balanceBonusStart = null; this.monthEnd = null; this.balanceBonusEnd = null; this.balanceStart = null; this.period = null; this.monthStart = null; this.userBonusCredits = 0; this.revenueCredits = null; this.invoicePrice = 0; this.revenueEuro = null; this.revenueType = null; this.items = null; this.userCredits = 0; } } if (typeof uploadServiceResponse != "function") { function uploadServiceResponse() { } } if (typeof commentDto != "function") { function commentDto() { this.id = 0; this.text = null; this.avatarStyle = null; this.authorName = null; this.deletable = false; this.authorId = 0; } } if (typeof uploadProgressDto != "function") { function uploadProgressDto() { this.eta = null; this.percent = 0; this.bytes = 0; this.speed = null; this.totalBytes = 0; } } if (typeof transactionListItemDto != "function") { function transactionListItemDto() { this.creditsAccountItemId = 0; this.fileType = null; this.mediaUrl = null; this.bonusCredits = 0; this.bonusCreditsLine2 = 0; this.formattedBonusCredits = null; this.licenseName = null; this.credits = 0; this.formattedCredits = null; this.detailsLine4 = null; this.artistUrl = null; this.creditsLine3 = 0; this.detailsLine2 = null; this.creditsLine2 = 0; this.detailsLine3 = null; this.mediaTitle = null; this.formattedBonusCreditsLine2 = null; this.detailsLine1 = null; this.transactionTypeName = null; this.formattedCreditsLine2 = null; this.ISODate = null; this.formattedCreditsLine3 = null; this.transactionNo = null; this.artistName = null; } } if (typeof transactionListControlsDto != "function") { function transactionListControlsDto() { this.availablePeriods = []; this.autoDisbursement = false; } } // 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 (mediaCommentService == null) var mediaCommentService = {}; mediaCommentService._path = '/dwr'; mediaCommentService.addComment = function(p0, p1, callback) { dwr.engine._execute(mediaCommentService._path, 'mediaCommentService', 'addComment', p0, p1, callback); } mediaCommentService.loadAllComments = function(p0, callback) { dwr.engine._execute(mediaCommentService._path, 'mediaCommentService', 'loadAllComments', p0, callback); } mediaCommentService.deleteComment = function(p0, p1, callback) { dwr.engine._execute(mediaCommentService._path, 'mediaCommentService', 'deleteComment', p0, p1, callback); }