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
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, Int32)
Gets the portal alias info.
Declaration
PortalAliasInfo GetPortalAlias(string alias, int portalId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | alias | The portal alias. |
| System.Int32 | portalId | The Id of the portal in question. |
Returns
| Type | Description |
|---|---|
| PortalAliasInfo | Portal alias info. |
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. |
GetPortalAliasByPortalAliasID(Int32)
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.
Declaration
PortalAliasInfo GetPortalAliasByPortalAliasID(int portalAliasId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | portalAliasId |
Returns
| Type | Description |
|---|---|
| PortalAliasInfo |
GetPortalAliases()
Gets all the portal aliases defined.
Declaration
PortalAliasCollection GetPortalAliases()
Returns
| Type | Description |
|---|---|
| PortalAliasCollection | 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. |
GetPortalByPortalAliasID(Int32)
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.
Declaration
PortalInfo GetPortalByPortalAliasID(int portalAliasId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | portalAliasId |
Returns
| Type | Description |
|---|---|
| PortalInfo |
UpdatePortalAlias(PortalAliasInfo)
Updates the portal alias info.
Declaration
void UpdatePortalAlias(PortalAliasInfo portalAlias)
Parameters
| Type | Name | Description |
|---|---|---|
| PortalAliasInfo | portalAlias | The obj portal alias info. |