Interface RevisionedMasterDataDao<E extends com.devonfw.module.basic.common.api.entity.RevisionedPersistenceEntity<Long>>
-
- Type Parameters:
E
- is the generic type of thePersistenceEntity
.
- All Superinterfaces:
com.devonfw.module.jpa.dataaccess.api.feature.FeatureForceIncrementModificationCounter<E>
,GenericDao<Long,E>
,GenericRevisionedDao<Long,E>
public interface RevisionedMasterDataDao<E extends com.devonfw.module.basic.common.api.entity.RevisionedPersistenceEntity<Long>> extends GenericRevisionedDao<Long,E>
This is the interface for aDao
responsible for aRevisionedPersistenceEntity
that represents master-data. In that case you typically have a limited number of entities in your persistent store and need operations likefindAll()
.
ATTENTION:
Such operations are not part ofGenericDao
orDao
as invoking them (accidently) could cause that an extraordinary large number of entities are loaded into main memory and could cause serious performance and stability disasters. So only extend this interface in case you are aware of what you are doing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<E>
findAll()
-
Methods inherited from interface com.devonfw.module.jpa.dataaccess.api.feature.FeatureForceIncrementModificationCounter
forceIncrementModificationCounter
-
Methods inherited from interface com.devonfw.module.jpa.dataaccess.api.GenericDao
delete, delete, exists, find, findAll, findOne, get, save, save
-
Methods inherited from interface com.devonfw.module.jpa.dataaccess.api.GenericRevisionedDao
delete, getRevisionHistory, getRevisionHistoryMetadata, load
-
-