Interface IPortalAliasController
Do not implement. This interface is only implemented by the DotNetNuke core framework. Outside the framework it should used as a type and for unit test purposes only. There is no guarantee that this interface will not change.
Namespace: DotNetNuke.Entities.Portals.Internal
Assembly: DotNetNuke.dll
Syntax
public interface IPortalAliasController
Methods
| Improve this Doc View SourceAddPortalAlias(PortalAliasInfo)
Add a new Portal Alias.
Declaration
int AddPortalAlias(PortalAliasInfo portalAlias)
Parameters
Type | Name | Description |
---|---|---|
PortalAliasInfo | portalAlias | The portal alias to add. |
Returns
Type | Description |
---|---|
System.Int32 | The Id of the newly added portal alias. |
DeletePortalAlias(PortalAliasInfo)
Delete a Portal Alias.
Declaration
void DeletePortalAlias(PortalAliasInfo portalAlias)
Parameters
Type | Name | Description |
---|---|---|
PortalAliasInfo | portalAlias | The portal alias to remove. |
GetPortalAlias(String)
Gets the portal alias info.
Declaration
PortalAliasInfo GetPortalAlias(string alias)
Parameters
Type | Name | Description |
---|---|---|
System.String | alias | The portal alias. |
Returns
Type | Description |
---|---|
PortalAliasInfo | Portal alias info. |
GetPortalAliases()
Gets all the portal aliases defined.
Declaration
IDictionary<string, PortalAliasInfo> GetPortalAliases()
Returns
Type | Description |
---|---|
IDictionary<System.String, PortalAliasInfo> | A dictionary keyed by the HTTP Alias. |
GetPortalAliasesByPortalId(Int32)
Gets the portal alias by portal ID.
Declaration
IEnumerable<PortalAliasInfo> GetPortalAliasesByPortalId(int portalId)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | portalId | The portal ID. |
Returns
Type | Description |
---|---|
IEnumerable<PortalAliasInfo> | Portal alias collection. |
UpdatePortalAlias(PortalAliasInfo)
Updates the portal alias info.
Declaration
void UpdatePortalAlias(PortalAliasInfo portalAlias)
Parameters
Type | Name | Description |
---|---|---|
PortalAliasInfo | portalAlias | The obj portal alias info. |