org.apache.jetspeed.decoration
Interface PageEditAccess
public interface PageEditAccess
PageEditAccess representing current Page edit state.
- Version:
- $Id$
- Author:
- Ate Douma
isEditAllowed
boolean isEditAllowed()
- Returns:
- true if page editing is allowed
isEditing
boolean isEditing()
- Returns:
- true if page in edit mode
setEditing
void setEditing(boolean editing)
throws java.lang.SecurityException
- Switch the Page edit state.
- Parameters:
editing
- intended Page edit state
- Throws:
java.lang.SecurityException
- when trying to set edit state while not allowed
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.