BaseDAO<Project>
, ProjectDAO
public class ProjectDAOImpl extends BaseHibernateDAOImpl<Project> implements ProjectDAO
Constructor | Description |
---|---|
ProjectDAOImpl() |
Modifier and Type | Method | Description |
---|---|---|
List<Project> |
findAll() |
Finds all projects.
|
List<Project> |
findAllAvailable() |
Finds all projects that are active or viewable.
|
Project |
findByName(String name) |
Finds a project by name.
|
Project |
findByPrimaryKey(Integer projectId) |
Finds a project by ID.
|
List<Project> |
findByStatus(int status) |
Finds all projects with a given status.
|
Date |
getLastIssueUpdateDate(Integer projectId) |
Returns the projects with id projectId latest modified issues modification date
|
delete, detach, merge, refresh, save, saveOrUpdate
delete, detach, merge, refresh, save, saveOrUpdate
public Project findByPrimaryKey(Integer projectId)
ProjectDAO
findByPrimaryKey
in interface ProjectDAO
projectId
- sytem IDpublic List<Project> findAll()
ProjectDAO
findAll
in interface ProjectDAO
public List<Project> findByStatus(int status)
ProjectDAO
findByStatus
in interface ProjectDAO
status
- project statuspublic List<Project> findAllAvailable()
ProjectDAO
findAllAvailable
in interface ProjectDAO
public Date getLastIssueUpdateDate(Integer projectId)
ProjectDAO
getLastIssueUpdateDate
in interface ProjectDAO
public Project findByName(String name)
ProjectDAO
findByName
in interface ProjectDAO
name
- projectCopyright © 2002–2019 itracker. All rights reserved.