org.jboss.portal.core.impl.model.content
Class AbstractContent
java.lang.Object
org.jboss.portal.core.impl.model.content.AbstractContent
- All Implemented Interfaces:
- Content
- Direct Known Subclasses:
- GenericContent, PortletContent
public abstract class AbstractContent
- extends java.lang.Object
- implements Content
- Version:
- $Revision: 1.1 $
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
state
protected final ContentState state
- .
AbstractContent
public AbstractContent(ContentState state)
isMutable
public boolean isMutable()
- Description copied from interface:
Content
- Returns true if the content state can be changed.
- Specified by:
isMutable
in interface Content
- Returns:
- true if the content state can be changed
getURI
public java.lang.String getURI()
- Description copied from interface:
Content
- Returns the content URI.
- Specified by:
getURI
in interface Content
- Returns:
- the content URI
setURI
public void setURI(java.lang.String uri)
- Description copied from interface:
Content
- Updates the content URI.
- Specified by:
setURI
in interface Content
- Parameters:
uri
- the new content URI value
clearParameters
public void clearParameters()
- Specified by:
clearParameters
in interface Content
getParameter
public java.lang.String getParameter(java.lang.String name)
throws java.lang.IllegalArgumentException
- Specified by:
getParameter
in interface Content
- Throws:
java.lang.IllegalArgumentException
setParameter
public void setParameter(java.lang.String name,
java.lang.String value)
throws java.lang.IllegalArgumentException
- Specified by:
setParameter
in interface Content
- Throws:
java.lang.IllegalArgumentException
getParameterNames
public java.util.Iterator getParameterNames()
- Specified by:
getParameterNames
in interface Content