Property | Type | Description | |
---|---|---|---|
CreateCategory | Category | ||
GetCategoryArticles | List |
Method | Description | |
---|---|---|
AddCategoryVersion ( IDbTransaction trans, int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void | ||
AddCategoryVersion ( int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void | ||
CascadeChildDisplayTab ( int revisingUser ) : int |
Updates the Item.DisplayTabId and ChildDisplayTabId settings of all children of this Category (and their children's children, etc.)
|
|
Category ( ) : System | ||
Create ( int portalId ) : Category |
Creates an empty Category object
|
|
Create ( string name, string description, int authorUserId, int moduleId, int portalId, int displayTabId ) : Category |
Creates a Category object that you can continue to modify or save back into the database.,
|
|
GetAllChildCategories ( int parentItemId, int portalId ) : |
||
GetCategories ( int portalId ) : |
||
GetCategoriesByModuleId ( int moduleId ) : |
||
GetCategoriesByPortalId ( int portalId ) : |
||
GetCategoriesHierarchy ( int portalId ) : |
||
GetCategory ( int itemId ) : Category | ||
GetCategory ( int itemId, bool loadRelationships, bool loadTags ) : Category | ||
GetCategory ( int itemId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category | ||
GetCategory ( int itemId, int portalId ) : Category | ||
GetCategory ( int itemId, int portalId, bool ignoreCache ) : Category | ||
GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category | ||
GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings, bool ignoreCache ) : Category | ||
GetCategory ( string categoryName, int portalId ) : Category | ||
GetCategoryListing ( int parentItemId, int portalId ) : IDataReader | ||
GetCategoryVersion ( int itemVersionId, int portalId ) : Category | ||
GetCategoryVersion ( int itemVersionId, int portalId, bool ignoreCache ) : Category | ||
GetChildCategories ( int parentItemId, int portalId ) : |
||
GetChildCategories ( int parentItemId, int portalId, int itemTypeId ) : |
||
GetChildrenInCategoryPaging ( int categoryId, int childTypeId, int maxItems, int portalId, bool customSort, bool customSortDirection, string sortOrder, int index, int pageSize ) : |
||
GetOldCategoryId ( int itemId ) : int | ||
GetParentCategory ( int childItemId, int portalId ) : int | ||
GetTopLevelCategories ( int portalId ) : |
Returns a dataset of the top level categories available for a specific portal
|
|
Import ( int currentModuleId, int portalId ) : void |
This method is invoked by the Import mechanism and has to take this instance of a Category and resolve all the id's using the names supplied in the export. hk
|
|
Save ( int authorId ) : void | ||
UpdateApprovalStatus ( ) : void |
Method | Description | |
---|---|---|
ResolveIds ( int currentModuleId ) : void |
Method | Description | |
---|---|---|
CreateCategory ( string name, string description, int authorUserId, int moduleId, int portalId, int displayTabId ) : Category | ||
GetCategoryArticles ( int itemId, int portalId ) : List |
public static AddCategoryVersion ( IDbTransaction trans, int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void | ||
trans | IDbTransaction | |
itemVersionId | int | |
itemId | int | |
sortOrder | int | |
childDisplayTabId | int | |
return | void |
public static AddCategoryVersion ( int itemVersionId, int itemId, int sortOrder, int childDisplayTabId ) : void | ||
itemVersionId | int | |
itemId | int | |
sortOrder | int | |
childDisplayTabId | int | |
return | void |
public CascadeChildDisplayTab ( int revisingUser ) : int | ||
revisingUser | int | The revising user. |
return | int |
public static Create ( int portalId ) : Category | ||
portalId | int | The Portal ID of the portal this category belongs to. |
return | Category |
public static Create ( string name, string description, int authorUserId, int moduleId, int portalId, int displayTabId ) : Category | ||
name | string | Name of the Category to be created. |
description | string | The description/abstract of the category to be created. |
authorUserId | int | The ID of the author of this category. |
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. |
displayTabId | int | The Tab ID of the page this Category should be displayed on. |
return | Category |
public static GetAllChildCategories ( int parentItemId, int portalId ) : |
||
parentItemId | int | |
portalId | int | |
return |
public static GetCategories ( int portalId ) : |
||
portalId | int | |
return |
public static GetCategoriesByModuleId ( int moduleId ) : |
||
moduleId | int | |
return |
public static GetCategoriesByPortalId ( int portalId ) : |
||
portalId | int | |
return |
public static GetCategoriesHierarchy ( int portalId ) : |
||
portalId | int | |
return |
public static GetCategory ( int itemId ) : Category | ||
itemId | int | |
return | Category |
public static GetCategory ( int itemId, bool loadRelationships, bool loadTags ) : Category | ||
itemId | int | |
loadRelationships | bool | |
loadTags | bool | |
return | Category |
public static GetCategory ( int itemId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category | ||
itemId | int | |
loadRelationships | bool | |
loadTags | bool | |
loadItemVersionSettings | bool | |
return | Category |
public static GetCategory ( int itemId, int portalId ) : Category | ||
itemId | int | |
portalId | int | |
return | Category |
public static GetCategory ( int itemId, int portalId, bool ignoreCache ) : Category | ||
itemId | int | |
portalId | int | |
ignoreCache | bool | |
return | Category |
public static GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings ) : Category | ||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
loadItemVersionSettings | bool | |
return | Category |
public static GetCategory ( int itemId, int portalId, bool loadRelationships, bool loadTags, bool loadItemVersionSettings, bool ignoreCache ) : Category | ||
itemId | int | |
portalId | int | |
loadRelationships | bool | |
loadTags | bool | |
loadItemVersionSettings | bool | |
ignoreCache | bool | |
return | Category |
public static GetCategory ( string categoryName, int portalId ) : Category | ||
categoryName | string | |
portalId | int | |
return | Category |
public static GetCategoryListing ( int parentItemId, int portalId ) : IDataReader | ||
parentItemId | int | |
portalId | int | |
return | IDataReader |
public static GetCategoryVersion ( int itemVersionId, int portalId ) : Category | ||
itemVersionId | int | |
portalId | int | |
return | Category |
public static GetCategoryVersion ( int itemVersionId, int portalId, bool ignoreCache ) : Category | ||
itemVersionId | int | |
portalId | int | |
ignoreCache | bool | |
return | Category |
public static GetChildCategories ( int parentItemId, int portalId ) : |
||
parentItemId | int | |
portalId | int | |
return |
public static GetChildCategories ( int parentItemId, int portalId, int itemTypeId ) : |
||
parentItemId | int | |
portalId | int | |
itemTypeId | int | |
return |
public static GetChildrenInCategoryPaging ( int categoryId, int childTypeId, int maxItems, int portalId, bool customSort, bool customSortDirection, string sortOrder, int index, int pageSize ) : |
||
categoryId | int | |
childTypeId | int | |
maxItems | int | |
portalId | int | |
customSort | bool | |
customSortDirection | bool | |
sortOrder | string | |
index | int | |
pageSize | int | |
return |
public static GetOldCategoryId ( int itemId ) : int | ||
itemId | int | |
return | int |
public static GetParentCategory ( int childItemId, int portalId ) : int | ||
childItemId | int | |
portalId | int | |
return | int |
public static GetTopLevelCategories ( int portalId ) : |
||
portalId | int | The Portal ID that we want to return data for. |
return |
public Import ( int currentModuleId, int portalId ) : void | ||
currentModuleId | int | |
portalId | int | |
return | void |
protected ResolveIds ( int currentModuleId ) : void | ||
currentModuleId | int | |
return | void |