Name
global.ContactImpl
Description
All functionalities for the Contact APIs consolidated in this implementation class
Script
var ContactImpl = Class.create();
ContactImpl.prototype = {
initialize: function() {
this.contactDao = new ContactDao();
this.logger = CSMBaseLogger.getLogger("ContactImpl");
},
createContactFromAPI : function(params){
if(params){
return this.contactDao.createContact(params);
} else{
this.logger.error("inside ContactImpl:createContactFromAPI submit params invalid!");
}
},
getContactInfoBySearchString : function(searchQueryStr, offset, limit){
return this.contactDao.getContactBySearchQueryString(searchQueryStr, offset, limit);
},
getContactInfoById : function(id, displayValue){
return this.contactDao.getContactById(id, displayValue);
},
type: 'ContactImpl'
};
Sys ID
5bf174635352030097a2ddeeff7b12f1