Package net.anotheria.anosite.access
Interface AnoSiteAccessAPI
-
- All Superinterfaces:
net.anotheria.anoplass.api.API
- All Known Implementing Classes:
AnoSiteAccessAPIImpl
public interface AnoSiteAccessAPI extends net.anotheria.anoplass.api.APIAPIfor validate current user access to requested Page, Box, Action, Wizard, etc.- Author:
- Alexandr Bolbat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAllowedForAction(String actionId)Validate access for given action.booleanisAllowedForBox(String boxId)Validate access for given box.booleanisAllowedForNaviItem(String naviItemId)Validate access for given navigation item.booleanisAllowedForPage(String pageId)Validate access for given page.booleanisAllowedForWizard(String wizardId)Validate access for given wizard.
-
-
-
Method Detail
-
isAllowedForPage
boolean isAllowedForPage(String pageId) throws AnoSiteAccessAPIException
Validate access for given page. If access operation not configured for given page this validation returntrue.- Parameters:
pageId- - given page it- Returns:
trueif have access orfalse- Throws:
AnoSiteAccessAPIException- TODO dummy comment for javadoc.
-
isAllowedForBox
boolean isAllowedForBox(String boxId) throws AnoSiteAccessAPIException
Validate access for given box. If access operation not configured for given box this validation returntrue.- Parameters:
boxId- - given box it- Returns:
trueif have access orfalse- Throws:
AnoSiteAccessAPIException- TODO dummy comment for javadoc.
-
isAllowedForNaviItem
boolean isAllowedForNaviItem(String naviItemId) throws AnoSiteAccessAPIException
Validate access for given navigation item. If access operation not configured for given navigation item this validation returntrue.- Parameters:
naviItemId- given navigation item it- Returns:
trueif have access orfalse- Throws:
AnoSiteAccessAPIException- TODO dummy comment for javadoc.
-
isAllowedForAction
boolean isAllowedForAction(String actionId) throws AnoSiteAccessAPIException
Validate access for given action. If access operation not configured for given action this validation returntrue.- Parameters:
actionId- - given action it- Returns:
trueif have access orfalse- Throws:
AnoSiteAccessAPIException- TODO dummy comment for javadoc.
-
isAllowedForWizard
boolean isAllowedForWizard(String wizardId) throws AnoSiteAccessAPIException
Validate access for given wizard. If access operation not configured for given wizard this validation returntrue.- Parameters:
wizardId- given wizard it.- Returns:
trueif have access orfalse- Throws:
AnoSiteAccessAPIException- TODO dummy comment for javadoc.
-
-