com.gisgraphy.domain.repository
Interface IRepositoryStrategy

All Known Implementing Classes:
RepositoryStrategy

public interface IRepositoryStrategy


Method Summary
 java.util.Collection<IGisDao<? extends GisFeature>> getAvailablesDaos()
           
 IGisDao<? extends GisFeature> getDao(java.lang.Class<? extends GisFeature> placeType)
           
 

Method Detail

getDao

IGisDao<? extends GisFeature> getDao(java.lang.Class<? extends GisFeature> 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

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


Copyright © 2010. All Rights Reserved.