BaseDAO<Component>
, ComponentDAO
public class ComponentDAOImpl extends BaseHibernateDAOImpl<Component> implements ComponentDAO
Constructor | Description |
---|---|
ComponentDAOImpl() |
Modifier and Type | Method | Description |
---|---|---|
Component |
findById(Integer componentId) |
Finds the component with the given ID.
|
List<Component> |
findByProject(Integer projectId) |
Finds all components of a given project.
|
delete, detach, merge, refresh, save, saveOrUpdate
delete, detach, merge, refresh, save, saveOrUpdate
public Component findById(Integer componentId)
ComponentDAO
findById
in interface ComponentDAO
componentId
- ID of the component to retrievepublic List<Component> findByProject(Integer projectId)
ComponentDAO
findByProject
in interface ComponentDAO
projectId
- ID of the project of which to retrieve all componentsCopyright © 2002–2019 itracker. All rights reserved.