OSID Logo
OSID Specifications
filing allocation package
Version 3.0.0
Release Candidate Preview
Interfaceosid.filing.allocation.AllocationForm
Implementsosid.OsidExtensibleForm
osid.OsidBrowsableForm
Description

DirectoryEntryForm defines methods in common to both FileForm and DirectoryForm.

MethodgetTotalSpaceMetadata
Description

Gets the metadata for the total space.

Returnosid.Metadatametadata for the total space
CompliancemandatoryThis method must be implemented.
MethodsetTotalSpace
Description

Sets the total space.

Parameterscardinalbytesthe new total space
ErrorsINVALID_ARGUMENT bytes is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearTotalSpace
Description

Clears the total space.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetTotalFilesMetadata
Description

Gets the metadata for the total files.

Returnosid.Metadatametadata for the total files
CompliancemandatoryThis method must be implemented.
MethodsetTotalFiles
Description

Sets the total files.

Parameterscardinalnumberthe new total files
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearTotalFiles
Description

Clears the total files.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetAllocationFormRecord
Description

Gets the AllocationFormRecord corresponding to the given allocation record Type.

Parametersosid.type.TypeallocationRecordTypethe allocation record type
Returnosid.filing.allocation.records.AllocationFormRecordthe allocation form record
ErrorsNULL_ARGUMENT allocationRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(allocationRecordType) is false
CompliancemandatoryThis method must be implemented.