KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > raptus > owxv3 > api > ItemInfoIFace


1 /*
2  * eAdmin/OWX
3  * Copyright (C) 1996-2003 OWX-Project Team <owx-team@gmx.net>
4  */

5
6 /*
7  * ItemInfoIface.java
8  *
9  * Created on 10 decembrie 2001, 12:18
10  */

11
12 package com.raptus.owxv3.api;
13
14
15 import java.util.Locale JavaDoc;
16
17
18 /**
19  *
20  * This interface should be implemented by all modules using category, as is used
21  * to give a description in specified locale, for the items, when listing them
22  *
23  * Descendent classes should implement itemInfo, and handle srcrowid as they want
24  * (for example the srcrowid for news module will be the news item in the category,
25  * and the class implementing this interface can return the title of news)
26  */

27 public interface ItemInfoIFace
28 {
29     /**
30      * return the description of this item given by srcrowid, in given locale
31      * @param srcrowid - the item row id
32      * @param owner - the owner module
33      * @param locale - the locale in which the description is requested.
34      */

35     public String JavaDoc itemInfo(int srcrowid, String JavaDoc owner, Locale JavaDoc l);
36 }
37
38
Popular Tags