|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jetspeed.portal.security.portlets.PortletWrapper
org.apache.jetspeed.portal.security.portlets.StatefulPortletWrapper
This object is used to wrap a Portlet, ensuring that access control rules are enforced.
| Field Summary |
| Fields inherited from interface org.apache.jetspeed.portal.Portlet |
PORTLET_MAXIMIZED, PORTLET_MINIMIZED, PORTLET_NORMAL |
| Constructor Summary | |
StatefulPortletWrapper(Portlet inner)
|
|
| Method Summary | |
boolean |
allowClose(org.apache.turbine.util.RunData rundata)
Implements the default close behavior: any authenticated user may remove a portlet from his page |
boolean |
allowCustomize(org.apache.turbine.util.RunData rundata)
Implements the default customize behavior: any authenticated user may customize a portlet |
boolean |
allowInfo(org.apache.turbine.util.RunData rundata)
Implements the default info behavior: any authenticated user may get information on a portlet |
boolean |
allowMaximize(org.apache.turbine.util.RunData rundata)
Implements the default maximize behavior: any authenticated user may maximize a portlet |
boolean |
allowMinimize(org.apache.turbine.util.RunData rundata)
Implements the default info behavior: any authenticated user may minimize a portlet |
boolean |
allowPrintFriendly(org.apache.turbine.util.RunData rundata)
Implements the default info behavior: any authenticated user may view portlet in print friendly format |
boolean |
isClosed(org.apache.turbine.util.RunData rundata)
Returns true if this portlet is currently closed |
boolean |
isMinimized(org.apache.turbine.util.RunData rundata)
Returns true if this portlet is currently minimized |
void |
setClosed(boolean close,
org.apache.turbine.util.RunData rundata)
Toggles the portlet state between closed and normal |
void |
setMinimized(boolean minimize,
org.apache.turbine.util.RunData rundata)
Change the portlet visibility state ( minimized <-> normal ) |
| Methods inherited from class org.apache.jetspeed.portal.security.portlets.PortletWrapper |
checkPermission, getAllowEdit, getAllowMaximize, getAllowView, getAttribute, getContent, getCreationTime, getDescription, getDescription, getID, getImage, getInstance, getName, getPortlet, getPortletConfig, getTitle, getTitle, init, isShowTitleBar, providesCustomization, setAttribute, setCreationTime, setDescription, setID, setImage, setName, setPortletConfig, setTitle, setTitle, supportsType, wrap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StatefulPortletWrapper(Portlet inner)
| Method Detail |
public final boolean allowClose(org.apache.turbine.util.RunData rundata)
allowClose in interface PortletStaterundata - the RunData object for the current requestpublic final boolean isClosed(org.apache.turbine.util.RunData rundata)
isClosed in interface PortletState
public final void setClosed(boolean close,
org.apache.turbine.util.RunData rundata)
setClosed in interface PortletStaterundata - the RunData for this requestpublic final boolean allowInfo(org.apache.turbine.util.RunData rundata)
allowInfo in interface PortletStaterundata - the RunData object for the current requestpublic final boolean allowCustomize(org.apache.turbine.util.RunData rundata)
allowCustomize in interface PortletStaterundata - the RunData object for the current requestpublic boolean allowMaximize(org.apache.turbine.util.RunData rundata)
allowMaximize in interface PortletStaterundata - the RunData object for the current requestpublic boolean allowMinimize(org.apache.turbine.util.RunData rundata)
allowMinimize in interface PortletStaterundata - the RunData object for the current requestpublic boolean isMinimized(org.apache.turbine.util.RunData rundata)
isMinimized in interface PortletState
public void setMinimized(boolean minimize,
org.apache.turbine.util.RunData rundata)
setMinimized in interface PortletStateminimize - True if the portlet change to minimizedrundata - A RunData objectpublic boolean allowPrintFriendly(org.apache.turbine.util.RunData rundata)
allowPrintFriendly in interface PortletStaterundata - the RunData object for the current request
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||