Schnittstelle TurbineModelManager

Alle Superschnittstellen:
ModelManager, Serializable
Alle bekannten Implementierungsklassen:
AbstractTurbineModelManager

public interface TurbineModelManager extends ModelManager
Describes all the relationships between entities in the "Turbine" model.
Version:
$Id$
Autor:
Eric Pugh
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Schnittstelle
    Beschreibung
    static enum 
    may be used in implementations
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final String
    attribute where global group name could be set
    static final String
    The name of the global group, if no global group name is set in model manager

    Von Schnittstelle geerbte Felder org.apache.fulcrum.security.ModelManager

    ROLE
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Provides a reference to the Group object that represents the global group.
     
    void
    grant(Role role, Permission permission)
    Puts a permission in a role This method is used when adding a permission to a role
    void
    grant(User user, Group group, Role role)
    Grant an User a Role in a Group.
    void
    replace(User user, Role oldRole, Role newRole)
    Replaces the assigned old Role to new role in the #global group for User user.
    void
    revoke(Role role, Permission permission)
    Removes a permission from a role
    void
    revoke(User user, Group group, Role role)
    Revoke a Role in a Group from an User.
    void
    Revokes all roles and users from a Group.
    void
    Revokes all permissions from a Role.
    void
    revokeAll(Role role, boolean cascadeDelete)
    Revokes by default all permissions from a Role and if flag is set all groups and users for this role This method is used when deleting a Role.
    void
    Revokes all roles from an User.