com.atlassian.bamboo.capability
Interface CapabilityDao

All Superinterfaces:
BambooObjectDao<Capability>
All Known Implementing Classes:
CapabilityDaoImpl

public interface CapabilityDao
extends BambooObjectDao<Capability>


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.persistence3.BambooObjectDao
delete, deleteAll, executeReturnLong, findAll, findById, save, saveAll
 

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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.