1 16 17 package org.apache.jetspeed.om.registry; 18 19 import java.util.Iterator ; 20 import java.util.Map ; 21 22 29 public interface PortletInfoEntry extends RegistryEntry 30 { 31 32 33 public String getClassname(); 34 35 41 public void setClassname( String classname ); 42 43 44 public Iterator getParameterNames(); 45 46 49 public Map getParameterMap(); 50 51 57 public Parameter getParameter( String name ); 58 59 63 public void addParameter( String name, String value ); 64 65 68 public void addParameter( Parameter parameter ); 69 70 75 public void removeParameter( String name ); 76 77 82 public Iterator listMediaTypes(); 83 84 90 public boolean hasMediaType(String name); 91 92 97 public void addMediaType(String name); 98 99 104 public void removeMediaType(String name); 105 106 107 public Iterator getToolNames(); 108 109 112 public Map getToolMap(); 113 114 120 public ToolDescriptor getTool( String name ); 121 122 125 public void addTool( ToolDescriptor tool ); 126 127 132 public void removeTool( String name ); 133 134 } | Popular Tags |