001/* 002 * openwms.org, the Open Warehouse Management System. 003 * Copyright (C) 2014 Heiko Scherrer 004 * 005 * This file is part of openwms.org. 006 * 007 * openwms.org is free software: you can redistribute it and/or modify 008 * it under the terms of the GNU General Public License as 009 * published by the Free Software Foundation; either version 2 of the 010 * License, or (at your option) any later version. 011 * 012 * openwms.org is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 015 * GNU General Public License for more details. 016 * 017 * You should have received a copy of the GNU General Public License 018 * along with this software. If not, write to the Free Software 019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 020 * 02110-1301 USA, or see the FSF site: http://www.fsf.org. 021 */ 022package org.openwms.common.integration; 023 024import java.util.List; 025 026import org.openwms.common.domain.Location; 027import org.openwms.core.integration.GenericDao; 028 029/** 030 * A LocationDao adds particular functionality regarding {@link Location} entity classes. 031 * 032 * @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a> 033 * @version $Revision$ 034 * @since 0.1 035 * @see org.openwms.core.integration.GenericDao 036 * @see org.openwms.common.domain.Location 037 */ 038public interface LocationDao extends GenericDao<Location, Long> { 039 040 /** 041 * Retrieve all {@link Location}s in natural order. 042 * 043 * @return A List of all {@link Location}s 044 */ 045 List<Location> getAllLocations(); 046}