You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > AuctionWorxController Class

AuctionWorxController Class

AuctionWorx 3.5 API
Provides some basic functionality needed by most other AuctionWorx controllers
Inheritance Hierarchy

SystemObject
  ControllerBase
    Controller
      RainWorx.FrameWorx.MVC.ControllersAuctionWorxController
        More...

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public abstract class AuctionWorxController : Controller

The AuctionWorxController type exposes the following members.

Constructors

NameDescription
Protected methodAuctionWorxController
Initializes a new instance of the AuctionWorxController class
Top
Methods

NameDescription
Protected methodAddErrors
Adds IdentityResult errors to ModelState
Protected methodGetCustomFieldVisbilityForListing
Calculates the applicable access level of the specified listing with respect to the currently authenticated user
Protected methodStatic memberGetFinalBuyerFeeRanges
Retrieves final buyer fee data for the specified listing type
Protected methodOnException (Overrides Controller.OnException(ExceptionContext).)
Protected methodPrepareErrorMessage(ReasonCode)
Stores the specified "error" response message key in temp data after the calling action method fails
Protected methodPrepareErrorMessage(String, MessageType)
Stores a generic "error" response message key in temp data, generated from the calling method's name
Protected methodPrepareErrorMessage(String, Exception)
Stores an "error" response message key in temp data, generated from the specified exception details
Protected methodPrepareNeutralMessage
Stores the specified "neutral" response message key in temp data when a response that doesn't indicate success or failure is needed
Protected methodPrepareSuccessMessage
Stores the specified "success" response message key in temp data after the calling action method succeeds
Protected methodPruneCustomFieldsVisbility
Removes any custom fields in the specified list which should not be visible for the specified access level
Protected methodPruneCustomPropertiesEditability(CustomFieldAccess, ListCustomProperty)
Removes any custom properties in the specified list which should not be editable for the specified access level
Protected methodPruneCustomPropertiesEditability(String, ListCustomProperty)
Removes any custom properties in the specified list which should not be editable by the current user
Protected methodPruneCustomPropertiesVisbility(CustomFieldAccess, ListCustomProperty)
Removes any custom properties in the specified list which should not be visible for the specified access level
Protected methodPruneCustomPropertiesVisbility(String, ListCustomProperty)
Removes any custom properties in the specified list which should not be visible to the current user
Protected methodPruneListingCustomFieldsEditability
Removes any custom fields from the specified list where the specified user does not have sufficient permission to edit, per each fields' "Mutability" property
Protected methodPruneListingCustomFieldsVisbility
Removes any custom properties from the specified listing where the currently authenticated user does not have sufficient permission to view, per each associated fields' "Visibility" property
Protected methodPruneListingCustomPropertiesEditability
Removes any custom fields from the specified list where the specified user does not have sufficient permission to edit, per each fields' "Mutability" property
Protected methodPruneUserCustomFieldsForEdit
returns a list of properties minus any that should not be editable by impersonated user due to role and/or applicable site properties
Protected methodPruneUserCustomFieldsForEditAsAdmin
returns a list of properties minus any that should not be editable as admin due to applicable site properties
Protected methodPruneUserCustomFieldsForVisbilityAsAdmin
returns a list of properties minus any that should not be visible as admin due to applicable site properties
Protected methodPruneUserCustomFieldsForVisbilityOnly
returns a list of properties minus any that should not be visible by impersonated user due to role and/or applicable site properties
Protected methodStatic memberSimpleSelectList(String)
Converts a string of comma separated options to a SelectList object
Protected methodStatic memberSimpleSelectList(String, Object)
Converts a string of comma separated options to a SelectList object
Protected methodValidateUserPropertyValues
Validates certain user properties whose values must not conflict with each other
Top
Extension Methods

