@Test public void testlistParents() { List<Integer> squirrels = service.listParents(100000007); assertEquals(8, squirrels.size()); }
@Override public List<Integer> listParents(int usageKey) { return usageMapper.listParents(usageKey); }
UsageServiceMyBatis implements UsageService { @Override public List<Integer> listParents(int usageKey) { return usageMapper.listParents(usageKey); } }
UsageServiceMyBatis implements UsageService { @Override public List<Integer> listParents(int usageKey) { return usageMapper.listParents(usageKey); } @Inject  UsageServiceMyBatis(NameUsageMapper mapper, UsageMapper usageMapper); }
UsageServiceMyBatis implements UsageService { @Override public List<Integer> listParents(int usageKey) { return usageMapper.listParents(usageKey); } @Inject  UsageServiceMyBatis(NameUsageMapper mapper, UsageMapper usageMapper); @Override List<Integer> listAll(); @Override Integer maxUsageKey(UUID datasetKey); @Override List<NameUsage> listRange(int usageKeyStart, int usageKeyEnd); @Override List<Integer> listParents(int usageKey); @Override List<Integer> listOldUsages(UUID datasetKey, Date before); }
UsageServiceMyBatis implements UsageService { @Override public List<Integer> listParents(int usageKey) { return usageMapper.listParents(usageKey); } @Inject  UsageServiceMyBatis(NameUsageMapper mapper, UsageMapper usageMapper); @Override List<Integer> listAll(); @Override Integer maxUsageKey(UUID datasetKey); @Override List<NameUsage> listRange(int usageKeyStart, int usageKeyEnd); @Override List<Integer> listParents(int usageKey); @Override List<Integer> listOldUsages(UUID datasetKey, Date before);  }