• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

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 Source

AddPortalAlias(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.

| Improve this Doc View Source

DeletePortalAlias(PortalAliasInfo)

Delete a Portal Alias.

Declaration
void DeletePortalAlias(PortalAliasInfo portalAlias)
Parameters
Type Name Description
PortalAliasInfo portalAlias

The portal alias to remove.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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
| Improve this Doc View Source

GetPortalAliases()

Gets all the portal aliases defined.

Declaration
PortalAliasCollection GetPortalAliases()
Returns
Type Description
PortalAliasCollection

A dictionary keyed by the HTTP Alias.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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
| Improve this Doc View Source

UpdatePortalAlias(PortalAliasInfo)

Updates the portal alias info.

Declaration
void UpdatePortalAlias(PortalAliasInfo portalAlias)
Parameters
Type Name Description
PortalAliasInfo portalAlias

The obj portal alias info.

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS