/layers-store/src/main/java/org/ala/layers/dao/FieldDAO.java

http://alageospatialportal.googlecode.com/ · 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. package org.ala.layers.dao;
  16. import java.util.List;
  17. import org.ala.layers.dto.Field;
  18. /**
  19. * DAO for the Field object
  20. *
  21. * @author ajay
  22. */
  23. public interface FieldDAO {
  24. public List<Field> getFields();
  25. public Field getFieldById(String id);
  26. public List<Field> getFieldsByDB();
  27. }