Provides some basic functionality needed by most other AuctionWorx controllers
Inheritance Hierarchy
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
Name | Description | |
---|---|---|
![]() | AuctionWorxController | Initializes a new instance of the AuctionWorxController class |
Methods
Name | Description | |
---|---|---|
![]() | AddErrors |
Adds IdentityResult errors to ModelState
|
![]() | GetCustomFieldVisbilityForListing |
Calculates the applicable access level of the specified listing with respect to the currently authenticated user
|
![]() ![]() | GetFinalBuyerFeeRanges |
Retrieves final buyer fee data for the specified listing type
|
![]() | OnException | (Overrides Controller.OnException(ExceptionContext).) |
![]() | PrepareErrorMessage(ReasonCode) |
Stores the specified "error" response message key in temp data after the calling action method fails
|
![]() | PrepareErrorMessage(String, MessageType) |
Stores a generic "error" response message key in temp data, generated from the calling method's name
|
![]() | PrepareErrorMessage(String, Exception) |
Stores an "error" response message key in temp data, generated from the specified exception details
|
![]() | PrepareNeutralMessage |
Stores the specified "neutral" response message key in temp data when a response that doesn't indicate success or failure is needed
|
![]() | PrepareSuccessMessage |
Stores the specified "success" response message key in temp data after the calling action method succeeds
|
![]() | PruneCustomFieldsVisbility |
Removes any custom fields in the specified list which should not be visible for the specified access level
|
![]() | PruneCustomPropertiesEditability(CustomFieldAccess, ListCustomProperty) |
Removes any custom properties in the specified list which should not be editable for the specified access level
|
![]() | PruneCustomPropertiesEditability(String, ListCustomProperty) |
Removes any custom properties in the specified list which should not be editable by the current user
|
![]() | PruneCustomPropertiesVisbility(CustomFieldAccess, ListCustomProperty) |
Removes any custom properties in the specified list which should not be visible for the specified access level
|
![]() | PruneCustomPropertiesVisbility(String, ListCustomProperty) |
Removes any custom properties in the specified list which should not be visible to the current user
|
![]() | PruneListingCustomFieldsEditability |
Removes any custom fields from the specified list where the specified user does not have sufficient permission to edit, per each fields' "Mutability" property
|
![]() | PruneListingCustomFieldsVisbility |
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
|
![]() | PruneListingCustomPropertiesEditability |
Removes any custom fields from the specified list where the specified user does not have sufficient permission to edit,
per each fields' "Mutability" property
|
![]() | PruneUserCustomFieldsForEdit |
returns a list of properties minus any that should not be editable by impersonated user due to role and/or applicable site properties
|
![]() | PruneUserCustomFieldsForEditAsAdmin |
returns a list of properties minus any that should not be editable as admin due to applicable site properties
|
![]() | PruneUserCustomFieldsForVisbilityAsAdmin |
returns a list of properties minus any that should not be visible as admin due to applicable site properties
|
![]() | PruneUserCustomFieldsForVisbilityOnly |
returns a list of properties minus any that should not be visible by impersonated user due to role and/or applicable site properties
|
![]() ![]() | SimpleSelectList(String) |
Converts a string of comma separated options to a SelectList object
|
![]() ![]() | SimpleSelectList(String, Object) |
Converts a string of comma separated options to a SelectList object
|
![]() | ValidateUserPropertyValues |
Validates certain user properties whose values must not conflict with each other
|
Extension Methods
Name | Description | |
---|---|---|
![]() | AdminResourceString | (Defined by ResourceExtensions.) |
![]() | CloneMediaAssets |
Clones a list of Media objects
(Defined by HtmlHelpers.) |
![]() | Countries | (Defined by ResourceExtensions.) |
![]() | CustomFieldResourceOrDefaultString | (Defined by ResourceExtensions.) |
![]() | CustomFieldResourceString | (Defined by ResourceExtensions.) |
![]() | DecodeBreadCrumbs(String) | Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.) |
![]() | DecodeBreadCrumbs(String, ListCategory) | Overloaded.
Parses breadcrumb values and sets ViewData as needed
(Defined by HtmlHelpers.) |
![]() | FBOUserName |
Returns the username of the user being impersonated, if applicable, otherwise returns the username of the authenticated user
(Defined by HtmlHelpers.) |
![]() | FlushCountriesAndStates | (Defined by ResourceExtensions.) |
![]() | GetActionUrl(String) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetActionUrl(String, String) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetActionUrl(String, Object) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetActionUrl(String, String, Object) | Overloaded.
Returns the URL for the virtual path of the specified action.
(Defined by HtmlHelpers.) |
![]() | GetAllStripeCards |
Calls out to stripe.com API to retrieve saved cards available for the specified invoice
(Defined by StripeHelpers.) |
![]() | GetCookie |
Returns a string representation of the browser cookie value associated with the specified key
(Defined by HtmlHelpers.) |
![]() | GetCultureInfo |
Returns the CultureInfo of the current user, or the site CultureInfo if not set
(Defined by HtmlHelpers.) |
![]() | GlobalResource | (Defined by ResourceExtensions.) |
![]() | GlobalResourceString | (Defined by ResourceExtensions.) |
![]() | HasUnexpiredCardOnFile |
Returns true if the specified payer has a card saved for use in paying the specified recipient
(Defined by HtmlHelpers.) |
![]() | HasUnexpiredStripeCardOnFile |
Calls out to stripe.com API to retrieve saved cards and returns true if an unexpired card is found
(Defined by StripeHelpers.) |
![]() | ImpersonateUser |
If the currently authenticated user is an admin user, sets a cookie indicating the user to be impersonated
(Defined by HtmlHelpers.) |
![]() | LocalCurrency |
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.) |
![]() | LocalDTTM(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.) |
![]() | LocalDTTM(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.) |
![]() | LocalDTTM(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.) |
![]() | LocalDTTMString |
returns a string representation of a UTC date/time value, adjusted for the site timezone and with the specified format string
(Defined by HtmlHelpers.) |
![]() | LocalizeCountry | (Defined by ResourceExtensions.) |
![]() | LocalizeCustomFieldValidationMessages |
Localizes a collection of validation issues with content defined in Validation.resx
(Defined by HtmlHelpers.) |
![]() | LocalizedCategoryName |
Retrieves the localized category or region name
(Defined by ResourceExtensions.) |
![]() | LocalizeState | (Defined by ResourceExtensions.) |
![]() | ResourceString |
Retrieves a resource string based on the specified expression
(Defined by ResourceExtensions.) |
![]() | SellerTakesCreditCardPayments |
Returns true if the specified seller has payment gateway credentials and can process credit card payments from a card on file
(Defined by HtmlHelpers.) |
![]() | SetCookie |
Sets a cookie for the current user with the specified key and value
(Defined by HtmlHelpers.) |
![]() | SiteCurrencyOrFree |
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.) |
![]() | TimeZoneAbbreviationString | (Defined by ResourceExtensions.) |
![]() | ToMvcHtmlString |
Returns the HTML version of the ToString() output method of the specified object
(Defined by HtmlHelpers.) |
![]() | ValidateCaptcha | (Defined by RecaptchaMVC.) |
![]() | ValidationResourceString | (Defined by ResourceExtensions.) |
See Also
Reference
Inheritance Hierarchy
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