Interface DynamicModelManager

All Superinterfaces:
ModelManager, Serializable
All Known Implementing Classes:
AbstractDynamicModelManager

public interface DynamicModelManager extends ModelManager
Describes all the relationships between entities in the "Dynamic" model.
Version:
$Id$
Author:
Eric Pugh, Ben Gidley
  • Field Summary

    Fields inherited from interface org.apache.fulcrum.security.ModelManager

    ROLE
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addDelegate(User delegator, User delegatee)
    Allow B to assumes A's roles, groups and permissions
    void
    grant(Group group, Role role)
    Puts a role into a group This method is used when adding a role to a 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)
    Puts a user in a group.
    void
    removeDelegate(User delegator, User delegatee)
    Stop A having B's roles, groups and permissions
    void
    revoke(Group group, Role role)
    Remove a role from a group This method is used when removeing a role to a group.
    void
    revoke(Role role, Permission permission)
    Removes a permission from a role
    void
    revoke(User user, Group group)
    Removes a user from a group
    void
    Revokes all roles and users from a Group This method is typically used when deleting a Group.
    void
    revokeAll(Permission permission)
    Revoke from a permission all roles This method is typically used when deleting a Permission
    void
    Revokes all permissions from a Role.
    void
    Revokes all roles from an User.