public class EnvironmentCustomConfigHibernateDao extends StatelessSessionHibernateDaoSupport implements EnvironmentCustomConfigDao
| Constructor and Description |
|---|
EnvironmentCustomConfigHibernateDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(EnvironmentCustomConfig environmentCustomConfig) |
List<EnvironmentCustomConfig> |
findAll(int firstResult,
int maxResults)
Get paginated list of all custom configurations.
|
EnvironmentCustomConfig |
findById(long environmentId)
Gets specific Environment custom configuration by environment ID.
|
long |
getCount()
Count all custom configurations.
|
void |
saveOrUpdate(EnvironmentCustomConfig environmentCustomConfig) |
getCacheAwareHibernateTemplate@Nullable public EnvironmentCustomConfig findById(long environmentId)
EnvironmentCustomConfigDaofindById in interface EnvironmentCustomConfigDaoenvironmentId - ID of the environment your looking for.EnvironmentCustomConfig with given environment id or null if one with that ID could not be found.public void saveOrUpdate(@NotNull
EnvironmentCustomConfig environmentCustomConfig)
saveOrUpdate in interface EnvironmentCustomConfigDaopublic void delete(@NotNull
EnvironmentCustomConfig environmentCustomConfig)
delete in interface EnvironmentCustomConfigDao@NotNull public List<EnvironmentCustomConfig> findAll(int firstResult, int maxResults)
EnvironmentCustomConfigDaofindAll in interface EnvironmentCustomConfigDaopublic long getCount()
EnvironmentCustomConfigDaogetCount in interface EnvironmentCustomConfigDaoCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.