Package net.anotheria.anosite.guard
Interface ConditionalGuard
-
- All Known Implementing Classes:
BrandAbstractGuard,CMSLogedInGuard,CMSLoggedOutGuard,ContextLanguageIsEnglishGuard,ContextLanguageIsGermanGuard,ContextLanguageIsGuard,ContextLanguageIsRussianGuard,DisableTargetGuard,InEditModeGuard,LanguageAbstractGuard,LanguageIsDEGuard,LanguageIsENGuard,LanguageIsNotDEGuard,LanguageIsNotENGuard,NotInEditModeGuard,SessionFlagPresentGuard,SystemEnvironmentAbstractGuard,SystemIsCmsGuard,SystemIsDevGuard,SystemIsNotCmsGuard,SystemIsNotDevGuard,SystemIsNotPreprodGuard,SystemIsNotPreviewGuard,SystemIsNotProdGuard,SystemIsNotTestingGuard,SystemIsPreprodGuard,SystemIsPreviewGuard,SystemIsProdGuard,SystemIsTestingGuard
public interface ConditionalGuardA conditional guard guards any object and returns true only if the predefined condition is true in the objects context. ContentPageServlet and other CMS classes ignore objects which are guarded by not fulfilled guards. This is an easy but powerful mechanism to switch off objects in some cases. Guards are stateless, there will usually exists only one instance of a given guard at the same time.- Author:
- another
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisConditionFullfilled(net.anotheria.asg.data.DataObject object, jakarta.servlet.http.HttpServletRequest req)Returns true if the condition is fullfilled.
-
-
-
Method Detail
-
isConditionFullfilled
boolean isConditionFullfilled(net.anotheria.asg.data.DataObject object, jakarta.servlet.http.HttpServletRequest req) throws net.anotheria.asg.exception.ASGRuntimeExceptionReturns true if the condition is fullfilled.- Parameters:
object- TODO dummy comment for javadoc.req- TODO dummy comment for javadoc.- Returns:
- TODO dummy comment for javadoc.
- Throws:
net.anotheria.asg.exception.ASGRuntimeException- TODO dummy comment for javadoc.
-
-