|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PortletInfoEntry defines all the common description properties for all the portlet related entries.
Method Summary | |
void |
addMediaType(java.lang.String name)
Add a new supported media type |
void |
addParameter(Parameter parameter)
Adds a new parameter for this entry |
void |
addParameter(java.lang.String name,
java.lang.String value)
Adds a new parameter for this entry |
void |
addTool(ToolDescriptor tool)
Adds a new tool to this entry |
java.lang.String |
getClassname()
|
Parameter |
getParameter(java.lang.String name)
Search for a named parameter and return the associated parameter object. |
java.util.Map |
getParameterMap()
Returns a map of parameter values keyed on the parameter names |
java.util.Iterator |
getParameterNames()
|
ToolDescriptor |
getTool(java.lang.String name)
Search for a named tool and return the associated ToolDescriptor. |
java.util.Map |
getToolMap()
Returns a map of tool descriptors keyed on the tool names |
java.util.Iterator |
getToolNames()
|
boolean |
hasMediaType(java.lang.String name)
Test if a given media type is supported by this entry. |
java.util.Iterator |
listMediaTypes()
Returns a list of the supported media type names |
void |
removeMediaType(java.lang.String name)
Remove support for a given media type |
void |
removeParameter(java.lang.String name)
Removes all parameter values associated with the name |
void |
removeTool(java.lang.String name)
Removes the tool associated with the name |
void |
setClassname(java.lang.String classname)
Sets the classname for this entry. |
Methods inherited from interface org.apache.jetspeed.om.registry.RegistryEntry |
getDescription, getId, getMetaInfo, getName, getSecurity, getSecurityRef, getTitle, isHidden, setDescription, setHidden, setMetaInfo, setName, setSecurity, setSecurityRef, setTitle |
Method Detail |
public java.lang.String getClassname()
public void setClassname(java.lang.String classname)
classname
- the classname used for instanciating the component
associated with this entrypublic java.util.Iterator getParameterNames()
public java.util.Map getParameterMap()
public Parameter getParameter(java.lang.String name)
name
- the parameter name to look for
public void addParameter(java.lang.String name, java.lang.String value)
name
- the new parameter namevalue
- the new parameter valuepublic void addParameter(Parameter parameter)
parameter
- the new parameter to addpublic void removeParameter(java.lang.String name)
name
- the parameter name to removepublic java.util.Iterator listMediaTypes()
public boolean hasMediaType(java.lang.String name)
name
- the media type name to test for.
public void addMediaType(java.lang.String name)
name
- the media type name to add.public void removeMediaType(java.lang.String name)
name
- the media type name to remove.public java.util.Iterator getToolNames()
public java.util.Map getToolMap()
public ToolDescriptor getTool(java.lang.String name)
name
- the tool name to look for
public void addTool(ToolDescriptor tool)
tool
- the new tool to addpublic void removeTool(java.lang.String name)
name
- the name of the tool to remove
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |