The QuotaData
class is used to store different quota settings.
Each setting may be used for many independent users and/or groups.
The QuotaTypeData
class holds a predefined list of
different types of quota.
The quotaValues
attribute holds the settings for a qouta.
Each quota must contain at least a setting for the total quota at
the primary location. For example the total quota may be set
to 10 MB, while the quota for files may be set to 5 MB.
The QuotaIndex
class is used to map location
and
QuotaTypeData
with maxBytes
.
The location
is a flag telling what location the quota is valid
for. There are three different values for location, however the offline
value cannot be used in this table.
Location | Description |
---|---|
0 | Offline |
1 | Primary storage |
2 | Secondary storage |
The DiskUsageData
class holds the actual information
about how much disk space a DiskConsumingData
item
occupies. It also holds the ID of the owner of the item
and, if it exists, the quota group of the owner.