Package net.solarnetwork.central.dao
Interface UserModifiableEnabledStatusDao<F>
- Type Parameters:
F- the filter type
public interface UserModifiableEnabledStatusDao<F>
DAO API for updating user-modifiable enabled status on entities.
-
Method Summary
Modifier and TypeMethodDescriptionintupdateEnabledStatus(Long userId, F filter, boolean enabled) Update the enabled status of entities, optionally filtered.
-
Method Details
-
updateEnabledStatus
Update the enabled status of entities, optionally filtered.- Parameters:
userId- the user ID to update configurations forfilter- an optional filterenabled- the enabled status to set- Returns:
- the number of entities updated
-