Package com.atlassian.bamboo.bandana
Class BandanaItemDaoImpl
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
- com.atlassian.bamboo.bandana.BandanaItemDaoImpl
-
- All Implemented Interfaces:
BandanaItemDao
,org.springframework.beans.factory.InitializingBean
public class BandanaItemDaoImpl extends org.springframework.orm.hibernate5.support.HibernateDaoSupport implements BandanaItemDao
-
-
Constructor Summary
Constructors Constructor Description BandanaItemDaoImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Collection<BandanaItem>
findBandanaItems(@NotNull BambooBandanaContext bandanaContext)
@NotNull Collection<String>
findBandanaKeys(@NotNull BambooBandanaContext bandanaContext)
@NotNull Collection<BandanaItem>
getAllBandanaItems()
BandanaItem
getBandanaItem(@NotNull BambooBandanaContext bandanaContext, String key)
void
remove(BambooBandanaContext bandanaContext, String key)
void
removeAllFromContext(@NotNull BambooBandanaContext bandanaContext)
void
save(@NotNull BandanaItem bandanaItem)
void
saveOrUpdate(@NotNull BambooBandanaContext bandanaContext, String key, String xStreamData)
-
-
-
Method Detail
-
getBandanaItem
public BandanaItem getBandanaItem(@NotNull @NotNull BambooBandanaContext bandanaContext, String key)
- Specified by:
getBandanaItem
in interfaceBandanaItemDao
-
findBandanaItems
@NotNull public @NotNull Collection<BandanaItem> findBandanaItems(@NotNull @NotNull BambooBandanaContext bandanaContext)
- Specified by:
findBandanaItems
in interfaceBandanaItemDao
-
findBandanaKeys
@NotNull public @NotNull Collection<String> findBandanaKeys(@NotNull @NotNull BambooBandanaContext bandanaContext)
- Specified by:
findBandanaKeys
in interfaceBandanaItemDao
-
getAllBandanaItems
@NotNull public @NotNull Collection<BandanaItem> getAllBandanaItems()
- Specified by:
getAllBandanaItems
in interfaceBandanaItemDao
-
save
public void save(@NotNull @NotNull BandanaItem bandanaItem)
- Specified by:
save
in interfaceBandanaItemDao
-
saveOrUpdate
public void saveOrUpdate(@NotNull @NotNull BambooBandanaContext bandanaContext, String key, String xStreamData)
- Specified by:
saveOrUpdate
in interfaceBandanaItemDao
-
removeAllFromContext
public void removeAllFromContext(@NotNull @NotNull BambooBandanaContext bandanaContext)
- Specified by:
removeAllFromContext
in interfaceBandanaItemDao
-
remove
public void remove(BambooBandanaContext bandanaContext, String key)
- Specified by:
remove
in interfaceBandanaItemDao
-
-