Interface AuctionProcessorEnablerRuleApplicationSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session provides methods to apply AuctionProcessorEnablers
to AuctionProcessors . An AuctionProcessor with multiple
AuctionProcessorEnablers means any positive rule evaluation across
the enablers result in an effective AuctionProcessor .
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignAuctionProcessorEnablerToAuctionProcessor(Id auctionProcessorEnablerId, Id auctionProcessorId) Adds an existingAuctionProcessorEnablerto anAuctionProcessor.booleanTests if this user can alter auction processor enabler/auction processor mappings.booleanTests if this user can orderAuctionProcessors.Gets theAuctionHouseassociated with this session.Gets theAuctionHouseIdassociated with this session.voidmoveAuctionProcessorEnablerAhead(Id auctionProcessorEnablerId, Id auctionProcessorId, Id referenceId) Reorders auction processor enablers for an auction processor by moving the specified auction processor enabler in front of a reference auction processor enabler.voidmoveAuctionProcessorEnablerBehind(Id auctionProcessorEnablerId, Id auctionProcessorId, Id referenceId) Reorders auction processor enablers for an auction processor by moving the specified auction processor enabler behind a reference auction processor enabler.voidorderAuctionProcessorEnablers(Id[] auctionProcessorEnablerIds, Id auctionProcessorId) Reorders a set of auction processor enablers for an auction processor.voidunassignAuctionProcessorEnablerFromAuctionProcessor(Id auctionProcessorEnablerId, Id auctionProcessorId) Removes anAuctionProcessorEnablerfrom anAuctionProcessor.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
getAuctionHouseId
Id getAuctionHouseId()Gets theAuctionHouseIdassociated with this session.- Returns:
- the
AuctionHouse Idassociated with this session - Compliance:
mandatory- This method must be implemented.
-
getAuctionHouse
Gets theAuctionHouseassociated with this session.- Returns:
- the auction house
- Throws:
OperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canAssignAuctionProcessorEnablers
boolean canAssignAuctionProcessorEnablers()Tests if this user can alter auction processor enabler/auction processor mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.- Returns:
falseif mapping is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
assignAuctionProcessorEnablerToAuctionProcessor
void assignAuctionProcessorEnablerToAuctionProcessor(Id auctionProcessorEnablerId, Id auctionProcessorId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an existingAuctionProcessorEnablerto anAuctionProcessor.- Parameters:
auctionProcessorEnablerId- theIdof theAuctionProcessorEnablerauctionProcessorId- theIdof theAuctionProcessor- Throws:
AlreadyExistsException-auctionProcessorEnablerIdalready applied toauctionProcessorIdNotFoundException-auctionProcessorEnablerIdorauctionProcessorIdnot foundNullArgumentException-auctionProcessorEnablerIdorauctionProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
unassignAuctionProcessorEnablerFromAuctionProcessor
void unassignAuctionProcessorEnablerFromAuctionProcessor(Id auctionProcessorEnablerId, Id auctionProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes anAuctionProcessorEnablerfrom anAuctionProcessor.- Parameters:
auctionProcessorEnablerId- theIdof theAuctionProcessorEnablerauctionProcessorId- theIdof theAuctionProcessor- Throws:
NotFoundException-auctionProcessorEnablerIdorauctionProcessorIdnot found or not mappedNullArgumentException-auctionProcessorEnablerIdorauctionProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
canSequenceAuctionProcessorEnablers
boolean canSequenceAuctionProcessorEnablers()Tests if this user can orderAuctionProcessors. A return of true does not guarantee successful authorization. A return of false indicates that it is known sequencing operations will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer sequencing operations to an unauthorized user.- Returns:
falseifAuctionProcessorEnablerordering is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
moveAuctionProcessorEnablerAhead
void moveAuctionProcessorEnablerAhead(Id auctionProcessorEnablerId, Id auctionProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders auction processor enablers for an auction processor by moving the specified auction processor enabler in front of a reference auction processor enabler.- Parameters:
auctionProcessorEnablerId- theIdof anAuctionProcessorEnablerauctionProcessorId- theIdof anAuctionProcessorreferenceId- the reference auction processorId- Throws:
NotFoundException-auctionProcessorEnablerId, auctionProcesorId, orreferenceIdnot found or,auctionProcessorEnablerIdorreferenceIdnot related toauctionProcessorIdNullArgumentException-auctionProcessorEnablerId, auctionProcessorId, orreferenceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
moveAuctionProcessorEnablerBehind
void moveAuctionProcessorEnablerBehind(Id auctionProcessorEnablerId, Id auctionProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders auction processor enablers for an auction processor by moving the specified auction processor enabler behind a reference auction processor enabler.- Parameters:
auctionProcessorEnablerId- theIdof anAuctionProcessorEnablerauctionProcessorId- theIdof anAuctionProcessorreferenceId- the reference auction processorId- Throws:
NotFoundException-auctionProcessorEnablerId, auctionProcesorId, orreferenceIdnot found or,auctionProcessorEnablerIdorreferenceIdnot related toauctionProcessorIdNullArgumentException-auctionProcessorEnablerId, auctionProcessorId, orreferenceIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
orderAuctionProcessorEnablers
void orderAuctionProcessorEnablers(Id[] auctionProcessorEnablerIds, Id auctionProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException Reorders a set of auction processor enablers for an auction processor.- Parameters:
auctionProcessorEnablerIds- theIdsfor a set ofAuctionProcessorEnablersauctionProcessorId- theIdof anAuctionProcessor- Throws:
NotFoundException-auctionProcessorIdnot found or, anauctionProcessorEnablerIdnot related toauctionProcessorIdNullArgumentException-auctionProcessorEnablerIdsorauctionProcessorIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-