public class UserLimits extends Object implements Limits
| Constructor and Description |
|---|
UserLimits() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDiskSpaceLimit()
Returns the disk space limit of the affected user type.
|
int |
getMaxFiles()
Returns the maximum number of files for the affected user type.
|
int |
getUploadLimit()
Returns the upload limit of the affected user type.
|
boolean |
hasLimits()
Whether or not usage limits exist for the user type.
|
void |
setDiskSpaceLimit(int diskSpaceLimit)
Sets the disk space limit of the affected user type.
|
void |
setMaxFiles(int maxFiles)
Sets the maximum number of files for the affected user type.
|
void |
setUploadLimit(int uploadLimit)
Sets the upload limit of the affected user type.
|
public int getDiskSpaceLimit()
getDiskSpaceLimit in interface Limitspublic void setDiskSpaceLimit(int diskSpaceLimit)
setDiskSpaceLimit in interface LimitsdiskSpaceLimit - The disk space limit of the affected user type.public int getMaxFiles()
getMaxFiles in interface Limitspublic void setMaxFiles(int maxFiles)
setMaxFiles in interface LimitsmaxFiles - The maximum number of files for the affected user type.public int getUploadLimit()
getUploadLimit in interface Limitspublic void setUploadLimit(int uploadLimit)
setUploadLimit in interface LimitsuploadLimit - The upload limit of the affected user type.Copyright © 2017–2022 SoftVision Development GmbH, Fulda, Germany. All rights reserved.