Package ch.autumo.beetroot.handler
Class BaseHandler.IfSectionHandler
java.lang.Object
ch.autumo.beetroot.handler.BaseHandler.IfSectionHandler
- Enclosing class:
- BaseHandler
State handler for role, entity and action "IFs" for
the overall, the template and the template sub-resource layer.
Note: Authorization cascades in the HTML views only works in the order:
role -> entity -> action.
Nasty stuff.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIfSectionHandler(BaseHandler handler) Create an "if"-section handler. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancontinueRemoval(String text, Session userSession, String layer) Continue removal of lines?
-
Constructor Details
-
IfSectionHandler
Create an "if"-section handler.- Parameters:
handler- base handler
-
-
Method Details
-
continueRemoval
Continue removal of lines?- Parameters:
text- current lineuserSession- user sessionlayer- 'overall', 'template' or 'sub-resource'- Returns:
- true if removal should continue, otherwise false
-