View Javadoc

1   /***
2    * Copyright (C) 2005 The Java Community
3    *
4    * This program is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU General Public License as published by the Free Software
6    * Foundation; either version 2 of the License, or (at your option) any later
7    * version.
8    *
9    * This program is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
12   * details.
13   *
14   * You should have received a copy of the GNU General Public License along with
15   * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
16   * Place, Suite 330, Boston, MA 02111-1307 USA.
17   *
18   */
19  package org.bejug.javacareers.jobs.dao;
20  
21  import org.bejug.javacareers.jobs.model.Item;
22  
23  /***
24   * dao for the item-tables.
25   *
26   * @author Bart Meyers (Last modified by $Author: stephan_janssen $)
27   * @version $Revision: 1.5 $ - $Date: 2005/10/11 08:33:33 $
28   */
29  public interface ItemDao {
30  	
31  	/***
32  	 * get an item by id.
33  	 * @param id Integer. 
34  	 * @return the wanted item.
35  	 */
36  	Item getItem(Integer id);
37  		
38  	/***
39  	 * delete an item . 
40  	 * @param item the item to delete.
41  	 */
42  	void deleteItem(Item item);
43  	
44  	/***
45  	 * delete an item by id. 
46  	 * @param id the id of the item to delete.
47  	 */
48  	void deleteItem(Integer id);
49  	
50  	/***
51  	 * store an item
52  	 * @param item Item.
53  	 */
54  	public void storeItem(Item item) ;
55  	
56  }
57  /***
58   * $Log: ItemDao.java,v $
59   * Revision 1.5  2005/10/11 08:33:33  stephan_janssen
60   * javadoc cleanup
61   *
62   * Revision 1.4  2005/09/06 15:37:51  schauwvliege
63   * typo
64   *
65   * Revision 1.3  2005/09/06 14:52:05  schauwvliege
66   * added add item
67   *
68   * Revision 1.2  2005/09/06 13:21:44  schauwvliege
69   * Intro if interview
70   *
71   * Revision 1.1  2005/08/26 07:58:30  ge0ffrey
72   * split up the sources in service, serviceimpl and webclient
73   *
74   * Revision 1.1  2005/08/24 08:04:39  bme_jcs
75   * first release
76   *
77   */