1 2 package org.roller.presentation.tags.menu; 3 import org.roller.RollerException; 4 5 import javax.servlet.http.HttpServletRequest ; 6 7 8 public interface Menu 9 { 10 11 public String getName(); 12 13 14 public java.util.Vector getMenuItems(); 15 16 17 public boolean isSelected( HttpServletRequest req ) throws RollerException; 18 19 20 public MenuItem getSelectedMenuItem( HttpServletRequest req ) throws RollerException; 21 22 23 public String getUrl( javax.servlet.jsp.PageContext pctx ); 24 25 26 public boolean isPermitted( HttpServletRequest req ) throws RollerException; 27 28 29 public void setRoles( String roles ); 30 31 32 public void setEnabledProperty( String enabledProperty ); 33 34 35 public void setDisabledProperty( String disabledProperty ); 36 } 37 38 | Popular Tags |