Interface EnvironmentCustomConfigDao
-
- All Known Implementing Classes:
EnvironmentCustomConfigHibernateDao
public interface EnvironmentCustomConfigDao
Dao for interacting with Environments custom configuration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(@NotNull EnvironmentCustomConfig environmentCustomConfig)
@NotNull List<EnvironmentCustomConfig>
findAll(int firstResult, int maxResults)
Get paginated list of all custom configurations.@Nullable EnvironmentCustomConfig
findById(long environmentId)
Gets specific Environment custom configuration by environment ID.long
getCount()
Count all custom configurations.void
saveOrUpdate(@NotNull EnvironmentCustomConfig environmentCustomConfig)
-
-
-
Method Detail
-
findById
@Nullable @Nullable EnvironmentCustomConfig findById(long environmentId)
Gets specific Environment custom configuration by environment ID.- Parameters:
environmentId
- ID of the environment your looking for.- Returns:
EnvironmentCustomConfig
with given environment id or null if one with that ID could not be found.
-
saveOrUpdate
void saveOrUpdate(@NotNull @NotNull EnvironmentCustomConfig environmentCustomConfig)
-
delete
void delete(@NotNull @NotNull EnvironmentCustomConfig environmentCustomConfig)
-
findAll
@NotNull @NotNull List<EnvironmentCustomConfig> findAll(int firstResult, int maxResults)
Get paginated list of all custom configurations.- Since:
- 7.1
-
getCount
long getCount()
Count all custom configurations.- Since:
- 7.1
-
-