public class ElasticInstanceScheduleDaoImpl extends BambooHibernateObjectDao implements ElasticInstanceScheduleDao
Constructor and Description |
---|
ElasticInstanceScheduleDaoImpl(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
List<ElasticInstanceSchedule> |
findElasticInstanceScheduleByImageConfiguration(ElasticImageConfiguration elasticImageConfiguration)
Returns schedules related to
ElasticImageConfiguration (both enabled and disabled) |
Class |
getPersistentClass() |
void |
remove(ElasticInstanceSchedule elasticInstanceSchedule)
Remove
ElasticInstanceSchedule |
findAll, findAllSorted, findById, findById, refresh, remove, replicate, save, saveRaw, setIndexer, updateModificationData
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findById
public ElasticInstanceScheduleDaoImpl(org.hibernate.SessionFactory sessionFactory)
public Class getPersistentClass()
getPersistentClass
in interface bucket.core.persistence.ObjectDao
public void remove(@NotNull ElasticInstanceSchedule elasticInstanceSchedule)
ElasticInstanceScheduleDao
ElasticInstanceSchedule
remove
in interface ElasticInstanceScheduleDao
elasticInstanceSchedule
- ElasticInstanceSchedule
to be removed@NotNull public List<ElasticInstanceSchedule> findElasticInstanceScheduleByImageConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration)
ElasticInstanceScheduleDao
ElasticImageConfiguration
(both enabled and disabled)findElasticInstanceScheduleByImageConfiguration
in interface ElasticInstanceScheduleDao
elasticImageConfiguration
- ElasticImageConfiguration
objectElasticInstanceSchedule
or empty list if nothing was foundCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.