Package net.anotheria.anosite.guard
Class NotInEditModeGuard
- java.lang.Object
-
- net.anotheria.anosite.guard.SessionFlagPresentGuard
-
- net.anotheria.anosite.guard.InEditModeGuard
-
- net.anotheria.anosite.guard.NotInEditModeGuard
-
- All Implemented Interfaces:
ConditionalGuard
public class NotInEditModeGuard extends InEditModeGuard
-
-
Constructor Summary
Constructors Constructor Description NotInEditModeGuard()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetDesiredResult()If true the guard is fullfilled whenever the attribute with name = flagName is in session.-
Methods inherited from class net.anotheria.anosite.guard.InEditModeGuard
getFlagName
-
Methods inherited from class net.anotheria.anosite.guard.SessionFlagPresentGuard
isConditionFullfilled
-
-
-
-
Method Detail
-
getDesiredResult
public boolean getDesiredResult()
Description copied from class:SessionFlagPresentGuardIf true the guard is fullfilled whenever the attribute with name = flagName is in session. If false the guard is fullfilled if the attribute with the name = flagName is NOT in session.- Overrides:
getDesiredResultin classSessionFlagPresentGuard
-
-