if (typeof defaultAssetAllocation != "function") { function defaultAssetAllocation() { this.assetClass = null; this.defaultAssetAllocationModel = null; this.hashedId = null; this.id = null; this.percentage = null; } } if (typeof assetClass != "function") { function assetClass() { this.active = false; this.correspondingIndex = null; this.name = null; this.hashedId = null; this.id = null; } } if (typeof balanceType != "function") { function balanceType() { this.active = false; this.name = null; this.hashedId = null; this.id = null; } } if (typeof accountBalance != "function") { function accountBalance() { this.amount = null; this.monthlyAccountBalanceId = null; this.balanceDate = null; this.balanceType = null; this.hashedId = null; this.id = null; } } if (typeof defaultAssetAllocationModel != "function") { function defaultAssetAllocationModel() { this.defaultAssetAllocations = null; this.active = false; this.name = null; this.hashedId = null; this.id = null; } } if (typeof assetAllocationModelFormObject != "function") { function assetAllocationModelFormObject() { this.total = null; this.startDate = null; this.editMode = false; this.rebalancingFrequency = null; this.assetAllocationModel = null; this.model = null; this.endDate = null; this.accountReference = null; this.inputAssetAllocations = null; } } if (typeof assetAllocation != "function") { function assetAllocation() { this.primaryKey = null; this.assetClass = null; this.assetAllocationModel = null; this.hashedId = null; this.percentage = 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 (dwrAssetClassService == null) var dwrAssetClassService = {}; dwrAssetClassService._path = '/dwr'; dwrAssetClassService.getAssetClasses = function(callback) { dwr.engine._execute(dwrAssetClassService._path, 'dwrAssetClassService', 'getAssetClasses', callback); } dwrAssetClassService.incrementAAMRows = function(callback) { dwr.engine._execute(dwrAssetClassService._path, 'dwrAssetClassService', 'incrementAAMRows', false, callback); } dwrAssetClassService.getDefaultAssetAllocations = function(p0, callback) { dwr.engine._execute(dwrAssetClassService._path, 'dwrAssetClassService', 'getDefaultAssetAllocations', p0, callback); }