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 org.openwms.common.domain.LocationGroup;
024 import org.openwms.core.integration.GenericDao;
025
026 /**
027 * A LocationGroupDao adds particular functionality regarding
028 * {@link LocationGroup} entity classes.
029 *
030 * @author <a href="mailto:scherrer@openwms.org">Heiko Scherrer</a>
031 * @version $Revision: 1409 $
032 * @since 0.1
033 * @see org.openwms.core.integration.GenericDao
034 * @see org.openwms.common.domain.LocationGroup
035 */
036 public interface LocationGroupDao extends GenericDao<LocationGroup, Long> {
037
038 /**
039 * Name of the <code>NamedQuery</code> to find all {@link LocationGroup}
040 * entities.
041 */
042 String NQ_FIND_ALL = "LocationGroup.findAll";
043
044 /**
045 * Name of the <code>NamedQuery</code> to find a {@link LocationGroup} by
046 * {@link LocationGroup#getName()}.
047 */
048 String NQ_FIND_BY_NAME = "LocationGroup.findByName";
049
050 }