Method | Description | |
---|---|---|
ClearCache ( bool clearDomains = false, HiveId clearForIds = null, bool clearMappedUrls = false, bool clearGeneratedUrls = false, bool clearAll = false ) : void |
Clears the cache, removes domain cache items and content-url items
|
|
DefaultRoutingEngine ( IRebelApplicationContext appContext, System.Web.HttpContextBase httpContext ) : System |
Initializes a new instance of the DefaultRoutingEngine class.
|
|
FindEntityByUrl ( |
Finds a TypedEntity based on the Uri
|
|
GetAllUrlsForEntity ( TypedEntity entity ) : Rebel.Cms.Web.Routing.UrlResolutionResult[] |
Resolves the url for the specified entity with its full domain paths based on all hostnames assigned.
|
|
GetUrlForEntity ( TypedEntity entity ) : |
Gets the URL. This takes into account the current host name in the request. If the current host name matches a host name defined in the domain list for the entity being looked up, then the hostname of the current request will be used, otherwise the primary (first ordinal) domain will be used for the url. |
Method | Description | |
---|---|---|
GetContentUrl ( TypedEntity entity ) : |
Gets the content URL. This takes into account the current host name in the request. If the current host name matches a host name defined in the domain list for the entity being looked up, then the hostname of the current request will be used, otherwise the primary (first ordinal) domain will be used for the url. |
|
GetDomainUrls ( IEnumerable |
Returns a list of URLs with the domains assigned based on the list of ancestorsOrSelf. If no domain is assigned to the branch that the entity exists in a null value is returned.
|
|
GetMediaUrl ( TypedEntity entity ) : |
Gets the media URL.
|
|
GetNonDomainUrl ( IEnumerable |
Returns the non-domain URL for the 'self' node in ancestorsOrSelf or null if this node cannot exist in a non-domain branch.
|
public ClearCache ( bool clearDomains = false, HiveId clearForIds = null, bool clearMappedUrls = false, bool clearGeneratedUrls = false, bool clearAll = false ) : void | ||
clearDomains | bool | true to clear all domain cache |
clearForIds | HiveId | will clear the URL |
clearMappedUrls | bool | will clear the cache for all URLs mapped to entities |
clearGeneratedUrls | bool | clears cache for all generated urls |
clearAll | bool | Clears all cache |
return | void |
public DefaultRoutingEngine ( IRebelApplicationContext appContext, System.Web.HttpContextBase httpContext ) : System | ||
appContext | IRebelApplicationContext | The routable request context. |
httpContext | System.Web.HttpContextBase | |
return | System |
public FindEntityByUrl ( |
||
fullUrlIncludingDomain | ||
revisionStatusType | RevisionStatusType | |
return |
public GetAllUrlsForEntity ( TypedEntity entity ) : Rebel.Cms.Web.Routing.UrlResolutionResult[] | ||
entity | TypedEntity | |
return | Rebel.Cms.Web.Routing.UrlResolutionResult[] |
protected GetContentUrl ( TypedEntity entity ) : |
||
entity | TypedEntity | The entity. |
return |
protected GetDomainUrls ( IEnumerable |
||
ancestorsOrSelf | IEnumerable |
The ancestorsOrSelf list to create the URL for |
return | IEnumerable |
protected GetMediaUrl ( TypedEntity entity ) : |
||
entity | TypedEntity | The entity. |
return |
protected GetNonDomainUrl ( IEnumerable |
||
ancestorsOrSelf | IEnumerable |
|
return |
public GetUrlForEntity ( TypedEntity entity ) : |
||
entity | TypedEntity | The entity. |
return |