com.silverpeas.personalization.dao
Interface PersonalizationDetailDao

All Superinterfaces:
org.springframework.data.repository.CrudRepository<UserPreferences,String>, org.springframework.data.jpa.repository.JpaRepository<UserPreferences,String>, org.springframework.data.repository.PagingAndSortingRepository<UserPreferences,String>, org.springframework.data.repository.Repository<UserPreferences,String>

public interface PersonalizationDetailDao
extends org.springframework.data.jpa.repository.JpaRepository<UserPreferences,String>


Method Summary
 List<UserPreferences> findByDefaultSpace(String space)
           
 
Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllInBatch, deleteInBatch, findAll, findAll, flush, save, saveAndFlush
 
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
 
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, delete, delete, deleteAll, exists, findAll, findOne, save
 

Method Detail

findByDefaultSpace

@Query(value="from UserPreferences p WHERE p.collaborativeWorkSpaceId = :space")
List<UserPreferences> findByDefaultSpace(@Param(value="space")
                                               String space)


Copyright © 2016 Silverpeas. All Rights Reserved.