public class ProjectHibernateDao extends BambooHibernateObjectDao<Project> implements ProjectDao
| Constructor and Description |
|---|
ProjectHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
Number |
count() |
void |
delete(Project project) |
Collection<? extends Project> |
findAll() |
Project |
findById(long id) |
List<Project> |
getAllProjectsMarkedForDeletion() |
Project |
getProjectByKey(String key) |
Project |
getProjectByName(String projectName) |
boolean |
isExistingProjectKey(String projectKey) |
boolean |
isExistingProjectName(String projectName) |
countAll, countWithRestriction, deleteAll, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAllgetCacheAwareHibernateTemplatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountAll, countWithRestriction, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, save, saveAllpublic Project findById(long id)
findById in interface ProjectDaopublic Collection<? extends Project> findAll()
findAll in interface ProjectDaopublic Number count()
count in interface ProjectDaopublic void delete(@NotNull
Project project)
delete in interface com.atlassian.bamboo.persistence3.BambooObjectDao<Project>delete in interface ProjectDaodelete in class BambooHibernateObjectDao<Project>public boolean isExistingProjectName(@NotNull
String projectName)
isExistingProjectName in interface ProjectDaopublic boolean isExistingProjectKey(@NotNull
String projectKey)
isExistingProjectKey in interface ProjectDaopublic Project getProjectByKey(@NotNull String key)
getProjectByKey in interface ProjectDaopublic Project getProjectByName(@NotNull String projectName)
getProjectByName in interface ProjectDao@NotNull public List<Project> getAllProjectsMarkedForDeletion()
getAllProjectsMarkedForDeletion in interface ProjectDaoCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.