public class PortalItemModel extends PageFlowScopeAdapter implements IContentProvider, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
m_itemID |
protected IView |
m_thingView |
fExpireWithPageFlow
Constructor and Description |
---|
PortalItemModel() |
PortalItemModel(IThingID thingID) |
PortalItemModel(IView view) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAliases() |
String |
getDescription() |
String |
getDisplayName()
Get the display name (localized, or other override).
|
String |
getHierachicalUri() |
String |
getIconURL() |
String |
getItemID() |
String |
getName() |
Object[] |
getPropertyKeys()
Returns list of properties supported by this content provider.
|
Class<?> |
getType(Object propertyName)
Returns java type of the given property
|
String |
getURL() |
Object |
getValue(Object propertyName)
Returns value of the given property
|
boolean |
hasProperty(Object propertyName)
Checks if the given property is supported by this content provider
|
void |
setItemID(String itemID) |
String |
toString()
Returns string representation of content.
|
getExpireWithPageFlow, setExpireWithPageFlow
public PortalItemModel()
public PortalItemModel(IThingID thingID)
public PortalItemModel(IView view)
public String getItemID()
public void setItemID(String itemID)
public String getURL() throws ContentProviderException
ContentProviderException
public String getIconURL()
public String getName() throws ContentProviderException
ContentProviderException
public String getDisplayName() throws ContentProviderException
ContentProviderException
public String getDescription() throws ContentProviderException
ContentProviderException
public Object[] getPropertyKeys()
IContentProvider
Object[0]
,
never null.getPropertyKeys
in interface IContentProvider
String
or Integer
public Class<?> getType(Object propertyName) throws PropertyNotFoundException
IContentProvider
getType
in interface IContentProvider
propertyName
- the property key of type String
or Integer
Class
PropertyNotFoundException
- if property is not supportedpublic Object getValue(Object propertyName) throws ELException, PropertyNotFoundException
IContentProvider
getValue
in interface IContentProvider
propertyName
- the property key of type String
or Integer
null
PropertyNotFoundException
- if property is not supportedELException
public boolean hasProperty(Object propertyName)
IContentProvider
hasProperty
in interface IContentProvider
propertyName
- property key of type String
or Integer
true
if property is supportedpublic String[] getAliases()
public String getHierachicalUri()
public String toString()
IContentProvider
toString
in interface IContentProvider
toString
in class Object
String
representation of the wrapped content