public interface AuctionConstrainerAuctionHouseSession extends OsidSession
This session provides methods to retrieve AuctionConstrainer
to AuctionHouse mappings. An
AuctionConstrainer 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 |
canLookupAuctionConstrainerAuctionHouseMappings()
Tests if this user can perform lookups of auction constrainer/auction
house mappings.
|
IdList |
getAuctionConstrainerIdsByAuctionHouse(Id auctionHouseId)
Gets the list of
AuctionConstrainerIds associated with
an AuctionHouse. |
IdList |
getAuctionConstrainerIdsByAuctionHouses(IdList auctionHouseIds)
Gets the list of
AuctionConstrainer Ids corresponding
to a list of AuctionHouses. |
AuctionConstrainerList |
getAuctionConstrainersByAuctionHouse(Id auctionHouseId)
Gets the list of auction constrainer associated with an
AuctionHouse. |
AuctionConstrainerList |
getAuctionConstrainersByAuctionHouses(IdList auctionHouseIds)
Gets the list of auction constrainer corresponding to a list of
AuctionHouses. |
IdList |
getAuctionHouseIdsByAuctionConstrainer(Id auctionConstrainerId)
Gets the
AuctionHouse Ids mapped to an
AuctionConstrainer. |
AuctionHouseList |
getAuctionHousesByAuctionConstrainer(Id auctionConstrainerId)
Gets the
AuctionHouses mapped to an
AuctionConstrainer. |
void |
useComparativeAuctionConstrainerAuctionHouseView()
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 |
usePlenaryAuctionConstrainerAuctionHouseView()
A complete view of the
AuctionConstrainer and
AuctionHouse returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canLookupAuctionConstrainerAuctionHouseMappings()
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 useComparativeAuctionConstrainerAuctionHouseView()
mandatory - This method is must be implemented. void usePlenaryAuctionConstrainerAuctionHouseView()
AuctionConstrainer 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 getAuctionConstrainerIdsByAuctionHouse(Id auctionHouseId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionConstrainerIds 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. AuctionConstrainerList getAuctionConstrainersByAuctionHouse(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 getAuctionConstrainerIdsByAuctionHouses(IdList auctionHouseIds) throws OperationFailedException, PermissionDeniedException
AuctionConstrainer 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. AuctionConstrainerList getAuctionConstrainersByAuctionHouses(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 getAuctionHouseIdsByAuctionConstrainer(Id auctionConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionHouse Ids mapped to an
AuctionConstrainer. auctionConstrainerId - Id of an
AuctionConstrainer NotFoundException - auctionConstrainerId
is not foundNullArgumentException - auctionConstrainerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. AuctionHouseList getAuctionHousesByAuctionConstrainer(Id auctionConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
AuctionHouses mapped to an
AuctionConstrainer. auctionConstrainerId - Id of an
AuctionConstrainer NotFoundException - auctionConstrainerId
is not foundNullArgumentException - auctionConstrainerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.