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.ListingAssembly: 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
Name | Description | |
---|---|---|
![]() | Name |
The Name of the Listing Provider
|
Methods
Name | Description | |
---|---|---|
![]() | CreateListing |
Creates a new Listing
|
![]() | FillListingContext |
Fills the Listing's Context with respect to a specific user
|
![]() | GetUpdateableListingFields |
Retrieves a list of Listing fields and their updatability
|
![]() | RegisterSelf |
Registers the Listing Format Provider
|
![]() | RestoreListing |
Returns a listing to its original state
|
![]() | UpdateListing |
Updates an existing Listing
|
![]() | ValidateListingTypeProperties |
Validates Listing Type Properties as submitted from the Admin Control Panel and returns a list of custom properties
|
See Also