Interface Limits
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AnonymousLimits,UserLimits
public interface Limits extends Serializable
A class implementingLimitslists the webDPF server“s upload limits for a specific user type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDiskSpaceLimit()Returns the disk space limit of the affected user type.intgetMaxFiles()Returns the maximum number of files for the affected user type.intgetUploadLimit()Returns the upload limit of the affected user type.booleanhasLimits()Returnstrue, if usage limits exist for the user type.voidsetDiskSpaceLimit(int diskSpaceLimit)Sets the disk space limit of the affected user type.voidsetMaxFiles(int maxFiles)Sets the maximum number of files for the affected user type.voidsetUploadLimit(int uploadLimit)Sets the upload limit of the affected user type.
-
-
-
Method Detail
-
getUploadLimit
int getUploadLimit()
Returns the upload limit of the affected user type.- Returns:
- The upload limit of the affected user type.
-
setUploadLimit
void setUploadLimit(int uploadLimit)
Sets the upload limit of the affected user type.- Parameters:
uploadLimit- The upload limit of the affected user type.
-
getMaxFiles
int getMaxFiles()
Returns the maximum number of files for the affected user type.- Returns:
- The maximum number of files for the affected user type.
-
setMaxFiles
void setMaxFiles(int maxFiles)
Sets the maximum number of files for the affected user type.- Parameters:
maxFiles- The maximum number of files for the affected user type.
-
getDiskSpaceLimit
int getDiskSpaceLimit()
Returns the disk space limit of the affected user type.- Returns:
- The disk space limit of the affected user type.
-
setDiskSpaceLimit
void setDiskSpaceLimit(int diskSpaceLimit)
Sets the disk space limit of the affected user type.- Parameters:
diskSpaceLimit- The disk space limit of the affected user type.
-
hasLimits
boolean hasLimits()
Returnstrue, if usage limits exist for the user type.- Returns:
true, if limits have been set for the affected user type.
-
-