Interface SPGroupRepository
-
- All Superinterfaces:
EntityRepository<SPGroup>
,WithSaveAndFlush<SPGroup>
- All Known Implementing Classes:
SPGroupJpaRepository
public interface SPGroupRepository extends EntityRepository<SPGroup>, WithSaveAndFlush<SPGroup>
- Author:
- ehugonnet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<SPGroup>
listAllRootGroups()
SPGroup
saveAndFlush(SPGroup account)
Saves the specified entity and then flushes the persistence context into the underlying data sources.-
Methods inherited from interface org.silverpeas.core.persistence.datasource.repository.EntityRepository
contains, delete, delete, deleteByComponentInstanceId, deleteById, deleteById, findByCriteria, flush, getAll, getById, getById, getById, save, save, save
-
-
-
-
Method Detail
-
saveAndFlush
SPGroup saveAndFlush(SPGroup account)
Description copied from interface:WithSaveAndFlush
Saves the specified entity and then flushes the persistence context into the underlying data sources.- Specified by:
saveAndFlush
in interfaceWithSaveAndFlush<SPGroup>
- Parameters:
account
- the entity to save.- Returns:
- the saved entity.
-
-