KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > security > Item


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.core.security;
10
11 import java.util.Set JavaDoc;
12
13 /**
14  * An item of the model. It owns a name, a description and a set
15  * of permissions attached to it.
16  *
17  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
18  * @version $Revision: 1.2 $
19  */

20 public interface Item
21 {
22    /**
23     * Return the item name.
24     */

25    String JavaDoc getName();
26    
27    /**
28     * Return a description of the item.
29     */

30    String JavaDoc getDescription();
31    
32    /**
33     * Returns a set of permissions names.
34     */

35    Set JavaDoc getPermissionsNames();
36 }
37
Popular Tags