public class LabelHibernateDao extends BambooHibernateObjectDao implements LabelDao
| Constructor and Description |
|---|
LabelHibernateDao() |
executeReturnLong, findById, findByIdfindAll, 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, updateModificationDatacheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindByIdpublic Class getPersistentClass()
getPersistentClass in interface bucket.core.persistence.ObjectDao@Nullable public Label findLabelByNameAndNamespace(String name, String namespace)
findLabelByNameAndNamespace in interface LabelDao@NotNull public List<Label> findLabelsByNameAndNamespace(List<String> names, String namespace)
findLabelsByNameAndNamespace in interface LabelDao@Nullable public Labelling findLabellingByResultsSummary(Label label, ResultsSummary resultsSummary)
findLabellingByResultsSummary in interface LabelDao@Nullable public Labelling findLabellingByResultsSummary(String name, String namespace, ResultsSummary buildResultsSummary)
findLabellingByResultsSummary in interface LabelDao@Nullable public Labelling findLabellingByBuild(Label label, ImmutablePlan plan)
findLabellingByBuild in interface LabelDao@Nullable public Labelling findLabellingByBuild(String name, String namespace, ImmutablePlan plan)
findLabellingByBuild in interface LabelDao@Nullable public Labelling findLabellingByProject(Label label, Project project)
findLabellingByProject in interface LabelDaopublic long getUsageCountForLabel(Label label)
getUsageCountForLabel in interface LabelDao@NotNull public List<ResultsSummary> findResultsSummaryByNameAndNamespace(String name, String namespace)
findResultsSummaryByNameAndNamespace in interface LabelDao@NotNull public List<LabelCount> findLabels(String namespace, int maxResults)
findLabels in interface LabelDao@NotNull public Set<Label> findPlanLabels(String namespace)
findPlanLabels in interface LabelDao@NotNull public Set<Label> findPlanLabels(String namespace, @NotNull PlanIdentifier plan)
findPlanLabels in interface LabelDao@NotNull public List<LabelCount> findLabels(String namespace, int maxResults, Plan plan)
findLabels in interface LabelDao@NotNull public List<LabelCount> findLabels(String namespace, int maxResults, Project project)
findLabels in interface LabelDao@NotNull public List<Labelling> findLabels(ImmutablePlan plan)
findLabels in interface LabelDao@NotNull public List<Labelling> findLabels(Project project)
findLabels in interface LabelDao@NotNull public List<Labelling> findLabellingByUser(String userName)
findLabellingByUser in interface LabelDaopublic void saveLabelling(@NotNull
Labelling labelling)
saveLabelling in interface LabelDao@NotNull public Set<String> getResultSummaryLabelNames(@NotNull ResultsSummary resultsSummary)
getResultSummaryLabelNames in interface LabelDaoCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.