OSID Logo
OSID Specifications
ordering rules package
Version 3.1.0
Interfaceosid.ordering.rules.PriceEnablerForm
Implementsosid.OsidEnablerForm
Used Byosid.ordering.rules.PriceEnablerAdminSession
Description

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

MethodgetMinQuantityMetadata
Description

Gets the metadata for the minimum quantity.

Returnosid.Metadata metadata for the minumim quantity
Compliancemandatory This method must be implemented.
MethodsetMinimumQuantity
Description

Sets the minimum quantity.

ParameterscardinalminQuantity the new minumim quantity
ErrorsINVALID_ARGUMENT minQuantity is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMinimumQuantity
Description

Clears the minimum quantity.

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

Gets the metadata for the minimum quantity.

Returnosid.Metadata metadata for the maximum quantity
Compliancemandatory This method must be implemented.
MethodsetMaximumQuantity
Description

Sets the maximum quantity.

ParameterscardinalminQuantity the new maximum quantity
ErrorsINVALID_ARGUMENT maxQuantity is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearMaximumQuantity
Description

Clears the maximum quantity.

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

Gets the PriceEnablerFormRecord corresponding to the given price enabler record Type.

Parametersosid.type.TypepriceEnablerRecordType a price enabler record type
Returnosid.ordering.rules.records.PriceEnablerFormRecord the price enabler form record
ErrorsNULL_ARGUMENT priceEnablerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(priceEnablerRecordType) is false
Compliancemandatory This method must be implemented.