com.sap.workspaces.workspace

Interface IQuota


public interface IQuota

Provides information about the workspace space usage quota and status

Since:
1.1

Method Summary
 int getQuota()
          Returns the space usage quota of the workspace
 int getSpaceUsage()
          Returns the space used by the workspace
 Date getSpaceUsageLastUpdate()
          Returns the date when the space usage was last updated
 int getThreshold()
          Returns the quota threshold of the workspace
 boolean quotaExceeded()
          Checks if the workspace exceeds its space usage quota
 boolean thresholdExceeded()
          Checks if the workspace exceeds its quota threshold
 

Method Detail

quotaExceeded

boolean quotaExceeded()
Checks if the workspace exceeds its space usage quota

Returns:
True if the workspace exceeds its space usage quota

thresholdExceeded

boolean thresholdExceeded()
Checks if the workspace exceeds its quota threshold

Returns:
True if the workspace exceeds its quota threshold

getSpaceUsageLastUpdate

Date getSpaceUsageLastUpdate()
Returns the date when the space usage was last updated

Returns:
The date when the space usage was last updated

getThreshold

int getThreshold()
Returns the quota threshold of the workspace

Returns:
The quota threshold in MB

getQuota

int getQuota()
Returns the space usage quota of the workspace

Returns:
The space usage quota in MB

getSpaceUsage

int getSpaceUsage()
Returns the space used by the workspace

Returns:
The space used by the workspace in MB


Copyright 2011 SAP AG Complete Copyright Notice