Property | Type | Description | |
---|---|---|---|
EnsureConectionString | void |
Method | Description | |
---|---|---|
ActivityViewList ( ) : IEnumerable |
Gets an IEnumerable{SelectListItem} of project statuses, as a default SelectList doesn't add option value attributes.
|
|
AddNewPage ( Page page, string text, string editedBy, System.DateTime editedOn, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
AddNewPageContentVersion ( Page page, string text, string editedBy, System.DateTime editedOn, int version, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
AddNewRel ( Relationship rel, int reltypeid, string username, int orgID, int pageID, string reltext ) : Relationship | ||
AllOrgsCount ( ) : int | ||
AllPageContents ( ) : IEnumerable |
||
AllPages ( ) : IEnumerable |
||
AllPagesCount ( ) : int | ||
AllTags ( ) : IEnumerable |
||
AllUsers ( ) : IEnumerable |
||
AllUsersCount ( ) : int | ||
DeleteAllPages ( ) : void | ||
DeleteAllUsers ( ) : void | ||
DeletePage ( Page page ) : void | ||
DeletePageContent ( PageContent pageContent ) : void | ||
DeleteRel ( Relationship rel ) : void | ||
DeleteUser ( User user ) : void | ||
Dispose ( ) : void | ||
FindAllAdmins ( ) : IEnumerable |
||
FindAllEditors ( ) : IEnumerable |
||
FindAllOrgs ( ) : IEnumerable |
||
FindAllRelTypes ( ) : IEnumerable |
||
FindAllRels ( ) : IEnumerable |
||
FindPageContentsByPageId ( int pageId ) : IEnumerable |
||
FindPageContentsEditedBy ( string username ) : IEnumerable |
||
FindPageRelationships ( int pageID ) : List |
||
FindPagesContainingTag ( string tag ) : IEnumerable |
||
FindPagesCreatedBy ( string username ) : IEnumerable |
||
FindPagesModifiedBy ( string username ) : IEnumerable |
||
FindRelsCreatedBy ( string username ) : IEnumerable |
||
GetAdminById ( Guid id ) : User | ||
GetEditorById ( Guid id ) : User | ||
GetLatestPageContent ( int pageId ) : PageContent | ||
GetOrgByID ( int id ) : Organisation | ||
GetOrgByUser ( string username ) : Organisation | ||
GetPageById ( int id ) : Page | ||
GetPageByTitle ( string title ) : Page | ||
GetPageContentByEditedBy ( string username ) : IEnumerable |
||
GetPageContentById ( Guid id ) : PageContent | ||
GetPageContentByPageIdAndVersionNumber ( int id, int versionNumber ) : PageContent | ||
GetRelById ( int id ) : Relationship | ||
GetRelByPage ( int pageid ) : IEnumerable |
||
GetRelTypeByID ( int id ) : RelationshipType | ||
GetSiteSettings ( ) : SiteSettings | ||
GetTextPluginSettings ( Guid databaseId ) : Roadkill.Core.Plugins.Settings | ||
GetUserByActivationKey ( string key ) : User | ||
GetUserByEmail ( string email, bool isActivated = null ) : User | ||
GetUserById ( Guid id, bool isActivated = null ) : User | ||
GetUserByPasswordResetKey ( string key ) : User | ||
GetUserByUsername ( string username ) : User | ||
GetUserByUsernameOrEmail ( string username, string email ) : User | ||
Install ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
LightSpeedRepository ( ApplicationSettings settings ) : System | ||
RelToUserToPage ( int pageID, string username ) : Relationship | ||
SaveOrUpdatePage ( Page page ) : Page | ||
SaveOrUpdateRel ( Relationship rel ) : Relationship | ||
SaveOrUpdateUser ( User user ) : User | ||
SaveSiteSettings ( SiteSettings siteSettings ) : void | ||
SaveTextPluginSettings ( TextPlugin plugin ) : void | ||
Startup ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
TestConnection ( DataStoreType dataStoreType, string connectionString ) : void | ||
UpdatePageContent ( PageContent content ) : void |
This updates an existing set of text and is used for page rename updates. To add a new version of a page, use AddNewPageContentVersion
|
|
Upgrade ( ApplicationSettings settings ) : void | ||
WhatsHotList ( ) : IEnumerable |
Gets an IEnumerable{SelectListItem} of project statuses, as a default SelectList doesn't add option value attributes.
|
Method | Description | |
---|---|---|
EnsureConectionString ( ) : void |
public AddNewPage ( Page page, string text, string editedBy, System.DateTime editedOn, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
page | Page | |
text | string | |
editedBy | string | |
editedOn | System.DateTime | |
projectStart | System.DateTime | |
projectEnd | System.DateTime | |
projectEstimatedTime | bool | |
projectStatus | string | |
projectLanguage | string | |
orgID | int | |
return | PageContent |
public AddNewPageContentVersion ( Page page, string text, string editedBy, System.DateTime editedOn, int version, System.DateTime projectStart, System.DateTime projectEnd, bool projectEstimatedTime, string projectStatus, string projectLanguage, int orgID ) : PageContent | ||
page | Page | |
text | string | |
editedBy | string | |
editedOn | System.DateTime | |
version | int | |
projectStart | System.DateTime | |
projectEnd | System.DateTime | |
projectEstimatedTime | bool | |
projectStatus | string | |
projectLanguage | string | |
orgID | int | |
return | PageContent |
public AddNewRel ( Relationship rel, int reltypeid, string username, int orgID, int pageID, string reltext ) : Relationship | ||
rel | Relationship | |
reltypeid | int | |
username | string | |
orgID | int | |
pageID | int | |
reltext | string | |
return | Relationship |
public DeletePageContent ( PageContent pageContent ) : void | ||
pageContent | PageContent | |
return | void |
public FindPageContentsByPageId ( int pageId ) : IEnumerable |
||
pageId | int | |
return | IEnumerable |
public FindPageContentsEditedBy ( string username ) : IEnumerable |
||
username | string | |
return | IEnumerable |
public FindPageRelationships ( int pageID ) : List |
||
pageID | int | |
return | List |
public FindPagesContainingTag ( string tag ) : IEnumerable |
||
tag | string | |
return | IEnumerable |
public FindPagesCreatedBy ( string username ) : IEnumerable |
||
username | string | |
return | IEnumerable |
public FindPagesModifiedBy ( string username ) : IEnumerable |
||
username | string | |
return | IEnumerable |
public FindRelsCreatedBy ( string username ) : IEnumerable |
||
username | string | |
return | IEnumerable |
public GetLatestPageContent ( int pageId ) : PageContent | ||
pageId | int | |
return | PageContent |
public GetOrgByUser ( string username ) : Organisation | ||
username | string | |
return | Organisation |
public GetPageByTitle ( string title ) : Page | ||
title | string | |
return | Page |
public GetPageContentByEditedBy ( string username ) : IEnumerable |
||
username | string | |
return | IEnumerable |
public GetPageContentById ( Guid id ) : PageContent | ||
id | Guid | |
return | PageContent |
public GetPageContentByPageIdAndVersionNumber ( int id, int versionNumber ) : PageContent | ||
id | int | |
versionNumber | int | |
return | PageContent |
public GetRelByPage ( int pageid ) : IEnumerable |
||
pageid | int | |
return | IEnumerable |
public GetRelTypeByID ( int id ) : RelationshipType | ||
id | int | |
return | RelationshipType |
public GetTextPluginSettings ( Guid databaseId ) : Roadkill.Core.Plugins.Settings | ||
databaseId | Guid | |
return | Roadkill.Core.Plugins.Settings |
public GetUserByActivationKey ( string key ) : User | ||
key | string | |
return | User |
public GetUserByEmail ( string email, bool isActivated = null ) : User | ||
string | ||
isActivated | bool | |
return | User |
public GetUserById ( Guid id, bool isActivated = null ) : User | ||
id | Guid | |
isActivated | bool | |
return | User |
public GetUserByPasswordResetKey ( string key ) : User | ||
key | string | |
return | User |
public GetUserByUsername ( string username ) : User | ||
username | string | |
return | User |
public GetUserByUsernameOrEmail ( string username, string email ) : User | ||
username | string | |
string | ||
return | User |
public Install ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
dataStoreType | DataStoreType | |
connectionString | string | |
enableCache | bool | |
return | void |
public LightSpeedRepository ( ApplicationSettings settings ) : System | ||
settings | ApplicationSettings | |
return | System |
public RelToUserToPage ( int pageID, string username ) : Relationship | ||
pageID | int | |
username | string | |
return | Relationship |
public SaveOrUpdateRel ( Relationship rel ) : Relationship | ||
rel | Relationship | |
return | Relationship |
public SaveSiteSettings ( SiteSettings siteSettings ) : void | ||
siteSettings | SiteSettings | |
return | void |
public SaveTextPluginSettings ( TextPlugin plugin ) : void | ||
plugin | TextPlugin | |
return | void |
public Startup ( DataStoreType dataStoreType, string connectionString, bool enableCache ) : void | ||
dataStoreType | DataStoreType | |
connectionString | string | |
enableCache | bool | |
return | void |
public TestConnection ( DataStoreType dataStoreType, string connectionString ) : void | ||
dataStoreType | DataStoreType | |
connectionString | string | |
return | void |
public UpdatePageContent ( PageContent content ) : void | ||
content | PageContent | |
return | void |
public Upgrade ( ApplicationSettings settings ) : void | ||
settings | ApplicationSettings | |
return | void |