BaseDAO<Version>
, VersionDAO
public class VersionDAOImpl extends BaseHibernateDAOImpl<Version> implements VersionDAO
VersionDAO
interfaceConstructor | Description |
---|---|
VersionDAOImpl() |
Modifier and Type | Method | Description |
---|---|---|
Version |
findByPrimaryKey(Integer versionId) |
find
Version by id |
List<Version> |
findByProjectId(Integer projectId) |
Finds
Version s by a project id and returns them as
a Collection . |
delete, detach, merge, refresh, save, saveOrUpdate
delete, detach, merge, refresh, save, saveOrUpdate
public Version findByPrimaryKey(Integer versionId)
Version
by idfindByPrimaryKey
in interface VersionDAO
versionId
- id of the Version
to findVersion
foundpublic List<Version> findByProjectId(Integer projectId)
Version
s by a project id and returns them as
a Collection
.findByProjectId
in interface VersionDAO
projectId
- id of the parent Project
Collection
containing the Version
s foundCopyright © 2002–2019 itracker. All rights reserved.