Property | Type | Description | |
---|---|---|---|
CreateArticle | |||
GetArticle | |||
SetDefaultItemVersionSettings | void |
Method | Description | |
---|---|---|
AddArticleVersion ( IDbTransaction trans, int itemVersionId, int itemId, string versionNumber, string versionDescription, string articleText, string referenceNumber ) : void | ||
AddArticleVersion ( int itemVersionId, int itemId, string versionNumber, string versionDescription, string articleText, string referenceNumber ) : void | ||
AddRating ( int rating, int userId ) : void | ||
Article ( ) : System | ||
Create ( int portalId ) : |
||
Create ( string name, string description, string articleText, int authorUserId, int parentCategoryId, int moduleId, int portalId ) : |
Creates an Article object that you can continue to modify or save back into the database.
|
|
DisplayReturnToList ( ) : bool | ||
GetArticle ( int itemId, int portalId ) : |
||
GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags ) : |
||
GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : |
||
GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings, bool ignoreCache ) : |
||
GetArticleVersion ( int articleVersionId, int portalId ) : |
||
GetArticleVersion ( int articleVersionId, int portalId, bool ignoreCache ) : |
||
GetArticles ( int portalId ) : |
||
GetArticles ( int parentItemId, int portalId ) : |
||
GetArticlesByModuleId ( int moduleId, bool isCurrent ) : |
||
GetArticlesByPortalId ( int portalId ) : |
||
GetArticlesSearchIndexingNew ( int portalId, int displayTabId ) : |
||
GetArticlesSearchIndexingUpdated ( int portalId, int moduleDefId, int displayTabId ) : |
||
GetOldArticleId ( int itemId ) : int | ||
GetPage ( int pageId ) : string | ||
Import ( int currentModuleId, int portalId ) : void |
This method is invoked by the Import mechanism and has to take this instance of a Article and resolve all the id's using the names supplied in the export. hk
|
|
Save ( int revisingUserId ) : void | ||
UpdateApprovalStatus ( ) : void |
Method | Description | |
---|---|---|
ResolveIds ( int currentModuleId ) : void |
Method | Description | |
---|---|---|
CreateArticle ( string name, string description, string articleText, int authorUserId, int parentCategoryId, int moduleId, int portalId ) : |
||
GetArticle ( int itemId ) : |
||
SetDefaultItemVersionSettings ( ) : void |
This method will configure the default ItemVersionSettings for an article, it is called from the Create method on article so that users of the API do not have to pass in itemversionsettings.
|
public static AddArticleVersion ( IDbTransaction trans, int itemVersionId, int itemId, string versionNumber, string versionDescription, string articleText, string referenceNumber ) : void | ||
trans | IDbTransaction | |
itemVersionId | int | |
itemId | int | |
versionNumber | string | |
versionDescription | string | |
articleText | string | |
referenceNumber | string | |
return | void |
public static AddArticleVersion ( int itemVersionId, int itemId, string versionNumber, string versionDescription, string articleText, string referenceNumber ) : void | ||
itemVersionId | int | |
itemId | int | |
versionNumber | string | |
versionDescription | string | |
articleText | string | |
referenceNumber | string | |
return | void |
public AddRating ( int rating, int userId ) : void | ||
rating | int | |
userId | int | |
return | void |
public static Create ( int portalId ) : |
||
portalId | int | |
return |
public static Create ( string name, string description, string articleText, int authorUserId, int parentCategoryId, int moduleId, int portalId ) : |
||
name | string | Name of the Category to be created. |
description | string | The description/abstract of the category to be created. |
articleText | string | |
authorUserId | int | The ID of the author of this category. |
parentCategoryId | int | |
moduleId | int | The moduleid for where this category will most likely be displayed. |
portalId | int | The Portal ID of the portal this category belongs to. |
return |
public static GetArticle ( int itemId, int portalId ) : |
||
itemId | int | |
portalId | int | |
return |
public static GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags ) : |
||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
return |
public static GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : |
||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
loadItemVersionSettings | bool | |
return |
public static GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings, bool ignoreCache ) : |
||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
loadItemVersionSettings | bool | |
ignoreCache | bool | |
return |
public static GetArticleVersion ( int articleVersionId, int portalId ) : |
||
articleVersionId | int | |
portalId | int | |
return |
public static GetArticleVersion ( int articleVersionId, int portalId, bool ignoreCache ) : |
||
articleVersionId | int | |
portalId | int | |
ignoreCache | bool | |
return |
public static GetArticles ( int portalId ) : |
||
portalId | int | |
return |
public static GetArticles ( int parentItemId, int portalId ) : |
||
parentItemId | int | |
portalId | int | |
return |
public static GetArticlesByModuleId ( int moduleId, bool isCurrent ) : |
||
moduleId | int | |
isCurrent | bool | |
return |
public static GetArticlesByPortalId ( int portalId ) : |
||
portalId | int | |
return |
public static GetArticlesSearchIndexingNew ( int portalId, int displayTabId ) : |
||
portalId | int | |
displayTabId | int | |
return |
public static GetArticlesSearchIndexingUpdated ( int portalId, int moduleDefId, int displayTabId ) : |
||
portalId | int | |
moduleDefId | int | |
displayTabId | int | |
return |
public static GetOldArticleId ( int itemId ) : int | ||
itemId | int | |
return | int |
public Import ( int currentModuleId, int portalId ) : void | ||
currentModuleId | int | |
portalId | int | |
return | void |
protected ResolveIds ( int currentModuleId ) : void | ||
currentModuleId | int | |
return | void |