Interface DynamicModelManager

    • Field Summary

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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 revokeAll​(Group group)
      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 revokeAll​(Role role)
      Revokes all permissions from a Role.
      void revokeAll​(User user)
      Revokes all roles from an User.