Свойство | Type | Description | |
---|---|---|---|
CreateArticle | |||
GetArticle | |||
SetDefaultItemVersionSettings | void |
Méthode | 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 |
Méthode | Description | |
---|---|---|
ResolveIds ( int currentModuleId ) : void |
Méthode | 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 | |
Résultat | 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 | |
Résultat | void |
public AddRating ( int rating, int userId ) : void | ||
rating | int | |
userId | int | |
Résultat | void |
public static Create ( int portalId ) : |
||
portalId | int | |
Résultat |
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. |
Résultat |
public static GetArticle ( int itemId, int portalId ) : |
||
itemId | int | |
portalId | int | |
Résultat |
public static GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags ) : |
||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
Résultat |
public static GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : |
||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
loadItemVersionSettings | bool | |
Résultat |
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 | |
Résultat |
public static GetArticleVersion ( int articleVersionId, int portalId ) : |
||
articleVersionId | int | |
portalId | int | |
Résultat |
public static GetArticleVersion ( int articleVersionId, int portalId, bool ignoreCache ) : |
||
articleVersionId | int | |
portalId | int | |
ignoreCache | bool | |
Résultat |
public static GetArticles ( int portalId ) : |
||
portalId | int | |
Résultat |
public static GetArticles ( int parentItemId, int portalId ) : |
||
parentItemId | int | |
portalId | int | |
Résultat |
public static GetArticlesByModuleId ( int moduleId, bool isCurrent ) : |
||
moduleId | int | |
isCurrent | bool | |
Résultat |
public static GetArticlesByPortalId ( int portalId ) : |
||
portalId | int | |
Résultat |
public static GetArticlesSearchIndexingNew ( int portalId, int displayTabId ) : |
||
portalId | int | |
displayTabId | int | |
Résultat |
public static GetArticlesSearchIndexingUpdated ( int portalId, int moduleDefId, int displayTabId ) : |
||
portalId | int | |
moduleDefId | int | |
displayTabId | int | |
Résultat |
public static GetOldArticleId ( int itemId ) : int | ||
itemId | int | |
Résultat | int |
public Import ( int currentModuleId, int portalId ) : void | ||
currentModuleId | int | |
portalId | int | |
Résultat | void |
protected ResolveIds ( int currentModuleId ) : void | ||
currentModuleId | int | |
Résultat | void |