|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.om.window.impl.PortletWindowImpl
The PortletWindow
implementation represents a single window
of an portlet instance as it can be shown only once on a single page.
Adding the same portlet e.g. twice on a page results in two different windows.
Field Summary | |
private static int |
counter
|
private org.apache.pluto.om.common.ObjectID |
objectId
|
private org.apache.pluto.om.entity.PortletEntity |
portletEntity
|
Constructor Summary | |
PortletWindowImpl()
|
|
PortletWindowImpl(org.apache.pluto.om.common.ObjectID oid)
|
|
PortletWindowImpl(String id)
|
Method Summary | |
org.apache.pluto.om.common.ObjectID |
getId()
Returns the identifier of this portlet instance window as object id |
org.apache.pluto.om.entity.PortletEntity |
getPortletEntity()
Returns the portlet entity |
void |
setId(String id)
binds an identifier to this portlet window |
void |
setPortletEntity(org.apache.pluto.om.entity.PortletEntity portletEntity)
binds a portlet instance to this portlet window |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private org.apache.pluto.om.common.ObjectID objectId
private org.apache.pluto.om.entity.PortletEntity portletEntity
private static int counter
Constructor Detail |
public PortletWindowImpl(String id)
public PortletWindowImpl(org.apache.pluto.om.common.ObjectID oid)
public PortletWindowImpl()
Method Detail |
public org.apache.pluto.om.common.ObjectID getId()
getId
in interface org.apache.pluto.om.window.PortletWindow
public org.apache.pluto.om.entity.PortletEntity getPortletEntity()
getPortletEntity
in interface org.apache.pluto.om.window.PortletWindow
public void setId(String id)
setId
in interface org.apache.pluto.om.window.PortletWindowCtrl
id
- the new identifierpublic void setPortletEntity(org.apache.pluto.om.entity.PortletEntity portletEntity)
setPortletEntity
in interface org.apache.pluto.om.window.PortletWindowCtrl
portletEntity
- a portlet entity object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |