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.User;
22  import org.springframework.dao.DataAccessException;
23  
24  /***
25   * Specific dao for the jobs.
26   *
27   * @author bme (Last modified by $Author: stephan_janssen $)
28   * $Revision: 1.2 $ - $Date: 2005/10/11 08:34:39 $
29   */
30  public interface JobOfferDao extends OfferDao {
31  	
32      /***
33       * Get the total number of joboffers posted by the current user.
34        *@param currentUser The current user
35       * @return an int indicating the number of offers posted.
36       * @throws org.springframework.dao.DataAccessException thrown when something goes wrong
37       */
38       int getUserJobOfferCount(User currentUser) throws DataAccessException;
39  	
40  }
41  /***
42   * $Log: JobOfferDao.java,v $
43   * Revision 1.2  2005/10/11 08:34:39  stephan_janssen
44   * removed public modifier and added author CVS tag.
45   *
46   * Revision 1.1  2005/08/26 07:58:30  ge0ffrey
47   * split up the sources in service, serviceimpl and webclient
48   *
49   * Revision 1.3  2005/08/05 07:48:59  psong09
50   * added named query to Offer
51   *
52   * Revision 1.2  2005/08/05 07:42:56  bme_jcs
53   * first release
54   *
55   */