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