com.silverpeas.pdc.dao
Interface PdcAxisValueRepository

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

public interface PdcAxisValueRepository
extends org.springframework.data.jpa.repository.JpaRepository<PdcAxisValue,PdcAxisValuePk>

DAO that handles the persistence of PdcAxisValue beans.


Method Summary
 List<PdcAxisValue> findByAxisId(Long axisId)
          Finds all the values of the specified PdC's axis.
 
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

findByAxisId

@Query(value="from PdcAxisValue where axisId = :axisId")
List<PdcAxisValue> findByAxisId(@Param(value="axisId")
                                      Long axisId)
Finds all the values of the specified PdC's axis.

Parameters:
axisId - the unique identifier of the axis.
Returns:
a list of the values of the specified axis.


Copyright © 2016 Silverpeas. All Rights Reserved.