|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate.support.HibernateDaoSupport com.atlassian.hibernate.HibernateObjectDao com.atlassian.bamboo.persistence.BambooHibernateObjectDao com.atlassian.bamboo.project.ProjectHibernateDao
public class ProjectHibernateDao
Field Summary |
---|
Fields inherited from class com.atlassian.hibernate.HibernateObjectDao |
---|
log |
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
ProjectHibernateDao()
|
Method Summary | |
---|---|
void |
deleteProject(Project project)
|
java.util.List |
findAll()
|
java.util.Collection<Project> |
getAllProjectsMarkedForDeletion()
|
java.lang.Class |
getPersistentClass()
|
Project |
getProjectByKey(java.lang.String key)
|
Project |
getProjectByName(java.lang.String projectName)
|
boolean |
isExistingProjectKey(java.lang.String projectKey)
|
boolean |
isExistingProjectName(java.lang.String projectName)
|
void |
saveProject(Project project)
|
Methods inherited from class com.atlassian.bamboo.persistence.BambooHibernateObjectDao |
---|
executeCountQuery, executeReturnLong, findById, findById |
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
---|
findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData |
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
Methods inherited from class org.springframework.dao.support.DaoSupport |
---|
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.persistence.BambooObjectDao |
---|
findById |
Methods inherited from interface bucket.core.persistence.ObjectDao |
---|
findAllSorted, refresh, remove, replicate, save, saveRaw |
Constructor Detail |
---|
public ProjectHibernateDao()
Method Detail |
---|
public java.lang.Class getPersistentClass()
getPersistentClass
in interface bucket.core.persistence.ObjectDao
public void saveProject(@NotNull Project project)
saveProject
in interface ProjectDao
public void deleteProject(@NotNull Project project)
deleteProject
in interface ProjectDao
public boolean isExistingProjectName(@NotNull java.lang.String projectName)
isExistingProjectName
in interface ProjectDao
public boolean isExistingProjectKey(@NotNull java.lang.String projectKey)
isExistingProjectKey
in interface ProjectDao
public Project getProjectByKey(@NotNull java.lang.String key)
getProjectByKey
in interface ProjectDao
public Project getProjectByName(@NotNull java.lang.String projectName)
getProjectByName
in interface ProjectDao
@NotNull public java.util.Collection<Project> getAllProjectsMarkedForDeletion()
getAllProjectsMarkedForDeletion
in interface ProjectDao
Project
s that are marked for deletion..public java.util.List findAll()
findAll
in interface bucket.core.persistence.ObjectDao
findAll
in class com.atlassian.hibernate.HibernateObjectDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |