com.jalios.jcms
Class QuotaElement

java.lang.Object
  extended by com.jalios.jcms.QuotaElement

public class QuotaElement
extends Object


Constructor Summary
QuotaElement(Workspace workspace, long quota, long quotaMaxValue, int alertThreshold)
           
 
Method Summary
 int getAlertThreshold()
           
 float getPercentage()
           
 long getQuota()
           
 long getQuotaMaxValue()
           
 Workspace getWorkspace()
           
 boolean isAlert()
           
 boolean isOver()
           
 void setAlertThreshold(int alertThreshold)
           
 void setQuota(long quota)
           
 void setQuotaMaxValue(long quotaMaxValue)
           
 void setWorkspace(Workspace workspace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuotaElement

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

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()


Copyright © 2001-2010 Jalios SA. All Rights Reserved.