org.apache.jetspeed.decoration
Interface PageEditAccess


public interface PageEditAccess

PageEditAccess representing current Page edit state.

Version:
$Id$
Author:
Ate Douma

Method Summary
 boolean isEditAllowed()
           
 boolean isEditing()
           
 void setEditing(boolean editing)
          Switch the Page edit state.
 

Method Detail

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 SecurityException
Switch the Page edit state.

Parameters:
editing - intended Page edit state
Throws:
SecurityException - when trying to set edit state while not allowed


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.