Name
sn_entitlement.UnallocatedEntityCalculation_RealTimeCalculationSupplier
Description
No description available
Script
var UnallocatedEntityCalculation_RealTimeCalculationSupplier = Class.create();
UnallocatedEntityCalculation_RealTimeCalculationSupplier.prototype = {
initialize: function(oobRolesOnly) {
this._subscriptionService = new sn_entitlement.SubscriptionService(oobRolesOnly);
},
/**
* Retrieves a stream of user EntityAllocationData records that are calculated
* in real-time based on the license_details.sys_id
*
* @return {stream} A stream of user EntityAllocationData records
*/
getUserCalculationStream: function() {
return this._subscriptionService.getUnallocatedUserCalculationsByAllSubscriptions();
},
/**
* Retrieves a stream of group EntityAllocationData records that are calculated
* in real-time based on the license_details.sys_id
*
* @return {stream} A stream of group EntityAllocationData records
*/
getGroupCalculationStream: function() {
return this._subscriptionService.getUnallocatedGroupCalculationsByAllSubscriptions();
},
type: 'UnallocatedEntityCalculation_RealTimeCalculationSupplier'
};
Sys ID
3d842284ff312110468365d7d3b8feee