org.apache.jetspeed.decoration
Class PageActionAccess
java.lang.Object
org.apache.jetspeed.decoration.PageActionAccess
- All Implemented Interfaces:
- Serializable, org.apache.jetspeed.decoration.PageEditAccess
public class PageActionAccess
- extends Object
- implements org.apache.jetspeed.decoration.PageEditAccess, Serializable
PageActionAccess
- Version:
- $Id: PageActionAccess.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- Ate Douma
- See Also:
- Serialized Form
Constructor Summary |
PageActionAccess(boolean anonymous,
org.apache.jetspeed.om.page.Page page)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
anonymous
private boolean anonymous
editAllowed
private boolean editAllowed
editing
private boolean editing
fragmentActionAccess
private HashMap fragmentActionAccess
PageActionAccess
public PageActionAccess(boolean anonymous,
org.apache.jetspeed.om.page.Page page)
checkReset
public void checkReset(boolean anonymous,
org.apache.jetspeed.om.page.Page page)
isAnonymous
public boolean isAnonymous()
isEditAllowed
public boolean isEditAllowed()
- Specified by:
isEditAllowed
in interface org.apache.jetspeed.decoration.PageEditAccess
isEditing
public boolean isEditing()
- Specified by:
isEditing
in interface org.apache.jetspeed.decoration.PageEditAccess
setEditing
public void setEditing(boolean editing)
- Specified by:
setEditing
in interface org.apache.jetspeed.decoration.PageEditAccess
checkPortletMode
public boolean checkPortletMode(String fragmentId,
String portletName,
javax.portlet.PortletMode mode)
checkWindowState
public boolean checkWindowState(String fragmentId,
String portletName,
javax.portlet.WindowState state)
checkActionAccess
protected boolean checkActionAccess(String fragmentId,
String portletName,
String action)
checkEditPage
protected boolean checkEditPage(org.apache.jetspeed.om.page.Page page)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.