org.apache.jetspeed.decoration
Class PageActionAccess

java.lang.Object
  extended by 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

Nested Class Summary
private static class PageActionAccess.ActionAccess
           
 
Field Summary
private  boolean anonymous
           
private  boolean editAllowed
           
private  boolean editing
           
private  HashMap fragmentActionAccess
           
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
PageActionAccess(boolean anonymous, org.apache.jetspeed.om.page.Page page)
           
 
Method Summary
protected  boolean checkActionAccess(String fragmentId, String portletName, String action)
           
protected  boolean checkEditPage(org.apache.jetspeed.om.page.Page page)
           
 boolean checkPortletMode(String fragmentId, String portletName, javax.portlet.PortletMode mode)
           
 void checkReset(boolean anonymous, org.apache.jetspeed.om.page.Page page)
           
 boolean checkWindowState(String fragmentId, String portletName, javax.portlet.WindowState state)
           
 boolean isAnonymous()
           
 boolean isEditAllowed()
           
 boolean isEditing()
           
 void setEditing(boolean editing)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

PageActionAccess

public PageActionAccess(boolean anonymous,
                        org.apache.jetspeed.om.page.Page page)
Method Detail

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.