NameDescription
Public Extension MethodAdminResourceString (Defined by ResourceExtensions.)
Public Extension MethodCloneMediaAssets
Clones a list of Media objects
(Defined by HtmlHelpers.)
Public Extension MethodCountries (Defined by ResourceExtensions.)
Public Extension MethodCustomFieldResourceOrDefaultString (Defined by ResourceExtensions.)
Public Extension MethodCustomFieldResourceString (Defined by ResourceExtensions.)
Public Extension MethodDecodeBreadCrumbs(String)Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.)
Public Extension MethodDecodeBreadCrumbs(String, ListCategory)Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.)
Public Extension MethodFBOUserName
Returns the username of the user being impersonated, if applicable, otherwise returns the username of the authenticated user
(Defined by HtmlHelpers.)
Public Extension MethodFlushCountriesAndStates (Defined by ResourceExtensions.)
Public Extension MethodGetActionUrl(String)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, String)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, Object)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetActionUrl(String, String, Object)Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.)
Public Extension MethodGetAllStripeCards
Calls out to stripe.com API to retrieve saved cards available for the specified invoice
(Defined by StripeHelpers.)
Public Extension MethodGetCookie
Returns a string representation of the browser cookie value associated with the specified key
(Defined by HtmlHelpers.)
Public Extension MethodGetCultureInfo
Returns the CultureInfo of the current user, or the site CultureInfo if not set
(Defined by HtmlHelpers.)
Public Extension MethodGlobalResource (Defined by ResourceExtensions.)
Public Extension MethodGlobalResourceString (Defined by ResourceExtensions.)
Public Extension MethodHasUnexpiredCardOnFile
Returns true if the specified payer has a card saved for use in paying the specified recipient
(Defined by HtmlHelpers.)
Public Extension MethodHasUnexpiredStripeCardOnFile
Calls out to stripe.com API to retrieve saved cards and returns true if an unexpired card is found
(Defined by StripeHelpers.)
Public Extension MethodImpersonateUser
If the currently authenticated user is an admin user, sets a cookie indicating the user to be impersonated
(Defined by HtmlHelpers.)
Public Extension MethodLocalCurrency
Returns HTML showing the specified numeric value formatted as the specified currency. The numeric portion will be wrapped in a <span> tag with css class "NumberPart" applied
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the site timezone and with format string "F"
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime, String)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTM(DateTime, String, String)Overloaded.
returns a string representation of a UTC date/time value, adjusted for the specified timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalDTTMString
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.)
Public Extension MethodLocalizeCountry (Defined by ResourceExtensions.)
Public Extension MethodLocalizeCustomFieldValidationMessages
Localizes a collection of validation issues with content defined in Validation.resx
(Defined by HtmlHelpers.)
Public Extension MethodLocalizedCategoryName
Retrieves the localized category or region name
(Defined by ResourceExtensions.)
Public Extension MethodLocalizeState (Defined by ResourceExtensions.)
Public Extension MethodResourceString
Retrieves a resource string based on the specified expression
(Defined by ResourceExtensions.)
Public Extension MethodSellerTakesCreditCardPayments
Returns true if the specified seller has payment gateway credentials and can process credit card payments from a card on file
(Defined by HtmlHelpers.)
Public Extension MethodSetCookie
Sets a cookie for the current user with the specified key and value
(Defined by HtmlHelpers.)
Public Extension MethodSiteCurrencyOrFree
Returns a string representation of the specified numeric value formatted as the site currency. If the specified value is less than or equal to zero then the localized version of "Free" is returned instead.
(Defined by HtmlHelpers.)
Public Extension MethodTimeZoneAbbreviationString (Defined by ResourceExtensions.)
Public Extension MethodToMvcHtmlString
Returns the HTML version of the ToString() output method of the specified object
(Defined by HtmlHelpers.)
Public Extension MethodValidateCaptcha (Defined by RecaptchaMVC.)
Public Extension MethodValidationResourceString (Defined by ResourceExtensions.)
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  ControllerBase
    Controller
      RainWorx.FrameWorx.MVC.ControllersAuctionWorxController
        RainWorx.FrameWorx.MVC.ControllersAccountController
        RainWorx.FrameWorx.MVC.ControllersAdminController
        RainWorx.FrameWorx.MVC.ControllersEventController
        RainWorx.FrameWorx.MVC.ControllersHomeController
        RainWorx.FrameWorx.MVC.ControllersListingController
        RainWorx.FrameWorx.MVC.ControllersMediaController
        RainWorx.FrameWorx.MVC.ControllersPageController
        RainWorx.FrameWorx.MVC.ControllersRealTimeController
        RainWorx.FrameWorx.MVC.ControllersStripeController

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