You are here: RainWorx.FrameWorx.Providers Namespaces > RainWorx.FrameWorx.Providers.Listing Namespaces > RainWorx.FrameWorx.Providers.Listing > IListing Interface

IListing Interface

AuctionWorx 3.5 API
The IListing Interface is the base interface for all listing types. It handles the creation and update of listing types. In general, it expects UserInput as input from the web page. Since we would consider *any* logic in the MVC layer misplaced (because MVC is supposed to be presentation, and BLL is supposed to be logic) UserInput is just basic data a user could send, mostly consisting of key/value pairs from a webform. Listing Types are generally a set of fields common to all (or most) listings, and a "property bag" of custom fields for additional logic. This property bag should contain information required for internal logic for the listing type, but generally should not contain queryable data. An example would be for Dutch Auctions where "quantity" is part of the internal logic of a Dutch Auction, but most likely users wouldn't be querying listings based on "quantity"... "Show me all listings where quantity is 5..."

Namespace:  RainWorx.FrameWorx.Providers.Listing
Assembly:  RainWorx.FrameWorx.Providers.Listing (in RainWorx.FrameWorx.Providers.Listing.dll) Version: 3.5

Syntax

C#
public interface IListing

The IListing type exposes the following members.

Properties

NameDescription
Public propertyName
The Name of the Listing Provider
Top
Methods

NameDescription
Public methodCreateListing
Creates a new Listing
Public methodFillListingContext
Fills the Listing's Context with respect to a specific user
Public methodGetUpdateableListingFields
Retrieves a list of Listing fields and their updatability
Public methodRegisterSelf
Registers the Listing Format Provider
Public methodRestoreListing
Returns a listing to its original state
Public methodUpdateListing
Updates an existing Listing
Public methodValidateListingTypeProperties
Validates Listing Type Properties as submitted from the Admin Control Panel and returns a list of custom properties
Top
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.