OSID Logo
OSID Specifications
filing allocation package
Version 3.1.0
Interfaceosid.filing.allocation.AllocationForm
Implementsosid.OsidExtensibleForm
osid.OsidBrowsableForm
Used Byosid.filing.allocation.AllocationAdminSession
Description

DirectoryEntryForm defines methods in common to both FileForm and DirectoryForm.

MethodgetTotalSpaceMetadata
Description

Gets the metadata for the total space.

Returnosid.Metadata metadata for the total space
Compliancemandatory This method must be implemented.
MethodsetTotalSpace
Description

Sets the total space.

Parameterscardinalbytes the new total space
ErrorsINVALID_ARGUMENT bytes is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearTotalSpace
Description

Clears the total space.

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

Gets the metadata for the total files.

Returnosid.Metadata metadata for the total files
Compliancemandatory This method must be implemented.
MethodsetTotalFiles
Description

Sets the total files.

Parameterscardinalnumber the new total files
ErrorsINVALID_ARGUMENT number is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearTotalFiles
Description

Clears the total files.

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

Gets the AllocationFormRecord corresponding to the given allocation record Type.

Parametersosid.type.TypeallocationRecordType the allocation record type
Returnosid.filing.allocation.records.AllocationFormRecord the allocation form record
ErrorsNULL_ARGUMENT allocationRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(allocationRecordType) is false
Compliancemandatory This method must be implemented.