Class PortalAliasController
Inheritance
PortalAliasController
Assembly: DotNetNuke.dll
Syntax
public class PortalAliasController : ServiceLocator<IPortalAliasController, PortalAliasController>, IPortalAliasController, IPortalAliasService
Constructors
PortalAliasController()
Declaration
public PortalAliasController()
Properties
Instance
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. Use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled removal in v11.0.0.")]
public static IPortalAliasController Instance { get; }
Property Value
Methods
AddPortalAlias(PortalAliasInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public int AddPortalAlias(PortalAliasInfo portalAlias)
Parameters
Returns
DeletePortalAlias(PortalAliasInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public void DeletePortalAlias(PortalAliasInfo portalAlias)
Parameters
GetFactory()
Declaration
protected override Func<IPortalAliasController> GetFactory()
Returns
Overrides
GetPortalAlias(string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public PortalAliasInfo GetPortalAlias(string alias)
Parameters
Type |
Name |
Description |
string |
alias |
|
Returns
GetPortalAlias(string, int)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public PortalAliasInfo GetPortalAlias(string alias, int portalId)
Parameters
Type |
Name |
Description |
string |
alias |
|
int |
portalId |
|
Returns
GetPortalAliasByPortal(int, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public static string GetPortalAliasByPortal(int portalId, string portalAlias)
Parameters
Type |
Name |
Description |
int |
portalId |
|
string |
portalAlias |
|
Returns
GetPortalAliasByPortalAliasID(int)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public PortalAliasInfo GetPortalAliasByPortalAliasID(int portalAliasId)
Parameters
Type |
Name |
Description |
int |
portalAliasId |
|
Returns
GetPortalAliasByTab(int, string)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public static string GetPortalAliasByTab(int tabId, string portalAlias)
Parameters
Type |
Name |
Description |
int |
tabId |
|
string |
portalAlias |
|
Returns
GetPortalAliases()
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public PortalAliasCollection GetPortalAliases()
Returns
GetPortalAliasesByPortalId(int)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public IEnumerable<PortalAliasInfo> GetPortalAliasesByPortalId(int portalId)
Parameters
Type |
Name |
Description |
int |
portalId |
|
Returns
GetPortalByPortalAliasID(int)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public PortalInfo GetPortalByPortalAliasID(int portalAliasId)
Parameters
Type |
Name |
Description |
int |
portalAliasId |
|
Returns
UpdatePortalAlias(PortalAliasInfo)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public void UpdatePortalAlias(PortalAliasInfo portalAlias)
Parameters
ValidateAlias(string, bool)
Declaration
[Obsolete("Deprecated in DotNetNuke 9.7.2. use DotNetNuke.Abstractions.Portals.IPortalAliasService via dependency injection instead. Scheduled for removal in v11.0.0.")]
public static bool ValidateAlias(string portalAlias, bool ischild)
Parameters
Type |
Name |
Description |
string |
portalAlias |
|
bool |
ischild |
|
Returns
Implements
Extension Methods