com.atlassian.bamboo.capability
Interface CapabilityDao

All Superinterfaces:
BambooObjectDao, bucket.core.persistence.ObjectDao
All Known Implementing Classes:
CapabilityDaoImpl

public interface CapabilityDao
extends BambooObjectDao


Method Summary
 java.util.Collection<Capability> findCapabilitiesMatchingPrefix(java.lang.String capabilityKeyPrefix)
           
 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.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 interface com.atlassian.bamboo.persistence.BambooObjectDao
findById
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getCapability

@Nullable
Capability getCapability(@NotNull
                                  java.lang.Long capabilityId)

removeCapability

void removeCapability(@NotNull
                      java.lang.Long capabilityId)

updateCapability

void updateCapability(@NotNull
                      java.lang.Long capabilityId,
                      @NotNull
                      java.lang.String value)

getCapabilitiesFromKey

@NotNull
java.util.List<CapabilityAgentMapping> getCapabilitiesFromKey(@NotNull
                                                                      java.lang.String capabilityKey)

getElasticImageCapabilitiesFromKey

@NotNull
java.util.List<CapabilityElasticImageMapping> getElasticImageCapabilitiesFromKey(@NotNull
                                                                                         java.lang.String capabilityKey)

getAgentIdsFromKey

@NotNull
java.util.List<java.lang.Long> getAgentIdsFromKey(@NotNull
                                                          java.lang.String capabilityKey)

getRequirementsFromKey

@NotNull
java.util.List<RequirementPlanMapping> getRequirementsFromKey(@NotNull
                                                                      java.lang.String requirementKey)

findCapabilitiesMatchingPrefix

@NotNull
java.util.Collection<Capability> findCapabilitiesMatchingPrefix(@NotNull
                                                                        java.lang.String capabilityKeyPrefix)


Copyright © 2012 Atlassian. All Rights Reserved.