Свойство | Тип | Описание | |
---|---|---|---|
CreateArticle | |||
GetArticle | |||
SetDefaultItemVersionSettings | void |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ResolveIds ( int currentModuleId ) : void |
Метод | Описание | |
---|---|---|
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 | |
Результат | 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 | |
Результат | void |
public AddRating ( int rating, int userId ) : void | ||
rating | int | |
userId | int | |
Результат | void |
public static Create ( int portalId ) : |
||
portalId | int | |
Результат |
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. |
Результат |
public static GetArticle ( int itemId, int portalId ) : |
||
itemId | int | |
portalId | int | |
Результат |
public static GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags ) : |
||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
Результат |
public static GetArticle ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : |
||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
loadItemVersionSettings | bool | |
Результат |
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 | |
Результат |
public static GetArticleVersion ( int articleVersionId, int portalId ) : |
||
articleVersionId | int | |
portalId | int | |
Результат |
public static GetArticleVersion ( int articleVersionId, int portalId, bool ignoreCache ) : |
||
articleVersionId | int | |
portalId | int | |
ignoreCache | bool | |
Результат |
public static GetArticles ( int portalId ) : |
||
portalId | int | |
Результат |
public static GetArticles ( int parentItemId, int portalId ) : |
||
parentItemId | int | |
portalId | int | |
Результат |
public static GetArticlesByModuleId ( int moduleId, bool isCurrent ) : |
||
moduleId | int | |
isCurrent | bool | |
Результат |
public static GetArticlesByPortalId ( int portalId ) : |
||
portalId | int | |
Результат |
public static GetArticlesSearchIndexingNew ( int portalId, int displayTabId ) : |
||
portalId | int | |
displayTabId | int | |
Результат |
public static GetArticlesSearchIndexingUpdated ( int portalId, int moduleDefId, int displayTabId ) : |
||
portalId | int | |
moduleDefId | int | |
displayTabId | int | |
Результат |
public static GetOldArticleId ( int itemId ) : int | ||
itemId | int | |
Результат | int |
public Import ( int currentModuleId, int portalId ) : void | ||
currentModuleId | int | |
portalId | int | |
Результат | void |
protected ResolveIds ( int currentModuleId ) : void | ||
currentModuleId | int | |
Результат | void |