@ApplicationScoped public class PlanServiceImpl extends Object implements PlanService
public List<Plan> findAll()
findAll
in interface PlanService
public Plan get(Long id) throws PlanNotFoundException
get
in interface PlanService
PlanNotFoundException
public Plan delete(Long id) throws PlanNotFoundException
delete
in interface PlanService
PlanNotFoundException
public Plan create(Plan plan)
create
in interface PlanService
public Plan update(Long id, Plan plan) throws PlanNotFoundException
update
in interface PlanService
PlanNotFoundException
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.