|
||||||||||
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.bamboo.persistence3.BambooHibernateObjectDao<PlanVcsRevisionHistoryItem> com.atlassian.bamboo.plan.vcsRevision.PlanVcsRevisionHistoryHibernateDao
public class PlanVcsRevisionHistoryHibernateDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
PlanVcsRevisionHistoryHibernateDao()
|
Method Summary | |
---|---|
void |
cleanupUnusedEntriesForPlan(java.lang.String planKey)
|
void |
createChangeDetectionHistoryItem(PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
Inserts new history item. |
void |
createOrUpdateChangeDetectionHistoryItem(PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
If item with the same plan key and build number exists it is updated with vcs information from the current one. |
void |
deleteVcsRevisionHistoryForPlan(java.lang.String planKey)
Deletes entire revision history for a plan. |
PlanVcsRevisionHistoryItem |
findLatestVcsRevisionHistoryItem(java.lang.String planKey)
Retrieves a history item with the highest build number. |
PlanVcsRevisionHistoryItem |
findLatestVcsRevisionHistoryItemBeforeBuildNumber(java.lang.String planKey,
int buildNumber)
Retrieves a history item with the highest build number that is lower than the argument. |
PlanVcsRevisionHistoryItem |
findVcsRevisionHistoryItem(java.lang.String planKey,
int buildNumber)
Retrieves a specific history item. |
void |
revertVcsRevisionForResult(java.lang.String planKey,
int buildNumber)
Deletes history item with specific key and build number. |
Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
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.persistence3.BambooObjectDao |
---|
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll |
Constructor Detail |
---|
public PlanVcsRevisionHistoryHibernateDao()
Method Detail |
---|
public PlanVcsRevisionHistoryItem findVcsRevisionHistoryItem(@NotNull java.lang.String planKey, int buildNumber)
PlanVcsRevisionHistoryDao
findVcsRevisionHistoryItem
in interface PlanVcsRevisionHistoryDao
@Nullable public PlanVcsRevisionHistoryItem findLatestVcsRevisionHistoryItem(@NotNull java.lang.String planKey)
PlanVcsRevisionHistoryDao
findLatestVcsRevisionHistoryItem
in interface PlanVcsRevisionHistoryDao
public PlanVcsRevisionHistoryItem findLatestVcsRevisionHistoryItemBeforeBuildNumber(@NotNull java.lang.String planKey, int buildNumber)
PlanVcsRevisionHistoryDao
findLatestVcsRevisionHistoryItemBeforeBuildNumber
in interface PlanVcsRevisionHistoryDao
public void createOrUpdateChangeDetectionHistoryItem(@NotNull PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
PlanVcsRevisionHistoryDao
createOrUpdateChangeDetectionHistoryItem
in interface PlanVcsRevisionHistoryDao
public void createChangeDetectionHistoryItem(@NotNull PlanVcsRevisionHistoryItem planVcsRevisionHistoryItem)
PlanVcsRevisionHistoryDao
createChangeDetectionHistoryItem
in interface PlanVcsRevisionHistoryDao
public void revertVcsRevisionForResult(@NotNull java.lang.String planKey, int buildNumber)
PlanVcsRevisionHistoryDao
revertVcsRevisionForResult
in interface PlanVcsRevisionHistoryDao
public void deleteVcsRevisionHistoryForPlan(@NotNull java.lang.String planKey)
PlanVcsRevisionHistoryDao
deleteVcsRevisionHistoryForPlan
in interface PlanVcsRevisionHistoryDao
public void cleanupUnusedEntriesForPlan(@NotNull java.lang.String planKey)
cleanupUnusedEntriesForPlan
in interface PlanVcsRevisionHistoryDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |