Package com.jalios.jcms.quota
Class QuotaElement
java.lang.Object
com.jalios.jcms.quota.QuotaElement
-
Constructor Summary
ConstructorsConstructorDescriptionQuotaElement(Workspace workspace, long quota, long quotaMaxValue, int alertThreshold) -
Method Summary
Modifier and TypeMethodDescriptionintfloatlonggetQuota()longbooleanisAlert()booleanisOver()voidsetAlertThreshold(int alertThreshold) voidsetQuota(long quota) voidsetQuotaMaxValue(long quotaMaxValue) voidsetWorkspace(Workspace workspace)
-
Constructor Details
-
QuotaElement
-
-
Method Details
-
getWorkspace
-
setWorkspace
-
getQuota
public long getQuota() -
setQuota
public void setQuota(long quota) -
getQuotaMaxValue
public long getQuotaMaxValue() -
setQuotaMaxValue
public void setQuotaMaxValue(long quotaMaxValue) -
getAlertThreshold
public int getAlertThreshold() -
setAlertThreshold
public void setAlertThreshold(int alertThreshold) -
isAlert
public boolean isAlert() -
isOver
public boolean isOver() -
getPercentage
public float getPercentage()
-