package cn.edu.tju.se.hero.service;

import java.util.List;

import cn.edu.tju.se.hero.domain.Hero;

public interface HeroService {

	public Hero get(Long id);

	public Hero update(Hero hero);

	public Hero add(Hero hero);

	public void remove(Long id);

//	public List<Hero> getByUsername(String username);

//	public List<Hero> getByUserId(Long userId);
	
	public List<Hero> getAll();
	
	public List<Hero> getByOwnerId(Long ownerId);

}
