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 ;12 13 /**14 * An item of the model. It owns a name, a description and a set15 * 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 Item21 {22 /**23 * Return the item name. 24 */25 String getName();26 27 /**28 * Return a description of the item. 29 */30 String getDescription();31 32 /**33 * Returns a set of permissions names. 34 */35 Set getPermissionsNames();36 }37