this.widgetService = widgetService;
}
@Transactional(readOnly = true)
public UserWidgets findSpecificUserWidgets(BaseUser user, String widgetName) {
UserWidgets example = new UserWidgets();
Widget widgetObj = new Widget();
//widgetObj.setIsUserDefined(true);
widgetObj.setName(widgetName);
example.setUser(user);
example.setWidget(widgetObj);
List<UserWidgets> widgets = this.findByExample(example, 0, 1);
if(widgets.size() > 0){
return widgets.get(0);