@Test public void test10getPopulatedViewObject(){ XXTagDef xxTagDef = new XXTagDef(); xxTagDef.setId(id); xxTagDef.setName(name); xxTagDef.setUpdateTime(new Date()); List<XXTagAttributeDef> tagAttrDefList = new ArrayList<XXTagAttributeDef>(); XXTagAttributeDef xxTagAttributeDef = new XXTagAttributeDef(); xxTagAttributeDef.setId(id); xxTagAttributeDef.setName(name); tagAttrDefList.add(xxTagAttributeDef); RangerTagDef result = rangerTagDefService.getPopulatedViewObject(xxTagDef); Assert.assertEquals(result.getId(), tagAttrDefList.get(0).getId()); Assert.assertEquals(result.getName(), tagAttrDefList.get(0).getName()); }
public RangerTagDef getPopulatedViewObject(XXTagDef xObj) { return populateViewBean(xObj); }
RangerTagDefService extends RangerTagDefServiceBase<XXTagDef, RangerTagDef> { public RangerTagDef getPopulatedViewObject(XXTagDef xObj) { return populateViewBean(xObj); } }
RangerTagDefService extends RangerTagDefServiceBase<XXTagDef, RangerTagDef> { public RangerTagDef getPopulatedViewObject(XXTagDef xObj) { return populateViewBean(xObj); } RangerTagDefService(); }
RangerTagDefService extends RangerTagDefServiceBase<XXTagDef, RangerTagDef> { public RangerTagDef getPopulatedViewObject(XXTagDef xObj) { return populateViewBean(xObj); } RangerTagDefService(); RangerTagDef getPopulatedViewObject(XXTagDef xObj); RangerTagDef getTagDefByGuid(String guid); RangerTagDef getTagDefByName(String name); List<RangerTagDef> getTagDefsByServiceId(Long serviceId); @Override List<RangerTagDef.RangerTagAttributeDef> getAttributeDefForTagDef(XXTagDef xtagDef); }
RangerTagDefService extends RangerTagDefServiceBase<XXTagDef, RangerTagDef> { public RangerTagDef getPopulatedViewObject(XXTagDef xObj) { return populateViewBean(xObj); } RangerTagDefService(); RangerTagDef getPopulatedViewObject(XXTagDef xObj); RangerTagDef getTagDefByGuid(String guid); RangerTagDef getTagDefByName(String name); List<RangerTagDef> getTagDefsByServiceId(Long serviceId); @Override List<RangerTagDef.RangerTagAttributeDef> getAttributeDefForTagDef(XXTagDef xtagDef);  }