Name
sn_grc.LicenseUtils
Description
No description available
Script
var LicenseUtils = Class.create();
LicenseUtils.prototype = {
initialize: function(applicationFamily) {
if (applicationFamily == undefined) {
this.applicationFamily = "IRM";
} else {
this.applicationFamily = applicationFamily;
}
this.licenseHandler = LicenseHandlerFactory.getInstance(this.applicationFamily);
},
updateLightUserAudit: function(tableName, operation, user) {
this.licenseHandler.updateLightUserAudit(tableName, operation, user);
},
updateUniqueUserTable: function(user) {
this.licenseHandler.updateUniqueUserTable(user);
},
copyLightUserPrevDayTableData: function() {
this.licenseHandler.copyLightUserPrevDayTableData();
},
copyPrevDayTableData: function() {
this.licenseHandler.copyPrevDayTableData();
},
updateUniqueUsageTable: function(asmt) {
this.licenseHandler.updateUniqueUsageTable(asmt);
},
getLastMonthAccrualPeriod: function() {
return this.licenseHandler.getLastMonthAccrualPeriod();
},
type: 'LicenseUtils'
};
Sys ID
8f8aba7577ea33002a272f589a106173