Method | Description | |
---|---|---|
AddRel ( |
Adds the page to the database.
|
|
AllRelsCreatedBy ( string userName ) : IEnumerable |
Gets alls the pages created by a user.
|
|
DeleteRel ( int id ) : void |
Deletes a page from the database.
|
|
FindAllRels ( bool loadPageContent = false ) : IEnumerable |
Retrieves a list of all pages in the system.
|
|
FindByTag ( string tag ) : IEnumerable |
Finds all pages with the given tag.
|
|
FindByTitle ( string title ) : |
Finds a page by its title
|
|
GetRelById ( int id, bool loadContent = false ) : |
Retrieves the page by its id.
|
|
RelService ( Roadkill.Core.Configuration.ApplicationSettings settings, IRepository repository, |
||
UpdateRel ( |
Updates the provided relationship.
|
public AddRel ( |
||
model | The summary details for the page. | |
return |
public AllRelsCreatedBy ( string userName ) : IEnumerable |
||
userName | string | Name of the user. |
return | IEnumerable |
public FindAllRels ( bool loadPageContent = false ) : IEnumerable |
||
loadPageContent | bool | |
return | IEnumerable |
public FindByTag ( string tag ) : IEnumerable |
||
tag | string | The tag to search for. |
return | IEnumerable |
public FindByTitle ( string title ) : |
||
title | string | The page title |
return |
public GetRelById ( int id, bool loadContent = false ) : |
||
id | int | The id of the page |
loadContent | bool | |
return |
public RelService ( Roadkill.Core.Configuration.ApplicationSettings settings, IRepository repository, |
||
settings | Roadkill.Core.Configuration.ApplicationSettings | |
repository | IRepository | |
searchService | ||
historyService | ||
context | IUserContext | |
listCache | ListCache | |
pageViewModelCache | Roadkill.Core.Cache.PageViewModelCache | |
sitecache | Roadkill.Core.Cache.SiteCache | |
pluginFactory | IPluginFactory | |
return | System |
public UpdateRel ( |
||
model | The summary. | |
return | void |