Class Quota

  • All Implemented Interfaces:
    AccessControlled, Identifiable, Nameable, Removable, SystemItem

    public class Quota
    extends BasicItem
    implements Nameable, SystemItem, Removable
    This class is used to represent disk quota settings for users and groups. All users must have a quota that can be either assigned directly to the user or via a group where the user is a member.

    Quota can be specified as a total for all types/locations, or with individual settings for each type/location.

    Quota is handled like this:

    1. A DiskConsumable item tells BASE about the number of bytes, type of quota and location of the item.
    2. BASE (via the OwnedItem creates a DiskUsage item to hold that information and links it with the Quota for the owner of the DiskConsumable item.
    3. If the quota is exceeded, BASE will throw a QuotaException.
    Version:
    2.0
    Author:
    enell
    See Also:
    QuotaData
    Last modified
    $Date: 2019-02-22 08:21:20 +0100 (fre, 22 feb. 2019) $