OSID Logo
OSID Specifications
bidding rules package
Version 3.1.0
Interfaceosid.bidding.rules.AuctionProcessorEnablerAdminSession
Implementsosid.OsidSession
Used Byosid.bidding.rules.BiddingRulesManager
osid.bidding.rules.BiddingRulesProxyManager
Description

This session creates and removes auction processor enablers. The data for create and update is provided via the AuctionProcessorEnablerForm.

MethodgetAuctionHouseId
Description

Gets the AuctionHouse Id associated with this session.

Returnosid.id.Id the AuctionHouse Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetAuctionHouse
Description

Gets the AuctionHouse associated with this session.

Returnosid.bidding.AuctionHouse the auction house
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanCreateAuctionProcessorEnabler
Description

Tests if this user can create auction processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating an AuctionProcessorEnabler will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.

Returnboolean false if AuctionProcessorEnabler creation is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodcanCreateAuctionProcessorEnablerWithRecordTypes
Description

Tests if this user can create a single AuctionProcessorEnabler using the desired record types. While BiddingRulesManager.getAuctionProcessorEnablerRecordTypes() can be used to examine which records are supported, this method tests which record(s) are required for creating a specific AuctionProcessorEnabler. Providing an empty array tests if an AuctionProcessorEnabler can be created with no records.

Parametersosid.type.Type[]auctionProcessorEnablerRecordTypes array of auction processor enabler record types
Returnboolean true if AuctionProcessorEnabler creation using the specified record Types is supported, false otherwise
ErrorsNULL_ARGUMENT auctionProcessorEnablerRecordTypes is null
Compliancemandatory This method must be implemented.
MethodgetAuctionProcessorEnablerFormForCreate
Description

Gets the auction processor enabler form for creating new auction processor enablers. A new form should be requested for each create transaction.

Parametersosid.type.Type[]auctionProcessorEnablerRecordTypes array of auction processor enabler record types
Returnosid.bidding.rules.AuctionProcessorEnablerForm the auction processor enabler form
ErrorsNULL_ARGUMENT auctionProcessorEnablerRecordTypes is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED unable to get form for requested record types
Compliancemandatory This method must be implemented.
MethodcreateAuctionProcessorEnabler
Description

Creates a new AuctionProcessorEnabler.

Parametersosid.bidding.rules.AuctionProcessorEnablerFormauctionProcessorEnablerForm the form for this AuctionProcessorEnabler
Returnosid.bidding.rules.AuctionProcessorEnabler the new AuctionProcessorEnabler
ErrorsILLEGAL_STATE auctionProcessorEnablerForm already used in a create transaction
INVALID_ARGUMENT one or more of the form elements is invalid
NULL_ARGUMENT auctionProcessorEnablerForm is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED auctionProcessorEnablerForm did not originate from getAuctionProcessorEnablerFormForCreate()
Compliancemandatory This method must be implemented.
MethodcanUpdateAuctionProcessorEnablers
Description

Tests if this user can update auction processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating an AuctionProcessorEnabler will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.

Returnboolean false if AuctionProcessorEnabler modification is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetAuctionProcessorEnablerFormForUpdate
Description

Gets the auction processor enabler form for updating an existing auction processor enabler. A new auction processor enabler form should be requested for each update transaction.

Parametersosid.id.IdauctionProcessorEnablerId the Id of the AuctionProcessorEnabler
Returnosid.bidding.rules.AuctionProcessorEnablerForm the auction processor enabler form
ErrorsNOT_FOUND auctionProcessorEnablerId is not found
NULL_ARGUMENT auctionProcessorEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodupdateAuctionProcessorEnabler
Description

Updates an existing auction processor enabler.

Parametersosid.bidding.rules.AuctionProcessorEnablerFormauctionProcessorEnablerForm the form containing the elements to be updated
ErrorsILLEGAL_STATE auctionProcessorEnablerForm already used in an update transaction
INVALID_ARGUMENT the form contains an invalid value
NULL_ARGUMENT auctionProcessorEnablerForm is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED auctionProcessorEnablerForm did not originate from getAuctionProcessorEnablerFormForUpdate()
Compliancemandatory This method must be implemented.
MethodcanDeleteAuctionProcessorEnablers
Description

Tests if this user can delete auction processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting an AuctionProcessorEnabler will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.

Returnboolean false if AuctionProcessorEnabler deletion is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoddeleteAuctionProcessorEnabler
Description

Deletes an AuctionProcessorEnabler.

Parametersosid.id.IdauctionProcessorEnablerId the Id of the AuctionProcessorEnabler to remove
ErrorsNOT_FOUND auctionProcessorEnablerId not found
NULL_ARGUMENT auctionProcessorEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageAuctionProcessorEnablerAliases
Description

Tests if this user can manage Id aliases for auction processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.

Returnboolean false if AuctionProcessorEnabler aliasing is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodaliasAuctionProcessorEnabler
Description

Adds an Id to an AuctionProcessorEnabler for the purpose of creating compatibility. The primary Id of the AuctionProcessorEnabler is determined by the provider. The new Id performs as an alias to the primary Id. If the alias is a pointer to another auction processor enabler. it is reassigned to the given auction processor enabler Id.

Parametersosid.id.IdauctionProcessorEnablerId the Id of an AuctionProcessorEnabler
osid.id.IdaliasId the alias Id
ErrorsALREADY_EXISTS aliasId is already assigned
NOT_FOUND auctionProcessorEnablerId not found
NULL_ARGUMENT auctionProcessorEnablerId or aliasId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.