getDataInterface on Abstract bussiness logic holder

Merged Roshan Patil requested to merge Roshanp-GetDataInterfaceAdded into devbranch
Compare and
1 file
+ 10
0
Preferences
File browser
Compare changes
@@ -67,6 +67,16 @@ func (ab *AbstractBusinessLogicHolder) GetDataInt(key string) (int64, bool) {
return value, true
}
// GetDataInterface will give you int
func (ab *AbstractBusinessLogicHolder) GetDataInterface(key string) (interface{}, bool) {
//check in map
temp, found := ab.localServiceData[key]
if errormdl.CheckBool(!found) {
return nil, false
}
return temp, true
}
// GetDataResultset will give you int
func (ab *AbstractBusinessLogicHolder) GetDataResultset(key string) (*gjson.Result, bool) {
//check in map