KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > javabb > dao > entity > ISmileDAO


1 package org.javabb.dao.entity;
2
3 import java.util.List JavaDoc;
4
5 import org.javabb.dao.DAOConstants;
6 import org.javabb.vo.Smile;
7
8 /*
9  * Copyright 2004 JavaFree.org
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  * http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  */

23
24 /**
25  * $Id: ISmileDAO.java,v 1.1.8.2 2006/04/17 17:47:27 daltoncamargo Exp $
26  * @author Dalton Camargo - <a HREF="mailto:dalton@javabb.org">dalton@javabb.org </a> <br>
27  * @author Ronald Tetsuo Miura
28  */

29 public interface ISmileDAO extends DAOConstants {
30     /**
31      * @return a List of all Emoticons
32      */

33     public List JavaDoc findAll();
34
35     /**
36      * @param id
37      * @return emoticon
38      */

39     public Smile load(Long JavaDoc id);
40
41     /**
42      * @param smile
43      * @return new id
44      */

45     public Long JavaDoc create(Smile smile);
46
47     /**
48      * @param emoticonId
49      */

50     public void delete(Long JavaDoc emoticonId);
51
52     /**
53      * @param s
54      */

55     public void update(Smile s);
56 }
57
Popular Tags