|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LabelDao
Method Summary | |
---|---|
Label |
findLabelByNameAndNamespace(java.lang.String name,
java.lang.String namespace)
|
Labelling |
findLabellingByBuild(Label label,
Plan plan)
|
Labelling |
findLabellingByBuild(java.lang.String name,
java.lang.String namespace,
ImmutablePlan plan)
|
Labelling |
findLabellingByProject(Label label,
Project project)
|
Labelling |
findLabellingByResultsSummary(Label label,
ResultsSummary resultsSummary)
|
Labelling |
findLabellingByResultsSummary(java.lang.String name,
java.lang.String namespace,
ResultsSummary buildResultsSummary)
|
java.util.List<Labelling> |
findLabellingByUser(java.lang.String userName)
|
java.util.List<Labelling> |
findLabels(Plan plan)
|
java.util.List<Labelling> |
findLabels(Project project)
|
java.util.List<LabelCount> |
findLabels(java.lang.String namespace,
int maxResults)
|
java.util.List<LabelCount> |
findLabels(java.lang.String namespace,
int maxResults,
Plan plan)
|
java.util.List<LabelCount> |
findLabels(java.lang.String namespace,
int maxResults,
Project project)
|
java.util.List<Label> |
findLabelsByNameAndNamespace(java.util.List<java.lang.String> names,
java.lang.String namespace)
Find any labels that match the names in the specic namespace |
java.util.List<Label> |
findLabelsMatchingString(java.lang.String match,
java.lang.String escapeChar)
Find any labels that match the specified string. |
java.util.Set<Label> |
findPlanLabels(java.lang.String namespace)
Finds labels that are *only* plan level labellings matching the namespace. |
java.util.Set<Label> |
findPlanLabels(java.lang.String namespace,
PlanIdentifier plan)
Finds labels that are *only* plan level labellings matching the namespace and associated with a plan. |
java.util.List<ResultsSummary> |
findResultsSummaryByNameAndNamespace(java.lang.String name,
java.lang.String namespace)
|
long |
getUsageCountForLabel(Label label)
|
void |
saveLabel(Label label)
|
void |
saveLabelling(Labelling labelling)
|
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 |
---|
@Nullable Label findLabelByNameAndNamespace(java.lang.String name, java.lang.String namespace)
@NotNull java.util.List<Label> findLabelsByNameAndNamespace(java.util.List<java.lang.String> names, java.lang.String namespace)
names
- namespace
-
@NotNull java.util.List<Label> findLabelsMatchingString(java.lang.String match, java.lang.String escapeChar)
match
- escapeChar
- to escape special characters eg % _
@NotNull java.util.List<ResultsSummary> findResultsSummaryByNameAndNamespace(java.lang.String name, java.lang.String namespace)
@Nullable Labelling findLabellingByResultsSummary(Label label, ResultsSummary resultsSummary)
@Nullable Labelling findLabellingByResultsSummary(java.lang.String name, java.lang.String namespace, ResultsSummary buildResultsSummary)
long getUsageCountForLabel(Label label)
@Nullable Labelling findLabellingByBuild(Label label, Plan plan)
@Nullable Labelling findLabellingByBuild(java.lang.String name, java.lang.String namespace, ImmutablePlan plan)
@Nullable Labelling findLabellingByProject(Label label, Project project)
@NotNull java.util.List<LabelCount> findLabels(java.lang.String namespace, int maxResults)
@NotNull java.util.List<LabelCount> findLabels(java.lang.String namespace, int maxResults, Plan plan)
@NotNull java.util.List<LabelCount> findLabels(java.lang.String namespace, int maxResults, Project project)
@NotNull java.util.List<Labelling> findLabels(Plan plan)
@NotNull java.util.List<Labelling> findLabels(Project project)
@NotNull java.util.List<Labelling> findLabellingByUser(java.lang.String userName)
void saveLabel(@NotNull Label label)
void saveLabelling(@NotNull Labelling labelling)
@NotNull java.util.Set<Label> findPlanLabels(java.lang.String namespace)
namespace
- label namespace
@NotNull java.util.Set<Label> findPlanLabels(java.lang.String namespace, @NotNull PlanIdentifier plan)
namespace
- label namespaceplan
- plan to filter labels with
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |