BrightSide Workbench Full Report + Source Code
org.turro.elephant.security.IDefendable Interface Reference
Inheritance diagram for org.turro.elephant.security.IDefendable:

Public Member Functions

boolean canDisplay ()
 
boolean isSelectable ()
 
boolean isInRole ()
 
boolean canPrint ()
 

Detailed Description

IDefendable interface should be implemented in all those elements in need to be protected, to hide or to be selected.

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 25 of file IDefendable.java.

Member Function Documentation

◆ canDisplay()

boolean org.turro.elephant.security.IDefendable.canDisplay ( )

This method is queried within startConstruction().

Returns
True is element can display.

Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.

◆ canPrint()

boolean org.turro.elephant.security.IDefendable.canPrint ( )

This method is queried when a print version is being called.

Returns
True is element can print.

Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.

◆ isInRole()

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.

Returns
True when the element is in role.

Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.

◆ isSelectable()

boolean org.turro.elephant.security.IDefendable.isSelectable ( )

Selectable elements may respond to user input.

Returns
True when the element is selectable.

Implemented in org.turro.elephant.impl.context.DefaultContext, and org.turro.elephant.impl.abstracts.AbstractElement.


The documentation for this interface was generated from the following file: