1 | package fr.mael.jiwigo.ui.mainframe; |
---|
2 | |
---|
3 | import fr.mael.jiwigo.om.Category; |
---|
4 | |
---|
5 | /** |
---|
6 | Copyright (c) 2010, Mael |
---|
7 | All rights reserved. |
---|
8 | |
---|
9 | Redistribution and use in source and binary forms, with or without |
---|
10 | modification, are permitted provided that the following conditions are met: |
---|
11 | * Redistributions of source code must retain the above copyright |
---|
12 | notice, this list of conditions and the following disclaimer. |
---|
13 | * Redistributions in binary form must reproduce the above copyright |
---|
14 | notice, this list of conditions and the following disclaimer in the |
---|
15 | documentation and/or other materials provided with the distribution. |
---|
16 | * Neither the name of jiwigo nor the |
---|
17 | names of its contributors may be used to endorse or promote products |
---|
18 | derived from this software without specific prior written permission. |
---|
19 | |
---|
20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
---|
21 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
---|
22 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
---|
23 | DISCLAIMED. IN NO EVENT SHALL Mael BE LIABLE FOR ANY |
---|
24 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
---|
25 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
---|
26 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
---|
27 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
---|
28 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
---|
29 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
---|
30 | * @author mael |
---|
31 | * Interface for thumbnail panels |
---|
32 | */ |
---|
33 | public interface IThumbnailPanel { |
---|
34 | /** |
---|
35 | * @return the categoryId |
---|
36 | */ |
---|
37 | public Integer getCategoryId(); |
---|
38 | |
---|
39 | /** |
---|
40 | * @param categoryId the categoryId to set |
---|
41 | */ |
---|
42 | public void setCategoryId(Integer categoryId); |
---|
43 | |
---|
44 | /** |
---|
45 | * @return the category |
---|
46 | */ |
---|
47 | public Category getCategory(); |
---|
48 | |
---|
49 | /** |
---|
50 | * @param category the category to set |
---|
51 | */ |
---|
52 | public void setCategory(Category category); |
---|
53 | } |
---|