org.apache.pluto.portalImpl.om.entity.impl
Class PortletEntityImpl

java.lang.Object
  extended by org.apache.pluto.portalImpl.om.entity.impl.PortletEntityImpl
All Implemented Interfaces:
java.io.Serializable, Support

public class PortletEntityImpl
extends java.lang.Object
implements java.io.Serializable, Support

See Also:
Serialized Form

Field Summary
private  PortletApplicationEntity applicationEntity
           
private  java.lang.String definitionId
           
private  DescriptionSet descriptions
           
private  java.lang.String id
           
private  ObjectID objectId
           
private  PreferenceSet origPreferences
           
private  PortletWindowList portletWindows
           
protected  PreferenceSet preferences
           
 
Fields inherited from interface org.apache.pluto.portalImpl.om.common.Support
POST_BUILD, POST_LOAD, POST_STORE, PRE_BUILD, PRE_STORE
 
Constructor Summary
PortletEntityImpl()
           
 
Method Summary
 java.lang.String getCastorId()
           
 java.util.Collection getCastorPreferences()
           
 java.lang.String getDefinitionId()
           
 Description getDescription(java.util.Locale locale)
           
 ObjectID getId()
           
 PortletApplicationEntity getPortletApplicationEntity()
           
 PortletDefinition getPortletDefinition()
           
 PortletWindowList getPortletWindowList()
           
 PreferenceSet getPreferenceSet()
           
 void postBuild(java.lang.Object parameter)
           
 void postLoad(java.lang.Object parameter)
           
 void postStore(java.lang.Object parameter)
           
 void preBuild(java.lang.Object parameter)
           
 void preStore(java.lang.Object parameter)
           
 void reset()
           
 void setCastorId(java.lang.String id)
           
 void setDefinitionId(java.lang.String definitionId)
           
 void setId(java.lang.String id)
           
protected  void setPortletApplicationEntity(PortletApplicationEntity applicationEntity)
           
 void setPortletDefinition(PortletDefinition portletDefinition)
           
protected  void setPortletWindowList(PortletWindowList portletWindows)
           
 void store()
           
 java.lang.String toString()
           
 java.lang.String toString(int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

id

private java.lang.String id

definitionId

private java.lang.String definitionId

preferences

protected PreferenceSet preferences

origPreferences

private PreferenceSet origPreferences

applicationEntity

private PortletApplicationEntity applicationEntity

portletWindows

private PortletWindowList portletWindows

objectId

private ObjectID objectId

descriptions

private DescriptionSet descriptions
Constructor Detail

PortletEntityImpl

public PortletEntityImpl()
Method Detail

getId

public ObjectID getId()

getPreferenceSet

public PreferenceSet getPreferenceSet()

getPortletDefinition

public PortletDefinition getPortletDefinition()

setPortletDefinition

public void setPortletDefinition(PortletDefinition portletDefinition)

getPortletApplicationEntity

public PortletApplicationEntity getPortletApplicationEntity()

getPortletWindowList

public PortletWindowList getPortletWindowList()

getDescription

public Description getDescription(java.util.Locale locale)

setId

public void setId(java.lang.String id)

store

public void store()
           throws java.io.IOException
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Throws:
java.io.IOException

postLoad

public void postLoad(java.lang.Object parameter)
              throws java.lang.Exception
Specified by:
postLoad in interface Support
Throws:
java.lang.Exception

preBuild

public void preBuild(java.lang.Object parameter)
              throws java.lang.Exception
Specified by:
preBuild in interface Support
Throws:
java.lang.Exception

postBuild

public void postBuild(java.lang.Object parameter)
               throws java.lang.Exception
Specified by:
postBuild in interface Support
Throws:
java.lang.Exception

preStore

public void preStore(java.lang.Object parameter)
              throws java.lang.Exception
Specified by:
preStore in interface Support
Throws:
java.lang.Exception

postStore

public void postStore(java.lang.Object parameter)
               throws java.lang.Exception
Specified by:
postStore in interface Support
Throws:
java.lang.Exception

getCastorPreferences

public java.util.Collection getCastorPreferences()

setPortletApplicationEntity

protected void setPortletApplicationEntity(PortletApplicationEntity applicationEntity)

setPortletWindowList

protected void setPortletWindowList(PortletWindowList portletWindows)

getCastorId

public java.lang.String getCastorId()

setCastorId

public void setCastorId(java.lang.String id)

getDefinitionId

public java.lang.String getDefinitionId()

setDefinitionId

public void setDefinitionId(java.lang.String definitionId)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toString

public java.lang.String toString(int indent)