Interface IPermissionMgr


  • @Deprecated
    public interface IPermissionMgr
    Deprecated.
    • Method Detail

      • setPermission

        void setPermission​(IPermissionRecipient permRecipient,
                           IPermissionMask permission,
                           Object domainInstance)
        Deprecated.
        TODO mlowery This is really addPermission. Perhaps a method name change?
      • getPermissions

        Map<IPermissionRecipient,​IPermissionMask> getPermissions​(Object domainInstance)
        Deprecated.
        Returns permission map containing access control entries that are defined directly on this domainInstance.
        Parameters:
        domainInstance - the object for which to fetch permissions
        Returns:
        a map of permissions
      • getEffectivePermissions

        Map<IPermissionRecipient,​IPermissionMask> getEffectivePermissions​(Object domainInstance)
        Deprecated.
        Returns permission map containing access control entries that are defined directly on this domainInstance. If there are no direct entries, then the permission map will be the map of one of domainInstance's ancestors.
        Parameters:
        domainInstance - the object for which to fetch permissions
        Returns:
        a map of permissions