public TargetContent updateTargetContent(TargetContent targetContent) { return targetContentDao.save(targetContent); }
public void removeTargetContent(Long targetContentId) { targetContentDao.delete(targetContentId); }
public List<TargetContent> findTargetContentsByPriority(int priority) { return targetContentDao.readCurrentTargetContentsByPriority(priority); }
public List<TargetContent> findTargetContentsByNameType(String name, String type) { return targetContentDao.readCurrentTargetContentByNameType(name, type); }
public List<TargetContent> findTargetContents() { return targetContentDao.readTargetContents(); }
public TargetContent findTargetContentById(Long targetContentId) { return targetContentDao.readTargetContentById(targetContentId); }