Public Member Functions | |
boolean | canDisplay () |
boolean | isSelectable () |
boolean | isInRole () |
boolean | canPrint () |
IDefendable
interface should be implemented in all those elements in need to be protected, to hide or to be selected.
Definition at line 25 of file IDefendable.java.
boolean org.turro.elephant.security.IDefendable.canDisplay | ( | ) |
This method is queried within startConstruction()
.
Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.
boolean org.turro.elephant.security.IDefendable.canPrint | ( | ) |
This method is queried when a print version is being called.
Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.
boolean org.turro.elephant.security.IDefendable.isInRole | ( | ) |
This method points to an specific role, know at configuration time. To achieve more control on roles use constructor's, which takes a parameter with a role.
Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.
boolean org.turro.elephant.security.IDefendable.isSelectable | ( | ) |
Selectable elements may respond to user input.
Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.