|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.beans.LibraryObject | +--oracle.ifs.beans.TieLibraryObject | +--oracle.ifs.beans.PublicObject | +--oracle.ifs.beans.TiePublicObject | +--oracle.ifs.beans.ApplicationObject | +--oracle.ifs.beans.TieApplicationObject | +--oracle.ifs.beans.ContentQuota
A ContentQuota contains information that defines how much storage space in iFS is allocated and consumed by the DirectoryUser. For quota enforcement, the ContentQuota object must be enabled.
ContentQuotaDefinition
Field Summary | |
static java.lang.String |
ALLOCATEDSTORAGE_ATTRIBUTE
The amount of storage space allocated by this ContentQuota to the DirectoryUser. |
static java.lang.String |
CLASS_NAME
This class name for this class. |
static java.lang.String |
CONSUMEDSTORAGE_ATTRIBUTE
The amount of storage space currently consumed by the DirectoryUser. |
static java.lang.String |
DIRECTORYUSER_ATTRIBUTE
The DirectoryUser that has allocated/consumed the storage space represented by this ContentQuota. |
static java.lang.String |
ENABLED_ATTRIBUTE
An indicator of whether the ContentQuota is enabled or disabled. |
Method Summary | |
void |
calculateConsumedStorage()
Calculates the current consumed storage for the DirectoryUser and updates this ContentQuota object. |
long |
getAllocatedStorage()
Gets the amount of allocated storage. |
long |
getConsumedStorage()
Gets the amount of consumed storage. |
DirectoryUser |
getDirectoryUser()
Gets the DirectoryUser for this ContentQuota object. |
boolean |
isEnabled()
Determines whether quota enforcement is enabled. |
void |
setAllocatedStorage(long value)
Sets the amount of allocated storage. |
void |
setEnabled(boolean enable)
ContentQuota can be enabled or disabled. |
Methods inherited from class oracle.ifs.beans.LibraryObject |
equals, free, free, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getClassId, getClassObject, getDefinition, getId, getLabel, getName, getSession, invokeServerMethod, isInstanceOf, isTraced, lookupInstanceLabel, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setName, toString, trace, update |
Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
Field Detail |
public static final java.lang.String CLASS_NAME
public static final java.lang.String DIRECTORYUSER_ATTRIBUTE
public static final java.lang.String ALLOCATEDSTORAGE_ATTRIBUTE
public static final java.lang.String CONSUMEDSTORAGE_ATTRIBUTE
public static final java.lang.String ENABLED_ATTRIBUTE
Method Detail |
public DirectoryUser getDirectoryUser() throws IfsException
IfsException
- if operation fails.public long getAllocatedStorage() throws IfsException
IfsException
- if operation fails.public void setAllocatedStorage(long value) throws IfsException
allocated
- storage (in bytes)IfsException
- if operation fails.public long getConsumedStorage() throws IfsException
IfsException
- if operation fails.public void calculateConsumedStorage() throws IfsException
IfsException
- if operation fails.public boolean isEnabled() throws IfsException
IfsException
- if the operation failspublic void setEnabled(boolean enable) throws IfsException
enable
- true if quota should be effectiveIfsException
- if the operation fails
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |