/layers-store/src/main/java/org/ala/layers/dao/FieldDAO.java
Java | 30 lines | 8 code | 3 blank | 19 comment | 0 complexity | 044d37a4d2983880ba5ec3e02ad912ee MD5 | raw file
1/************************************************************************** 2 * Copyright (C) 2010 Atlas of Living Australia 3 * All Rights Reserved. 4 * 5 * The contents of this file are subject to the Mozilla Public 6 * License Version 1.1 (the "License"); you may not use this file 7 * except in compliance with the License. You may obtain a copy of 8 * the License at http://www.mozilla.org/MPL/ 9 * 10 * Software distributed under the License is distributed on an "AS 11 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 12 * implied. See the License for the specific language governing 13 * rights and limitations under the License. 14 ***************************************************************************/ 15 16package org.ala.layers.dao; 17 18import java.util.List; 19import org.ala.layers.dto.Field; 20 21/** 22 * DAO for the Field object 23 * 24 * @author ajay 25 */ 26public interface FieldDAO { 27 public List<Field> getFields(); 28 public Field getFieldById(String id); 29 public List<Field> getFieldsByDB(); 30}