Class QuotaElement

java.lang.Object
com.jalios.jcms.quota.QuotaElement

public class QuotaElement extends Object
  • Constructor Details

    • QuotaElement

      public QuotaElement(Workspace workspace, long quota, long quotaMaxValue, int alertThreshold)
  • Method Details

    • getWorkspace

      public Workspace getWorkspace()
    • setWorkspace

      public void setWorkspace(Workspace workspace)
    • 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()