SmartIT_Extensions/BMC/smart-it-full-helix/scripts/app/ticket/dlp-vo.js

35 lines
864 B
JavaScript

"use strict";
/**
* Value object for Data Loss Prevention (DLP) item.
*
* @author Geetha Arvind
* @constructor
*/
function DLPVO() {
this.summary = '';
this.company = '';
this.triggeredBy = '';
this.parentName = 'incident';
this.parentDisplayId = '';
this.parentId = '';
this.parentSummary = '';
this.type = '';
this.eventSourceInfo = '';
this.policies = '';
}
DLPVO.prototype = new BaseVO();
DLPVO.prototype.constructor = DLPVO;
/**
* @override
* @return {Array} properties
*/
DLPVO.prototype.getProps = function () {
return BaseVO.prototype.getProps().concat('summary', 'company', 'triggeredBy', 'parentType', 'parentDisplayId', 'parentId', 'parentSummary', 'eventSourceInfo', 'policies', 'type');
};
/**
* @override
*/
DLPVO.prototype.postBuild = function () {
BaseVO.prototype.postBuild.call(this);
};