Class MenuSelectorFactory

java.lang.Object
ch.tocco.nice2.model.menu.impl.security.MenuSelectorFactory
All Implemented Interfaces:
SelectorFactory

public class MenuSelectorFactory extends Object implements SelectorFactory
You can only use 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 Details

    • MenuSelectorFactory

      public MenuSelectorFactory()
  • Method Details