PageRenderTime 27ms CodeModel.GetById 16ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/alaspatial/src/main/java/org/ala/spatial/dao/LayersDAO.java

http://alageospatialportal.googlecode.com/
Java | 25 lines | 17 code | 3 blank | 5 comment | 0 complexity | 4d8f1e77bf9060021841e1232e2f9393 MD5 | raw file
 1package org.ala.spatial.dao;
 2
 3import java.util.List;
 4import org.ala.spatial.model.LayerInfo;
 5
 6/**
 7 * DAO class for the LayerInfo class / 'layers' list
 8 * 
 9 * @author ajay
10 */
11public interface LayersDAO {
12    public List<LayerInfo> getLayers();
13    public LayerInfo getLayerById(String id);
14    public LayerInfo getLayerById(String id, boolean force);
15    public List<LayerInfo> getLayersByName(String name);
16    public List<LayerInfo> getLayersByDisplayName(String name);
17    public List<LayerInfo> getLayersByType(String type);
18    public List<LayerInfo> getLayersBySource(String source);
19    public List<LayerInfo> getLayersByExtent(String extent);
20    public List<LayerInfo> getLayersByEnabled(boolean enabled);
21    public List<LayerInfo> getLayersByNotes(String notes);
22    public List<LayerInfo> getLayersByCriteria(String keywords);
23
24    public void addLayer(LayerInfo layer);
25}