com.atlassian.bamboo.capability
Class CapabilityDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.hibernate.HibernateObjectDao
              extended by com.atlassian.bamboo.persistence.BambooHibernateObjectDao
                  extended by com.atlassian.bamboo.capability.CapabilityDaoImpl
All Implemented Interfaces:
bucket.core.persistence.ObjectDao, CapabilityDao, BambooObjectDao, org.springframework.beans.factory.InitializingBean

public class CapabilityDaoImpl
extends BambooHibernateObjectDao
implements CapabilityDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
CapabilityDaoImpl()
           
 
Method Summary
 java.util.List<java.lang.Long> getAgentIdsFromKey(java.lang.String capabilityKey)
           
 java.util.List<CapabilityAgentMapping> getCapabilitiesFromKey(java.lang.String capabilityKey)
           
 Capability getCapability(java.lang.Long capabilityId)
           
 java.util.List<CapabilityElasticImageMapping> getElasticImageCapabilitiesFromKey(java.lang.String capabilityKey)
           
 java.lang.Class<CapabilityImpl> getPersistentClass()
           
 java.util.List<RequirementPlanMapping> getRequirementsFromKey(java.lang.String requirementKey)
           
 void removeCapability(java.lang.Long capabilityId)
           
 void updateCapability(java.lang.Long capabilityId, java.lang.String value)
           
 
Methods inherited from class com.atlassian.bamboo.persistence.BambooHibernateObjectDao
executeCountQuery, executeReturnLong, findById, findById
 
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao
findAll, 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 bucket.core.persistence.ObjectDao
findAll, findAllSorted, refresh, remove, replicate, save, saveRaw
 

Constructor Detail

CapabilityDaoImpl

public CapabilityDaoImpl()
Method Detail

getPersistentClass

public java.lang.Class<CapabilityImpl> getPersistentClass()
Specified by:
getPersistentClass in interface bucket.core.persistence.ObjectDao

getCapabilitiesFromKey

@NotNull
public java.util.List<CapabilityAgentMapping> getCapabilitiesFromKey(@NotNull
                                                                             java.lang.String capabilityKey)
Specified by:
getCapabilitiesFromKey in interface CapabilityDao

getElasticImageCapabilitiesFromKey

@NotNull
public java.util.List<CapabilityElasticImageMapping> getElasticImageCapabilitiesFromKey(@NotNull
                                                                                                java.lang.String capabilityKey)
Specified by:
getElasticImageCapabilitiesFromKey in interface CapabilityDao

getAgentIdsFromKey

@NotNull
public java.util.List<java.lang.Long> getAgentIdsFromKey(@NotNull
                                                                 java.lang.String capabilityKey)
Specified by:
getAgentIdsFromKey in interface CapabilityDao

getRequirementsFromKey

@NotNull
public java.util.List<RequirementPlanMapping> getRequirementsFromKey(@NotNull
                                                                             java.lang.String requirementKey)
Specified by:
getRequirementsFromKey in interface CapabilityDao

getCapability

@Nullable
public Capability getCapability(@NotNull
                                         java.lang.Long capabilityId)
Specified by:
getCapability in interface CapabilityDao

removeCapability

public void removeCapability(@NotNull
                             java.lang.Long capabilityId)
Specified by:
removeCapability in interface CapabilityDao

updateCapability

public void updateCapability(@NotNull
                             java.lang.Long capabilityId,
                             @NotNull
                             java.lang.String value)
Specified by:
updateCapability in interface CapabilityDao


Copyright © 2010 Atlassian. All Rights Reserved.