|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.container.window.impl.PortletWindowAccessorImpl
public class PortletWindowAccessorImpl
Portlet Window Accessor Implementation
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
PortletWindowAccessorImpl(PortletEntityAccessComponent entityAccessor,
PortletFactory portletFactory,
PortletRegistry registry,
PortletWindowCache portletWindowCache,
boolean validateWindows)
|
|
PortletWindowAccessorImpl(PortletEntityAccessComponent entityAccessor,
PortletFactory portletFactory,
PortletWindowCache portletWindowCache,
boolean validateWindows)
|
|
| Method Summary | |
|---|---|
void |
applicationRemoved(MutablePortletApplication app)
applicationRemoved - invoked when the definition of a portlet application is removed by the registry |
void |
applicationUpdated(MutablePortletApplication app)
applicationUpdated - invoked when the definition of a portlet application is updated by the registry or when the state modification is otherwise detected |
org.apache.pluto.om.window.PortletWindow |
createPortletWindow(org.apache.pluto.om.entity.PortletEntity entity,
java.lang.String windowId)
Given a portlet entity, create a portlet window for that entity. |
org.apache.pluto.om.window.PortletWindow |
createPortletWindow(java.lang.String windowId)
Create a temporary portlet window This window does not have an entity associated with it. |
org.apache.pluto.om.window.PortletWindow |
getPortletWindow(ContentFragment fragment)
Get a portlet window for the given fragment |
org.apache.pluto.om.window.PortletWindow |
getPortletWindow(ContentFragment fragment,
java.lang.String principal)
Get the portlet window for a fragment and given principal |
org.apache.pluto.om.window.PortletWindow |
getPortletWindow(java.lang.String windowId)
Lookup a portlet window in the cache If not found, return null |
java.util.Set |
getPortletWindows()
Gets a Set of currently available PortletWindows within
the current engine instance. |
void |
portletRemoved(PortletDefinitionComposite def)
portletUpdated - invoked when the definition of a portlet definition is removed by the registry |
void |
portletUpdated(PortletDefinitionComposite def)
portletUpdated - invoked when the definition of a portlet definition is updated by the registry or when the state modification is otherwise detected |
protected void |
removeForPortletApplication(MutablePortletApplication app)
|
protected void |
removeForPortletDefinition(PortletDefinitionComposite def)
|
void |
removeWindow(org.apache.pluto.om.window.PortletWindow window)
removeWindow |
void |
removeWindows(org.apache.pluto.om.entity.PortletEntity portletEntity)
removeWindows |
protected void |
validateWindow(ContentFragment fragment,
org.apache.pluto.om.window.PortletWindow portletWindow)
validateWindow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public PortletWindowAccessorImpl(PortletEntityAccessComponent entityAccessor,
PortletFactory portletFactory,
PortletWindowCache portletWindowCache,
boolean validateWindows)
public PortletWindowAccessorImpl(PortletEntityAccessComponent entityAccessor,
PortletFactory portletFactory,
PortletRegistry registry,
PortletWindowCache portletWindowCache,
boolean validateWindows)
| Method Detail |
|---|
public org.apache.pluto.om.window.PortletWindow createPortletWindow(org.apache.pluto.om.entity.PortletEntity entity,
java.lang.String windowId)
PortletWindowAccessor
createPortletWindow in interface PortletWindowAccessorpublic org.apache.pluto.om.window.PortletWindow createPortletWindow(java.lang.String windowId)
PortletWindowAccessor
createPortletWindow in interface PortletWindowAccessorpublic org.apache.pluto.om.window.PortletWindow getPortletWindow(java.lang.String windowId)
PortletWindowAccessor
getPortletWindow in interface PortletWindowAccessor
public org.apache.pluto.om.window.PortletWindow getPortletWindow(ContentFragment fragment)
throws FailedToRetrievePortletWindow,
PortletEntityNotStoredException
PortletWindowAccessor
getPortletWindow in interface PortletWindowAccessorFailedToRetrievePortletWindow
PortletEntityNotStoredException
protected void validateWindow(ContentFragment fragment,
org.apache.pluto.om.window.PortletWindow portletWindow)
throws FailedToRetrievePortletWindow,
PortletEntityNotStoredException
validateWindow
fragment - portletWindow -
PortletEntityNotStoredException
InconsistentWindowStateException
FailedToRetrievePortletWindow
public org.apache.pluto.om.window.PortletWindow getPortletWindow(ContentFragment fragment,
java.lang.String principal)
throws FailedToRetrievePortletWindow,
FailedToCreateWindowException,
PortletEntityNotStoredException
PortletWindowAccessor
getPortletWindow in interface PortletWindowAccessorFailedToRetrievePortletWindow
FailedToCreateWindowException
PortletEntityNotStoredExceptionpublic void removeWindows(org.apache.pluto.om.entity.PortletEntity portletEntity)
PortletWindowAccessorremoveWindows
Removes allPortletWindows associated with this
PortletEntity
removeWindows in interface PortletWindowAccessorpublic void removeWindow(org.apache.pluto.om.window.PortletWindow window)
PortletWindowAccessorremoveWindow
Removes aPortletWindow from the window cache.
removeWindow in interface PortletWindowAccessorpublic java.util.Set getPortletWindows()
PortletWindowAccessorSet of currently available PortletWindows within
the current engine instance.
getPortletWindows in interface PortletWindowAccessorSet of PortletWindows, never returns nullprotected void removeForPortletDefinition(PortletDefinitionComposite def)
protected void removeForPortletApplication(MutablePortletApplication app)
public void applicationRemoved(MutablePortletApplication app)
RegistryEventListener
applicationRemoved in interface RegistryEventListenerpublic void applicationUpdated(MutablePortletApplication app)
RegistryEventListener
applicationUpdated in interface RegistryEventListenerpublic void portletRemoved(PortletDefinitionComposite def)
RegistryEventListener
portletRemoved in interface RegistryEventListenerpublic void portletUpdated(PortletDefinitionComposite def)
RegistryEventListener
portletUpdated in interface RegistryEventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||