Class MenuSelectorFactory
java.lang.Object
ch.tocco.nice2.model.menu.impl.security.MenuSelectorFactory
- All Implemented Interfaces:
SelectorFactory
You can only use
Looking at the entity (not entityManager) domain, you can only use entities as selectors whereas fields are used in permissions which the refers to the
RootMenuItem
's as selectors.
Sub-Items are treated as permission objects.
Compared to the entity-system:
Looking at the entity (not entityManager) domain, you can only use entities as selectors whereas fields are used in permissions which the refers to the
Permission.implies(ch.tocco.nice2.security.api.Permission)
function.
Selector
's are used to create
Rule
's during the acl-parsing process.
The magic createSelector()
functions are called by acl parser by
reflection.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MenuSelectorFactory
public MenuSelectorFactory()
-
-
Method Details
-
createSelector
-
createSelector
-
supports
- Specified by:
supports
in interfaceSelectorFactory
-