|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.decoration.AbstractDecoratorActionsFactory
public abstract class AbstractDecoratorActionsFactory
Field Summary | |
---|---|
private static ThreadLocal |
actionResourcesMap
|
private boolean |
configMaximizesOption
|
private boolean |
editDefaultsMaximizesOption
|
private boolean |
editMaximizesOption
|
Constructor Summary | |
---|---|
AbstractDecoratorActionsFactory()
When Edit is clicked, also maximize the window state |
Method Summary | |
---|---|
protected boolean |
checkSecurityConstraint(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
org.apache.jetspeed.om.page.ContentFragment fragment,
org.apache.jetspeed.security.SecurityAccessController accessController,
String action)
|
protected DecoratorAction |
createAction(org.apache.jetspeed.request.RequestContext rc,
org.apache.pluto.om.window.PortletWindow pw,
org.apache.jetspeed.decoration.Decoration decoration,
DecoratorActionTemplate template)
|
List |
getDecoratorActions(org.apache.jetspeed.request.RequestContext rc,
org.apache.jetspeed.om.common.portlet.PortletApplication pa,
org.apache.pluto.om.window.PortletWindow pw,
javax.portlet.PortletMode pm,
javax.portlet.WindowState ws,
org.apache.jetspeed.decoration.Decoration decoration,
List actionTemplates)
|
List |
getDecoratorActions(org.apache.jetspeed.request.RequestContext rc,
org.apache.jetspeed.om.common.portlet.PortletApplication pa,
org.apache.pluto.om.window.PortletWindow pw,
javax.portlet.PortletMode pm,
javax.portlet.WindowState ws,
org.apache.jetspeed.decoration.Decoration decoration,
List actionTemplates,
org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet,
org.apache.jetspeed.om.page.ContentFragment fragment,
org.apache.jetspeed.security.SecurityAccessController accessController)
|
boolean |
getMaximizeOnConfig()
Maximize portlet window when going into edit_defaults mode |
boolean |
getMaximizeOnEdit()
Maximize portlet window when going into edit mode |
boolean |
getMaximizeOnEditDefaults()
Maximize portlet window when going into edit_defaults mode |
void |
setMaximizeOnConfig(boolean maxOnConfig)
Maximize portlet window when going into config mode |
void |
setMaximizeOnEdit(boolean maxOnEdit)
Maximize portlet window when going into edit mode |
void |
setMaximizeOnEditDefaults(boolean maxOnEditDefaults)
Maximize portlet window when going into edit_defaults mode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.decoration.DecoratorActionsFactory |
---|
getSupportedActions |
Field Detail |
---|
private static ThreadLocal actionResourcesMap
private boolean editMaximizesOption
private boolean configMaximizesOption
private boolean editDefaultsMaximizesOption
Constructor Detail |
---|
public AbstractDecoratorActionsFactory()
editMaxOption
- Method Detail |
---|
public List getDecoratorActions(org.apache.jetspeed.request.RequestContext rc, org.apache.jetspeed.om.common.portlet.PortletApplication pa, org.apache.pluto.om.window.PortletWindow pw, javax.portlet.PortletMode pm, javax.portlet.WindowState ws, org.apache.jetspeed.decoration.Decoration decoration, List actionTemplates, org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet, org.apache.jetspeed.om.page.ContentFragment fragment, org.apache.jetspeed.security.SecurityAccessController accessController)
getDecoratorActions
in interface DecoratorActionsFactory
public List getDecoratorActions(org.apache.jetspeed.request.RequestContext rc, org.apache.jetspeed.om.common.portlet.PortletApplication pa, org.apache.pluto.om.window.PortletWindow pw, javax.portlet.PortletMode pm, javax.portlet.WindowState ws, org.apache.jetspeed.decoration.Decoration decoration, List actionTemplates)
protected DecoratorAction createAction(org.apache.jetspeed.request.RequestContext rc, org.apache.pluto.om.window.PortletWindow pw, org.apache.jetspeed.decoration.Decoration decoration, DecoratorActionTemplate template)
protected boolean checkSecurityConstraint(org.apache.jetspeed.om.common.portlet.PortletDefinitionComposite portlet, org.apache.jetspeed.om.page.ContentFragment fragment, org.apache.jetspeed.security.SecurityAccessController accessController, String action)
public void setMaximizeOnEdit(boolean maxOnEdit)
DecoratorActionsFactory
setMaximizeOnEdit
in interface DecoratorActionsFactory
public boolean getMaximizeOnEdit()
DecoratorActionsFactory
getMaximizeOnEdit
in interface DecoratorActionsFactory
public void setMaximizeOnConfig(boolean maxOnConfig)
DecoratorActionsFactory
setMaximizeOnConfig
in interface DecoratorActionsFactory
public boolean getMaximizeOnConfig()
DecoratorActionsFactory
getMaximizeOnConfig
in interface DecoratorActionsFactory
public void setMaximizeOnEditDefaults(boolean maxOnEditDefaults)
DecoratorActionsFactory
setMaximizeOnEditDefaults
in interface DecoratorActionsFactory
public boolean getMaximizeOnEditDefaults()
DecoratorActionsFactory
getMaximizeOnEditDefaults
in interface DecoratorActionsFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |