OSID Logo
OSID Specifications
provisioning rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.provisioning.rules.QueueConstrainerForm
Implementsosid.OsidConstrainerForm
Description

This is the form for creating and updating QueueConstrainers. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the QueueConstrainerAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetSizeLimitMetadata
Description

Gets the metadata for the size limit.

Returnosid.Metadatametadata for the size limit
CompliancemandatoryThis method must be implemented.
MethodsetSizeLimit
Description

Sets the size limit.

Parameterscardinallimitthe new limit
ErrorsINVALID_ARGUMENT limit is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearSizeLimit
Description

Removes the size limit.

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

Gets the metadata for the requires provisions flag.

Returnosid.Metadatametadata for the requires provisions flag
CompliancemandatoryThis method must be implemented.
MethodsetRequiresProvisions
Description

Sets the requires provisions flag.

ParameterscardinalrequiresProvisionsthe new requires provisions
ErrorsINVALID_ARGUMENT requiresProvisions is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearRequiresProvisions
Description

Removes the requires provisions flag.

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

Gets the metadata for the required pools.

Returnosid.Metadatametadata for the required pools
CompliancemandatoryThis method must be implemented.
MethodsetRequiredProvisionPools
Description

Sets the required provision pools.

Parametersosid.id.Id[]poolIdsthe new pools
ErrorsINVALID_ARGUMENT poolIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT poolIds is null
CompliancemandatoryThis method must be implemented.
MethodclearRequiredProvisionPools
Description

Clears the required provision pools.

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

Gets the QueueConstrainerFormRecord corresponding to the given queue constrainer record Type.

Parametersosid.type.TypequeueConstrainerRecordTypea queue constrainer record type
Returnosid.provisioning.rules.records.QueueConstrainerFormRecordthe queue constrainer form record
ErrorsNULL_ARGUMENT queueConstrainerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(queueConstrainerRecordType) is false
CompliancemandatoryThis method must be implemented.