1 18 19 package org.apache.roller.ui.core.tags.menu; 20 21 import javax.servlet.http.HttpServletRequest ; 22 23 import org.apache.roller.RollerException; 24 25 26 public interface Menu { 27 28 29 public String getName(); 30 31 32 public java.util.Vector getMenuItems(); 33 34 35 public boolean isSelected( HttpServletRequest req ) throws RollerException; 36 37 38 public MenuItem getSelectedMenuItem( HttpServletRequest req ) throws RollerException; 39 40 41 public String getUrl( javax.servlet.jsp.PageContext pctx ); 42 43 44 public boolean isPermitted( HttpServletRequest req ) throws RollerException; 45 46 47 public void setRoles( String roles ); 48 49 50 public void setEnabledProperty( String enabledProperty ); 51 52 53 public void setDisabledProperty( String disabledProperty ); 54 } 55 56 | Popular Tags |