org.apache.jetspeed.components.portletentity
Class PortletEntityImpl

java.lang.Object
  extended by org.apache.jetspeed.components.portletentity.PortletEntityImpl
All Implemented Interfaces:
PortletEntity

public class PortletEntityImpl
extends java.lang.Object
implements PortletEntity

Portlet Entity default implementation. TODO: 2.2 - don't associate Fragment with Entity, should be with window

Version:
$Id: PortletEntityImpl.java,v 1.9 2005/04/29 13:59:08 weaver Exp $
Author:
David Sean Taylor , Scott T. Weaver

Field Summary
protected  java.lang.String appName
           
protected  java.lang.String portletName
           
 
Constructor Summary
PortletEntityImpl()
           
PortletEntityImpl(ContentFragment fragment)
           
 
Method Summary
protected  java.lang.String getEntityFragmentKey()
           
 ContentFragment getFragment()
           
 java.lang.String getId()
           
 java.lang.Long getOid()
           
 PortletDefinition getPortletDefinition()
           
 java.lang.String getPortletUniqueName()
           
 PortletWindow getPortletWindow()
           
 void setFragment(ContentFragment fragment)
           
 void setId(java.lang.String id)
           
 void setPortletDefinition(PortletDefinition pd)
           setPortletDefinition
static void setPortletRegistry(PortletRegistry registry)
           
 void setPortletWindow(PortletWindow window)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portletName

protected java.lang.String portletName

appName

protected java.lang.String appName
Constructor Detail

PortletEntityImpl

public PortletEntityImpl(ContentFragment fragment)

PortletEntityImpl

public PortletEntityImpl()
Method Detail

getId

public java.lang.String getId()
Specified by:
getId in interface PortletEntity

getOid

public java.lang.Long getOid()
Specified by:
getOid in interface PortletEntity

setId

public void setId(java.lang.String id)
Specified by:
setId in interface PortletEntity

setPortletWindow

public void setPortletWindow(PortletWindow window)
Specified by:
setPortletWindow in interface PortletEntity

getPortletWindow

public PortletWindow getPortletWindow()

getPortletDefinition

public PortletDefinition getPortletDefinition()
Specified by:
getPortletDefinition in interface PortletEntity

setPortletDefinition

public void setPortletDefinition(PortletDefinition pd)

setPortletDefinition

Specified by:
setPortletDefinition in interface PortletEntity
Parameters:
composite -

getPortletUniqueName

public java.lang.String getPortletUniqueName()
Specified by:
getPortletUniqueName in interface PortletEntity

getFragment

public ContentFragment getFragment()
Specified by:
getFragment in interface PortletEntity

setFragment

public void setFragment(ContentFragment fragment)
Specified by:
setFragment in interface PortletEntity

getEntityFragmentKey

protected java.lang.String getEntityFragmentKey()

setPortletRegistry

public static void setPortletRegistry(PortletRegistry registry)


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.