org.apache.wsrp4j.producer.provider.pluto.driver
Class PortletStateImpl

java.lang.Object
  extended byorg.apache.wsrp4j.producer.provider.pluto.driver.PortletStateImpl
All Implemented Interfaces:
PortletState, java.io.Serializable

public class PortletStateImpl
extends java.lang.Object
implements PortletState, java.io.Serializable

Implementation of the PortletStat interface

Version:
$Id: PortletStateImpl.java,v 1.6 2005/08/12 12:56:52 cziegeler Exp $
Author:
Peter Fischer
See Also:
PortletState, Serialized Form

Field Summary
private  oasis.names.tc.wsrp.v1.types.ModelDescription desc
           
private  java.lang.String portletHandle
           
 
Constructor Summary
PortletStateImpl()
           
 
Method Summary
 org.w3c.dom.Element getAsElement()
          Method getAsElement.
 org.w3c.dom.Element getAsElement(java.lang.String[] names)
          Method getAsElement.
 oasis.names.tc.wsrp.v1.types.PropertyList getAsPropertyList()
          Method getAsPropertyList.
 oasis.names.tc.wsrp.v1.types.PropertyList getAsPropertylist(java.lang.String[] names)
          Method getAsPropertylist.
 java.lang.String getAsString()
          Method getAsString.
 java.lang.String getAsString(java.lang.String[] names)
          Method getAsString.
 oasis.names.tc.wsrp.v1.types.ModelDescription getModelDescription()
          Returns the WSRP ModelDescription for this state
 java.lang.String getPortletHandle()
          Returns the portletHandle for this state
 java.util.HashMap getPropertyMap()
          Returns the HashMap with Properties for persistent file store reason.
 void setAsElement(org.w3c.dom.Element propertyList)
          Method setAsElement.
 void setAsPropertyList(oasis.names.tc.wsrp.v1.types.PropertyList portletState)
          Method setAsPropertyList.
 void setAsString(java.lang.String portletState)
          Method setAsString.
 void setModelDescription(oasis.names.tc.wsrp.v1.types.ModelDescription modelDescription)
          Set the WSRP ModelDescription for this state
 void setPortletHandle(java.lang.String portletHandle)
          Sets the portletHandle for this state
 void setPropertyMap(java.util.HashMap propertyMap)
          Sets the HashMap with Properties Only used by the PortletStateManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

desc

private oasis.names.tc.wsrp.v1.types.ModelDescription desc

portletHandle

private java.lang.String portletHandle
Constructor Detail

PortletStateImpl

public PortletStateImpl()
Method Detail

getPropertyMap

public java.util.HashMap getPropertyMap()
Returns the HashMap with Properties for persistent file store reason. Only used by the PortletStateManager.

Specified by:
getPropertyMap in interface PortletState
Returns:
HashMap Map with Properties

setPropertyMap

public void setPropertyMap(java.util.HashMap propertyMap)
Sets the HashMap with Properties Only used by the PortletStateManager

Specified by:
setPropertyMap in interface PortletState
Parameters:
propertyMap - Map with Properties

setPortletHandle

public void setPortletHandle(java.lang.String portletHandle)
Sets the portletHandle for this state

Specified by:
setPortletHandle in interface PortletState
Parameters:
portletHandle - as String

getPortletHandle

public java.lang.String getPortletHandle()
Returns the portletHandle for this state

Specified by:
getPortletHandle in interface PortletState
Returns:
portletHandle as String

getModelDescription

public oasis.names.tc.wsrp.v1.types.ModelDescription getModelDescription()
Returns the WSRP ModelDescription for this state

Specified by:
getModelDescription in interface PortletState
Returns:
ModelDescription

setModelDescription

public void setModelDescription(oasis.names.tc.wsrp.v1.types.ModelDescription modelDescription)
Set the WSRP ModelDescription for this state

Specified by:
setModelDescription in interface PortletState
Parameters:
modelDescription - the WSRP model description

getAsString

public java.lang.String getAsString()
Description copied from interface: PortletState
Method getAsString.

Specified by:
getAsString in interface PortletState
Returns:
String
See Also:
PortletState.getAsString()

getAsPropertyList

public oasis.names.tc.wsrp.v1.types.PropertyList getAsPropertyList()
Description copied from interface: PortletState
Method getAsPropertyList.

Specified by:
getAsPropertyList in interface PortletState
Returns:
Iterator
See Also:
PortletState.getAsPropertyList()

getAsPropertylist

public oasis.names.tc.wsrp.v1.types.PropertyList getAsPropertylist(java.lang.String[] names)
Description copied from interface: PortletState
Method getAsPropertylist.

Specified by:
getAsPropertylist in interface PortletState
Parameters:
names -
See Also:
PortletState.getAsPropertylist(String[])

setAsString

public void setAsString(java.lang.String portletState)
Description copied from interface: PortletState
Method setAsString.

Specified by:
setAsString in interface PortletState
Parameters:
portletState -
See Also:
PortletState.setAsString(String)

setAsPropertyList

public void setAsPropertyList(oasis.names.tc.wsrp.v1.types.PropertyList portletState)
Description copied from interface: PortletState
Method setAsPropertyList.

Specified by:
setAsPropertyList in interface PortletState
Parameters:
portletState -
See Also:
PortletState.setAsPropertyList(PropertyList)

getAsString

public java.lang.String getAsString(java.lang.String[] names)
Description copied from interface: PortletState
Method getAsString.

Specified by:
getAsString in interface PortletState
Parameters:
names -
Returns:
String
See Also:
PortletState.getAsString(String[])

setAsElement

public void setAsElement(org.w3c.dom.Element propertyList)
Description copied from interface: PortletState
Method setAsElement.

Specified by:
setAsElement in interface PortletState
Parameters:
propertyList -
See Also:
PortletState.setAsElement(Element)

getAsElement

public org.w3c.dom.Element getAsElement()
Description copied from interface: PortletState
Method getAsElement.

Specified by:
getAsElement in interface PortletState
See Also:
PortletState.getAsElement(String[])

getAsElement

public org.w3c.dom.Element getAsElement(java.lang.String[] names)
Description copied from interface: PortletState
Method getAsElement.

Specified by:
getAsElement in interface PortletState
Parameters:
names -
See Also:
PortletState.getAsElement(String[])


--