public interface AuctionProcessorEnablerAuctionHouseAssignmentSession extends OsidSession
This session provides methods to re-assign
AuctionProcessorEnabler to AuctionHouse mappings.
An AuctionProcessorEnabler may appear in multiple
AuctionHouse objects and removing the last reference to an
AuctionProcessorEnabler is the equivalent of deleting it. Each
AuctionHouse may have its own authorizations governing who
is allowed to operate on it.
Adding a reference of an AuctionProcessorEnabler to
another AuctionHouse is not a copy operation (eg: does not
change its Id ).
| Modifier and Type | Method and Description |
|---|---|
void |
assignAuctionProcessorEnablerToAuctionHouse(Id auctionProcessorEnablerId,
Id auctionHouseId)
Adds an existing
AuctionProcessorEnabler to an
AuctionHouse. |
boolean |
canAssignAuctionProcessorEnablers()
Tests if this user can alter auction processor enabler/auction house
mappings.
|
boolean |
canAssignAuctionProcessorEnablersToAuctionHouse(Id auctionHouseId)
Tests if this user can alter auction processor enabler/auction house
mappings.
|
IdList |
getAssignableAuctionHouseIds(Id auctionHouseId)
Gets a list of auction houses including and under the given auction
house node in which any auction processor enabler can be assigned.
|
IdList |
getAssignableAuctionHouseIdsForAuctionProcessorEnabler(Id auctionHouseId,
Id auctionProcessorEnablerId)
Gets a list of auction houses including and under the given auction
house node in which a specific auction processor enabler can be
assigned.
|
void |
unassignAuctionProcessorEnablerFromAuctionHouse(Id auctionProcessorEnablerId,
Id auctionHouseId)
Removes an
AuctionProcessorEnabler from an
AuctionHouse. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canAssignAuctionProcessorEnablers()
PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer lookup operations to unauthorized users. false if mapping is not authorized, true
otherwisemandatory - This method must be implemented. boolean canAssignAuctionProcessorEnablersToAuctionHouse(Id auctionHouseId)
PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer lookup operations to unauthorized users.auctionHouseId - the Id of the
AuctionHouse false if mapping is not authorized, true
otherwiseNullArgumentException - auctionHouseId
is null mandatory - This method must be implemented. IdList getAssignableAuctionHouseIds(Id auctionHouseId) throws OperationFailedException
auctionHouseId - the Id of the
AuctionHouse Ids NullArgumentException - auctionHouseId
is null OperationFailedException - unable to complete requestmandatory - This method must be implemented. IdList getAssignableAuctionHouseIdsForAuctionProcessorEnabler(Id auctionHouseId, Id auctionProcessorEnablerId) throws OperationFailedException
auctionHouseId - the Id of the
AuctionHouse auctionProcessorEnablerId - the Id of the
AuctionProcessorEnabler Ids NullArgumentException - auctionHouseId
or auctionProcessorEnablerId is null
OperationFailedException - unable to complete requestmandatory - This method must be implemented. void assignAuctionProcessorEnablerToAuctionHouse(Id auctionProcessorEnablerId, Id auctionHouseId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
AuctionProcessorEnabler to an
AuctionHouse. auctionProcessorEnablerId - the Id of the
AuctionProcessorEnabler auctionHouseId - the Id of the
AuctionHouse AlreadyExistsException -
auctionProcessorEnablerId already assigned to
auctionHouseId NotFoundException - auctionProcessorEnablerId
or auctionHouseId not foundNullArgumentException -
auctionProcessorEnablerId or auctionHouseId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void unassignAuctionProcessorEnablerFromAuctionHouse(Id auctionProcessorEnablerId, Id auctionHouseId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionProcessorEnabler from an
AuctionHouse. auctionProcessorEnablerId - the Id of the
AuctionProcessorEnabler auctionHouseId - the Id of the
AuctionHouse NotFoundException - auctionProcessorEnablerId
or auctionHouseId not found or
auctionProcessorEnablerId not assigned to
auctionHouseId NullArgumentException -
auctionProcessorEnablerId or auctionHouseId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.