|
||||||||||
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
public class 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 boolean |
instantlyRendered
|
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 |
boolean |
isInstantlyRendered()
Checks if the content is instantly rendered from JPT. |
void |
setId(String id)
binds an identifier to this portlet window |
void |
setInstantlyRendered(boolean instantlyRendered)
Sets flag that the content is instantly rendered from JPT. |
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 transient org.apache.pluto.om.entity.PortletEntity portletEntity
private boolean instantlyRendered
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 objectpublic void setInstantlyRendered(boolean instantlyRendered)
public boolean isInstantlyRendered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |