|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ifs.server.S_LibraryObject | +--oracle.ifs.server.S_TieLibraryObject | +--oracle.ifs.server.S_PublicObject | +--oracle.ifs.server.S_TiePublicObject | +--oracle.ifs.server.S_ApplicationObject | +--oracle.ifs.server.S_TieApplicationObject | +--oracle.ifs.server.S_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.
S_LibraryService
,
S_LibrarySession
Method Summary | |
protected void |
calculateConsumedStorage()
Calculates the current consumed storage for the DirectoryUser and updates this ContentQuota object. |
protected void |
extendedPreInsert(OperationState opState,
S_LibraryObjectDefinition def)
Update any system attributes appropriate for creating this object; in this case, derive the UniqueName. |
protected void |
extendedPreUpdate(OperationState opState,
S_LibraryObjectDefinition def)
Performs the necessary operations before an update. |
protected long |
getAllocatedStorage()
Gets the amount of allocated storage. |
S_PublicObject |
getAssociatedPublicObject()
Gets the PublicObject associated with this ContentQuota object. |
protected long |
getConsumedStorage()
Gets the amount of consumed storage. |
protected boolean |
isEnabled()
Determines whether this ContentQuota is enabled. |
Methods inherited from class oracle.ifs.server.S_ApplicationObject |
isVersionable |
Methods inherited from class oracle.ifs.server.S_LibraryObject |
equals, free, getAttribute, getAttributeByUpperCaseName, getClassId, getClassObject, getId, getSession, handleEvent, isTraced, postEvent, postEvent, renderAsReader, renderAsStream, setAttribute, setAttribute, toString, trace, update |
Methods inherited from interface oracle.ifs.common.LibraryObjectInterface |
getId |
Methods inherited from interface oracle.ifs.common.Traceable |
getTraceLogger, isTraced, trace |
Method Detail |
public S_PublicObject getAssociatedPublicObject() throws IfsException
IfsException
- if operation failsprotected boolean isEnabled() throws IfsException
if
- operation failsprotected long getAllocatedStorage() throws IfsException
IfsException
- if operation fails.protected long getConsumedStorage() throws IfsException
IfsException
- if operation fails.protected void extendedPreInsert(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreInsert
in class S_PublicObject
opState
- current operation statedef
- current object definition to be updated with
system attributesIfsException
- if operation fails.protected void extendedPreUpdate(OperationState opState, S_LibraryObjectDefinition def) throws IfsException
extendedPreUpdate
in class S_PublicObject
opState
- current state of the operationdef
- current object definition to be updatedIfsException
- if the operation fails.protected void calculateConsumedStorage() throws IfsException
IfsException
- if the operation fails
|
Oracle Content Management SDK | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |