com.gisgraphy.domain.repository
Interface IRepositoryStrategy

All Known Implementing Classes:
RepositoryStrategy

public interface IRepositoryStrategy


Method Summary
 Collection<IGisDao<? extends GisFeature>> getAvailablesDaos()
           
 IGisDao<?> getDao(Class<?> placeType)
           
 

Method Detail

getDao

IGisDao<?> getDao(Class<?> placeType)
Parameters:
placeType - the placetype we'd like to retrieve the dao. if the place type is null the gisFeatureDao will be return
Returns:
the dao corresponding to the specified class
Throws:
a - RepositoryException if no dao is found for the specified placetype

getAvailablesDaos

Collection<IGisDao<? extends GisFeature>> getAvailablesDaos()
Returns:
all the availables daos. never return null but an empty Arraylist if there is no dao


Copyright © 2012. All Rights Reserved.