public interface AuctionConstrainerEnablerAuctionHouseSession extends OsidSession
This session provides methods to retrieve
AuctionConstrainerEnabler
to AuctionHouse
mappings.
An AuctionConstrainerEnabler
may appear in multiple
AuctionHouse
objects. Each auction house may have its own
authorizations governing who is allowed to look at it.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupAuctionConstrainerEnablerAuctionHouseMappings()
Tests if this user can perform lookups of auction constrainer
enabler/auction house mappings.
|
IdList |
getAuctionConstrainerEnablerIdsByAuctionHouse(Id auctionHouseId)
Gets the list of
AuctionConstrainerEnablerIds
associated with an AuctionHouse. |
IdList |
getAuctionConstrainerEnablerIdsByAuctionHouses(IdList auctionHouseIds)
Gets the list of
AuctionConstrainerEnabler Ids
corresponding to a list of AuctionHouses. |
AuctionConstrainerEnablerList |
getAuctionConstrainerEnablersByAuctionHouse(Id auctionHouseId)
Gets the list of auction constrainer enablers associated with an
AuctionHouse. |
AuctionConstrainerEnablerList |
getAuctionConstrainerEnablersByAuctionHouses(IdList auctionHouseIds)
Gets the list of auction constrainer enablers corresponding to a list
of
AuctionHouses. |
IdList |
getAuctionHouseIdsByAuctionConstrainerEnabler(Id auctionConstrainerEnablerId)
Gets the
AuctionHouse Ids mapped to an
AuctionConstrainerEnabler. |
AuctionHouseList |
getAuctionHousesByAuctionConstrainerEnabler(Id auctionConstrainerEnablerId)
Gets the
AuctionHouses mapped to an
AuctionConstrainerEnabler. |
void |
useComparativeAuctionConstrainerEnablerAuctionHouseView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
usePlenaryAuctionConstrainerEnablerAuctionHouseView()
A complete view of the
AuctionConstrainerEnabler and
AuctionHouse returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
boolean canLookupAuctionConstrainerEnablerAuctionHouseMappings()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer lookup operations to
unauthorized users. false
if looking up mappings is not authorized,
true
otherwisemandatory
- This method must be implemented. void useComparativeAuctionConstrainerEnablerAuctionHouseView()
mandatory
- This method is must be implemented. void usePlenaryAuctionConstrainerEnablerAuctionHouseView()
AuctionConstrainerEnabler
and
AuctionHouse
returns is desired. Methods will return
what is requested or result in an error. This view is used when
greater precision is desired at the expense of interoperability.mandatory
- This method is must be implemented. IdList getAuctionConstrainerEnablerIdsByAuctionHouse(Id auctionHouseId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionConstrainerEnablerIds
associated with an AuctionHouse.
auctionHouseId
- Id
of the AuctionHouse
Ids
NotFoundException
- auctionHouseId
is
not foundNullArgumentException
- auctionHouseId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. AuctionConstrainerEnablerList getAuctionConstrainerEnablersByAuctionHouse(Id auctionHouseId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionHouse.
auctionHouseId
- Id
of the AuctionHouse
NotFoundException
- auctionHouseId
is
not foundNullArgumentException
- auctionHouseId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getAuctionConstrainerEnablerIdsByAuctionHouses(IdList auctionHouseIds) throws OperationFailedException, PermissionDeniedException
AuctionConstrainerEnabler Ids
corresponding to a list of AuctionHouses.
auctionHouseIds
- list of auction house Ids
Ids
NullArgumentException
- auctionHouseIds
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. AuctionConstrainerEnablerList getAuctionConstrainerEnablersByAuctionHouses(IdList auctionHouseIds) throws OperationFailedException, PermissionDeniedException
AuctionHouses.
auctionHouseIds
- list of auction house Ids
NullArgumentException
- auctionHouseIds
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getAuctionHouseIdsByAuctionConstrainerEnabler(Id auctionConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionHouse
Ids
mapped to an
AuctionConstrainerEnabler.
auctionConstrainerEnablerId
- Id
of an
AuctionConstrainerEnabler
NotFoundException
- auctionConstrainerEnablerId
is not foundNullArgumentException
-
auctionConstrainerEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. AuctionHouseList getAuctionHousesByAuctionConstrainerEnabler(Id auctionConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionHouses
mapped to an
AuctionConstrainerEnabler.
auctionConstrainerEnablerId
- Id
of an
AuctionConstrainerEnabler
NotFoundException
- auctionConstrainerEnablerId
is not foundNullArgumentException
-
auctionConstrainerEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.