The RedirectionController type exposes the following members.

Constructors

  NameDescription
Public methodRedirectionController
DotNetNuke.Services.Mobile.RedirectionController

Methods

  NameDescription
Public methodDelete
delete a redirection.
Public methodDeleteRule
delete a redirection's match rule.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAllRedirections
get all redirections defined in system.
Public methodGetFullSiteUrl()()()()
Get Url for the equivalent full site based on the current page of the mobile site
Public methodGetFullSiteUrl(Int32, Int32)
Get Url for the equivalent full site based on the current page of the mobile site
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMobileSiteUrl()()()()
Get Url for the equivalent mobile site based on the current page of the full site
Public methodGetMobileSiteUrl(Int32, Int32)
Get Url for the equivalent mobile site based on the current page of the full site
Public methodGetRedirectionById
get a specific redirection by id.
Public methodGetRedirectionsByPortal
get a redirection list for portal.
Public methodGetRedirectUrl(String)
Get Redirection Url based on UserAgent.
Public methodGetRedirectUrl(String, Int32, Int32)
Get Redirection Url based on Http Context and Portal Id.
Public methodGetRedirectUrlFromRule
returns a target URL for the specific redirection
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsRedirectAllowedForTheSession
Is Redirection Allowed for the session. Method analyzes the query string for special parameters to enable / disable redirects. Cookie is created to temporarily store those parameters so that they remain available till the interactions are active.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPurgeInvalidRedirections
Deletes all redirection rules that were set for pages that have been soft or hard deleted.
Public methodSave
save a redirection. If redirection.Id equals Null.NullInteger(-1), that means need to add a new redirection; otherwise will update the redirection by redirection.Id.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodToJson
Extension method on object that serializes the value to Json. Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.)

See Also