org.jasig.portal.container.om.entity
Class PortletEntityImpl

java.lang.Object
  extended by org.jasig.portal.container.om.entity.PortletEntityImpl
All Implemented Interfaces:
java.io.Serializable, org.apache.pluto.om.Controller, org.apache.pluto.om.entity.PortletEntity, org.apache.pluto.om.entity.PortletEntityCtrl, org.apache.pluto.om.Model

public class PortletEntityImpl
extends java.lang.Object
implements org.apache.pluto.om.entity.PortletEntity, org.apache.pluto.om.entity.PortletEntityCtrl, java.io.Serializable

Implementation of Apache Pluto object model.

Version:
$Revision: 1.12.2.1 $
Author:
Ken Weiner, kweiner@unicon.net
See Also:
Serialized Form

Field Summary
private  IUserLayoutChannelDescription channelDescription
           
private  IUserLayout layout
           
private static org.apache.commons.logging.Log log
           
private  org.apache.pluto.om.common.ObjectID objectId
           
private  org.apache.pluto.om.common.PreferenceSet originalPreferences
           
private  IPerson person
           
private  org.apache.pluto.om.entity.PortletApplicationEntity portletApplicationEntity
           
private  org.apache.pluto.om.portlet.PortletDefinition portletDefinition
           
private  org.apache.pluto.om.window.PortletWindowList portletWindows
           
private  org.apache.pluto.om.common.PreferenceSet preferences
           
 
Constructor Summary
PortletEntityImpl()
           
 
Method Summary
 void addPortletWindow(org.apache.pluto.om.window.PortletWindow portletWindow)
           
 org.apache.pluto.om.common.Description getDescription(java.util.Locale locale)
           
 org.apache.pluto.om.common.ObjectID getId()
           
 org.apache.pluto.om.entity.PortletApplicationEntity getPortletApplicationEntity()
           
 org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition()
           
 org.apache.pluto.om.window.PortletWindowList getPortletWindowList()
           
 org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
           
 void loadPreferences()
           
 void removePreferences()
           
 void reset()
           
 void setChannelDescription(IUserLayoutChannelDescription channelDescription)
           
 void setId(java.lang.String id)
           
 void setPerson(IPerson person)
           
 void setPortletApplicationEntity(org.apache.pluto.om.entity.PortletApplicationEntity portletApplicationEntity)
           
 void setPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition portletDefinition)
           
 void setPreferences(org.apache.pluto.om.common.PreferenceSet preferences)
           
 void setUserLayout(IUserLayout layout)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

objectId

private org.apache.pluto.om.common.ObjectID objectId

originalPreferences

private org.apache.pluto.om.common.PreferenceSet originalPreferences

preferences

private org.apache.pluto.om.common.PreferenceSet preferences

portletDefinition

private org.apache.pluto.om.portlet.PortletDefinition portletDefinition

portletApplicationEntity

private org.apache.pluto.om.entity.PortletApplicationEntity portletApplicationEntity

portletWindows

private org.apache.pluto.om.window.PortletWindowList portletWindows

person

private IPerson person

layout

private IUserLayout layout

channelDescription

private IUserLayoutChannelDescription channelDescription
Constructor Detail

PortletEntityImpl

public PortletEntityImpl()
Method Detail

getId

public org.apache.pluto.om.common.ObjectID getId()
Specified by:
getId in interface org.apache.pluto.om.entity.PortletEntity

getPreferenceSet

public org.apache.pluto.om.common.PreferenceSet getPreferenceSet()
Specified by:
getPreferenceSet in interface org.apache.pluto.om.entity.PortletEntity

getPortletDefinition

public org.apache.pluto.om.portlet.PortletDefinition getPortletDefinition()
Specified by:
getPortletDefinition in interface org.apache.pluto.om.entity.PortletEntity

getPortletApplicationEntity

public org.apache.pluto.om.entity.PortletApplicationEntity getPortletApplicationEntity()
Specified by:
getPortletApplicationEntity in interface org.apache.pluto.om.entity.PortletEntity

getPortletWindowList

public org.apache.pluto.om.window.PortletWindowList getPortletWindowList()
Specified by:
getPortletWindowList in interface org.apache.pluto.om.entity.PortletEntity

getDescription

public org.apache.pluto.om.common.Description getDescription(java.util.Locale locale)
Specified by:
getDescription in interface org.apache.pluto.om.entity.PortletEntity

setId

public void setId(java.lang.String id)
Specified by:
setId in interface org.apache.pluto.om.entity.PortletEntityCtrl

setPortletDefinition

public void setPortletDefinition(org.apache.pluto.om.portlet.PortletDefinition portletDefinition)
Specified by:
setPortletDefinition in interface org.apache.pluto.om.entity.PortletEntityCtrl

store

public void store()
           throws java.io.IOException
Specified by:
store in interface org.apache.pluto.om.entity.PortletEntityCtrl
Throws:
java.io.IOException

reset

public void reset()
           throws java.io.IOException
Specified by:
reset in interface org.apache.pluto.om.entity.PortletEntityCtrl
Throws:
java.io.IOException

setPerson

public void setPerson(IPerson person)

setUserLayout

public void setUserLayout(IUserLayout layout)

setChannelDescription

public void setChannelDescription(IUserLayoutChannelDescription channelDescription)

setPreferences

public void setPreferences(org.apache.pluto.om.common.PreferenceSet preferences)

loadPreferences

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

removePreferences

public void removePreferences()
                       throws java.lang.Exception
Throws:
java.lang.Exception

addPortletWindow

public void addPortletWindow(org.apache.pluto.om.window.PortletWindow portletWindow)

setPortletApplicationEntity

public void setPortletApplicationEntity(org.apache.pluto.om.entity.PortletApplicationEntity portletApplicationEntity)