com.webmethods.caf.faces.data.portal
Class PortalItemModel

java.lang.Object
  extended by com.webmethods.caf.faces.bean.PageFlowScopeAdapter
      extended by com.webmethods.caf.faces.data.portal.PortalItemModel
All Implemented Interfaces:
IPageFlowScopeAdapter, IContentProvider, Serializable
Direct Known Subclasses:
UpdateablePortalItemModel

Deprecated. Use JCR providers instead

public class PortalItemModel
extends PageFlowScopeAdapter
implements IContentProvider, Serializable

See Also:
Serialized Form

Field Summary
protected  String m_itemID
          Deprecated.  
protected  IView m_thingView
          Deprecated.  
 
Fields inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
fExpireWithPageFlow
 
Constructor Summary
PortalItemModel()
          Deprecated.  
PortalItemModel(IThingID thingID)
          Deprecated.  
PortalItemModel(IView view)
          Deprecated.  
 
Method Summary
 String[] getAliases()
          Deprecated.  
 String getDescription()
          Deprecated.  
 String getDisplayName()
          Deprecated. Get the display name (localized, or other override).
 String getHierachicalUri()
          Deprecated.  
 String getIconURL()
          Deprecated.  
 String getItemID()
          Deprecated.  
 String getName()
          Deprecated.  
 Object[] getPropertyKeys()
          Deprecated. Returns list of properties supported by this content provider.
 Class getType(Object propertyName)
          Deprecated. Returns java type of the given property
 String getURL()
          Deprecated.  
 Object getValue(Object propertyName)
          Deprecated. Returns value of the given property
 boolean hasProperty(Object propertyName)
          Deprecated. Checks if the given property is supported by this content provider
 void setItemID(String itemID)
          Deprecated.  
 String toString()
          Deprecated. Returns string representation of content.
 
Methods inherited from class com.webmethods.caf.faces.bean.PageFlowScopeAdapter
getExpireWithPageFlow, setExpireWithPageFlow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_itemID

protected String m_itemID
Deprecated. 

m_thingView

protected transient IView m_thingView
Deprecated. 
Constructor Detail

PortalItemModel

public PortalItemModel()
Deprecated. 

PortalItemModel

public PortalItemModel(IThingID thingID)
Deprecated. 

PortalItemModel

public PortalItemModel(IView view)
Deprecated. 
Method Detail

getItemID

public String getItemID()
Deprecated. 

setItemID

public void setItemID(String itemID)
Deprecated. 

getURL

public String getURL()
              throws ContentProviderException
Deprecated. 
Throws:
ContentProviderException

getIconURL

public String getIconURL()
Deprecated. 

getName

public String getName()
               throws ContentProviderException
Deprecated. 
Throws:
ContentProviderException

getDisplayName

public String getDisplayName()
                      throws ContentProviderException
Deprecated. 
Get the display name (localized, or other override).

Returns:
Throws:
ContentProviderException

getDescription

public String getDescription()
                      throws ContentProviderException
Deprecated. 
Throws:
ContentProviderException

getPropertyKeys

public Object[] getPropertyKeys()
Deprecated. 
Description copied from interface: IContentProvider
Returns list of properties supported by this content provider. Can return Object[0], never null.

Specified by:
getPropertyKeys in interface IContentProvider
Returns:
array of property keys which is typically of type String or Integer

getType

public Class getType(Object propertyName)
              throws PropertyNotFoundException
Deprecated. 
Description copied from interface: IContentProvider
Returns java type of the given property

Specified by:
getType in interface IContentProvider
Parameters:
propertyName - the property key of type String or Integer
Returns:
property java Class
Throws:
PropertyNotFoundException - if property is not supported

getValue

public Object getValue(Object propertyName)
                throws EvaluationException,
                       PropertyNotFoundException
Deprecated. 
Description copied from interface: IContentProvider
Returns value of the given property

Specified by:
getValue in interface IContentProvider
Parameters:
propertyName - the property key of type String or Integer
Returns:
value of the property, can be null
Throws:
EvaluationException - if error during property evaluation
PropertyNotFoundException - if property is not supported

hasProperty

public boolean hasProperty(Object propertyName)
Deprecated. 
Description copied from interface: IContentProvider
Checks if the given property is supported by this content provider

Specified by:
hasProperty in interface IContentProvider
Parameters:
propertyName - property key of type String or Integer
Returns:
true if property is supported

getAliases

public String[] getAliases()
Deprecated. 

getHierachicalUri

public String getHierachicalUri()
Deprecated. 

toString

public String toString()
Deprecated. 
Description copied from interface: IContentProvider
Returns string representation of content.

Specified by:
toString in interface IContentProvider
Overrides:
toString in class Object
Returns:
String representation of the wrapped content