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)
EnvironmentCustomConfigDao
findById
in interface EnvironmentCustomConfigDao
environmentId
- 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 EnvironmentCustomConfigDao
public void delete(@NotNull EnvironmentCustomConfig environmentCustomConfig)
delete
in interface EnvironmentCustomConfigDao
@NotNull public List<EnvironmentCustomConfig> findAll(int firstResult, int maxResults)
EnvironmentCustomConfigDao
findAll
in interface EnvironmentCustomConfigDao
public long getCount()
EnvironmentCustomConfigDao
getCount
in interface EnvironmentCustomConfigDao
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.