5937N/A/*
5937N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
5937N/A *
5937N/A * Copyright (c) 2001-2010 Oracle and/or its affiliates. All rights reserved.
5937N/A *
5937N/A * The contents of this file are subject to the terms of either the GNU
5937N/A * General Public License Version 2 only ("GPL") or the Common Development
5937N/A * and Distribution License("CDDL") (collectively, the "License"). You
5937N/A * may not use this file except in compliance with the License. You can
5937N/A * obtain a copy of the License at
5937N/A * https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
5937N/A * or packager/legal/LICENSE.txt. See the License for the specific
5937N/A * language governing permissions and limitations under the License.
5937N/A *
5937N/A * When distributing the software, include this License Header Notice in each
5937N/A * file and include the License file at packager/legal/LICENSE.txt.
5937N/A *
5937N/A * GPL Classpath Exception:
5937N/A * Oracle designates this particular file as subject to the "Classpath"
5937N/A * exception as provided by Oracle in the GPL Version 2 section of the License
5937N/A * file that accompanied this code.
5937N/A *
5937N/A * Modifications:
5937N/A * If applicable, add the following below the License Header, with the fields
5937N/A * enclosed by brackets [] replaced by your own identifying information:
7102N/A * "Portions Copyright [year] [name of copyright owner]"
7102N/A *
7102N/A * Contributor(s):
5937N/A * If you wish your version of this file to be governed by only the CDDL or
5937N/A * only the GPL Version 2, indicate your decision by adding "[Contributor]
5937N/A * elects to include this software in this distribution under the [CDDL or GPL
5937N/A * Version 2] license." If you don't indicate a single choice of license, a
5937N/A * recipient has the option to distribute your version of this file under
5937N/A * either the CDDL, the GPL Version 2 or to extend the choice of license to
5937N/A * its licensees as provided above. However, if you add GPL Version 2 code
5937N/A * and therefore, elected the GPL Version 2 license, then the option applies
5937N/A * only if the new code is made subject to such option by the copyright
5937N/A * holder.
5937N/A */
5937N/A
5937N/Apackage team;
5937N/A
5937N/Aimport java.util.Collection;
5937N/Aimport javax.ejb.CreateException;
6001N/Aimport javax.ejb.EJBLocalHome;
6001N/Aimport javax.ejb.FinderException;
6001N/A
6001N/Apublic interface LocalTeamHome extends EJBLocalHome {
6001N/A
6001N/A public LocalTeam create (String id, String name, String city)
6001N/A throws CreateException;
6001N/A
5937N/A public LocalTeam findByPrimaryKey (String id)
5937N/A throws FinderException;
5937N/A
5937N/A public Collection findAll()
5937N/A throws FinderException;
5937N/A
5937N/A public Collection findByPlayerAndLeague(LocalPlayer player,
5937N/A LocalLeague league)
5937N/A throws FinderException;
5937N/A}
5937N/A