C# Class InfoCaster.Umbraco.UrlTracker.Repositories.UrlTrackerRepository

Afficher le fichier Open project: kipusoep/UrlTracker Class Usage Examples

Private Properties

Свойство Type Description
GetFolderName string
GetNotFoundEntryByUrl InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel

Méthodes publiques

Méthode Description
AddGoneEntryByNodeId ( int nodeId ) : void
AddUrlMapping ( IContent content, int rootNodeId, string url, AutoTrackingTypes type, bool isChild = false ) : bool
AddUrlTrackerEntry ( InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel urlTrackerModel ) : void
ClearNotFoundEntries ( ) : void
CreateUrlTrackerTable ( ) : void
DeleteNotFoundEntriesByOldUrl ( string oldUrl ) : void
DeleteNotFoundEntriesByRootAndOldUrl ( int redirectRootNodeId, string oldUrl ) : void
DeleteUrlTrackerEntriesByNodeId ( int nodeId ) : void
DeleteUrlTrackerEntry ( int id ) : void
GetForcedRedirects ( ) : List
GetNotFoundEntries ( ) : List
GetNotFoundEntries ( int maximumRows, int startRowIndex, string sortExpression = "", string keyword = "" ) : List
GetNotFoundEntries ( string sortExpression ) : List
GetNotFoundEntries ( string sortExpression, string keyword = "" ) : List
GetNotFoundEntryByRootAndUrl ( int redirectRootNodeId, string url ) : InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel
GetUrlTrackeOldTableExists ( ) : bool
GetUrlTrackerEntries ( ) : List
GetUrlTrackerEntries ( int maximumRows, int startRowIndex, string sortExpression = "", bool _404 = false, bool include410Gone = false, bool showAutoEntries = true, bool showCustomEntries = true, bool showRegexEntries = true, string keyword = "", bool onlyForcedRedirects = false ) : List
GetUrlTrackerEntries ( string sortExpression ) : List
GetUrlTrackerEntries ( string sortExpression = "", bool showAutoEntries = true, bool showCustomEntries = true, bool showRegexEntries = true, string keyword = "" ) : List
GetUrlTrackerEntryById ( int id ) : InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel
GetUrlTrackerTableExists ( ) : bool
HasInvalidEntries ( List &invalidRowIds ) : bool
HasNotFoundEntries ( ) : bool
MigrateData ( ) : int
ReloadForcedRedirectsCache ( ) : void
UpdateUrlTrackerEntry ( InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel urlTrackerModel ) : void
UpdateUrlTrackerTable ( ) : void

Private Methods

Méthode Description
GetFolderName ( ) : string
GetNotFoundEntryByUrl ( string url ) : InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel

Method Details

AddGoneEntryByNodeId() public static méthode

public static AddGoneEntryByNodeId ( int nodeId ) : void
nodeId int
Résultat void

AddUrlMapping() public static méthode

public static AddUrlMapping ( IContent content, int rootNodeId, string url, AutoTrackingTypes type, bool isChild = false ) : bool
content IContent
rootNodeId int
url string
type AutoTrackingTypes
isChild bool
Résultat bool

AddUrlTrackerEntry() public static méthode

public static AddUrlTrackerEntry ( InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel urlTrackerModel ) : void
urlTrackerModel InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel
Résultat void

ClearNotFoundEntries() public static méthode

public static ClearNotFoundEntries ( ) : void
Résultat void

CreateUrlTrackerTable() public static méthode

public static CreateUrlTrackerTable ( ) : void
Résultat void

DeleteNotFoundEntriesByOldUrl() public static méthode

public static DeleteNotFoundEntriesByOldUrl ( string oldUrl ) : void
oldUrl string
Résultat void

DeleteNotFoundEntriesByRootAndOldUrl() public static méthode

public static DeleteNotFoundEntriesByRootAndOldUrl ( int redirectRootNodeId, string oldUrl ) : void
redirectRootNodeId int
oldUrl string
Résultat void

DeleteUrlTrackerEntriesByNodeId() public static méthode

public static DeleteUrlTrackerEntriesByNodeId ( int nodeId ) : void
nodeId int
Résultat void

DeleteUrlTrackerEntry() public static méthode

public static DeleteUrlTrackerEntry ( int id ) : void
id int
Résultat void

GetForcedRedirects() public static méthode

public static GetForcedRedirects ( ) : List
Résultat List

GetNotFoundEntries() public static méthode

public static GetNotFoundEntries ( ) : List
Résultat List

GetNotFoundEntries() public static méthode

public static GetNotFoundEntries ( int maximumRows, int startRowIndex, string sortExpression = "", string keyword = "" ) : List
maximumRows int
startRowIndex int
sortExpression string
keyword string
Résultat List

GetNotFoundEntries() public static méthode

public static GetNotFoundEntries ( string sortExpression ) : List
sortExpression string
Résultat List

GetNotFoundEntries() public static méthode

public static GetNotFoundEntries ( string sortExpression, string keyword = "" ) : List
sortExpression string
keyword string
Résultat List

GetNotFoundEntryByRootAndUrl() public static méthode

public static GetNotFoundEntryByRootAndUrl ( int redirectRootNodeId, string url ) : InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel
redirectRootNodeId int
url string
Résultat InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel

GetUrlTrackeOldTableExists() public static méthode

public static GetUrlTrackeOldTableExists ( ) : bool
Résultat bool

GetUrlTrackerEntries() public static méthode

public static GetUrlTrackerEntries ( ) : List
Résultat List

GetUrlTrackerEntries() public static méthode

public static GetUrlTrackerEntries ( int maximumRows, int startRowIndex, string sortExpression = "", bool _404 = false, bool include410Gone = false, bool showAutoEntries = true, bool showCustomEntries = true, bool showRegexEntries = true, string keyword = "", bool onlyForcedRedirects = false ) : List
maximumRows int
startRowIndex int
sortExpression string
_404 bool
include410Gone bool
showAutoEntries bool
showCustomEntries bool
showRegexEntries bool
keyword string
onlyForcedRedirects bool
Résultat List

GetUrlTrackerEntries() public static méthode

public static GetUrlTrackerEntries ( string sortExpression ) : List
sortExpression string
Résultat List

GetUrlTrackerEntries() public static méthode

public static GetUrlTrackerEntries ( string sortExpression = "", bool showAutoEntries = true, bool showCustomEntries = true, bool showRegexEntries = true, string keyword = "" ) : List
sortExpression string
showAutoEntries bool
showCustomEntries bool
showRegexEntries bool
keyword string
Résultat List

GetUrlTrackerEntryById() public static méthode

public static GetUrlTrackerEntryById ( int id ) : InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel
id int
Résultat InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel

GetUrlTrackerTableExists() public static méthode

public static GetUrlTrackerTableExists ( ) : bool
Résultat bool

HasInvalidEntries() public static méthode

public static HasInvalidEntries ( List &invalidRowIds ) : bool
invalidRowIds List
Résultat bool

HasNotFoundEntries() public static méthode

public static HasNotFoundEntries ( ) : bool
Résultat bool

MigrateData() public static méthode

public static MigrateData ( ) : int
Résultat int

ReloadForcedRedirectsCache() public static méthode

public static ReloadForcedRedirectsCache ( ) : void
Résultat void

UpdateUrlTrackerEntry() public static méthode

public static UpdateUrlTrackerEntry ( InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel urlTrackerModel ) : void
urlTrackerModel InfoCaster.Umbraco.UrlTracker.Models.UrlTrackerModel
Résultat void

UpdateUrlTrackerTable() public static méthode

public static UpdateUrlTrackerTable ( ) : void
Résultat void