fr.paris.lutece.plugins.stock.modules.billetterie.service.district
Class DistrictService

java.lang.Object
  extended by fr.paris.lutece.plugins.stock.modules.billetterie.service.district.DistrictService

@Service
@Transactional
public class DistrictService
extends Object


Constructor Summary
DistrictService()
           
 
Method Summary
 List<District> findAll()
          Get all the district in database
 List<District> findByFilter(DistrictFilter filter, fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties pagination)
          Get district by filter
 District findById(Integer id)
          Get district by id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistrictService

public DistrictService()
Method Detail

findById

public District findById(Integer id)
Get district by id

Parameters:
id - the id of the district search
Returns:
the District

findAll

public List<District> findAll()
Get all the district in database

Returns:
the list of the district

findByFilter

public List<District> findByFilter(DistrictFilter filter,
                                   fr.paris.lutece.plugins.stock.commons.dao.PaginationProperties pagination)
Get district by filter

Parameters:
filter - the district filter
pagination - the pagination properties
Returns:
the list of the district


Copyright © 2014 Mairie de Paris. All Rights Reserved.